NI SWITCH Matrix Configuration Attributes - ni/grpc-device GitHub Wiki

Matrix Configuration Attributes

NISWITCH_ATTRIBUTE_NUM_OF_COLUMNS

Specific Attribute

Numeric Value Data
type
Access Applies to Coercion High Level Functions
1250019 ViInt32 RO N/A None None

Description

This attribute returns the number of channels on the column of a matrix or scanner. If the switch is a scanner, this value is the number of input channels. The NISWITCH_ATTRIBUTE_WIRE_MODE attribute affects the number of available columns. For example, if your device has 8 input lines and you use the four-wire mode, then the number of columns you have available is 2.

Related Information

  • Matrix
  • niSwitch Properties

NISWITCH_ATTRIBUTE_NUM_OF_ROWS

Specific Attribute

Numeric Value Data
type
Access Applies to Coercion High Level Functions
1250018 ViInt32 RO N/A None None

Description

This attribute returns the number of channels on the row of a matrix or scanner. If the switch is a scanner, this value is the number of output channels. The NISWITCH_ATTRIBUTE_WIRE_MODE attribute affects the number of available rows. For example, if your device has 8 input lines and you use the two-wire mode, then the number of columns you have available is 4.

Related Information

  • Matrix
  • niSwitch Properties
⚠️ **GitHub.com Fallback** ⚠️