Gets the number of channels on a row of a matrix or scanner. If the switch is a scanner, this value is the number of output channels.

Syntax

Namespace: NationalInstruments.ModularInstruments.NISwitch

public int NumberOfRows { get; }

Remarks

The WireMode property affects the number of available columns.

Returns

Specifies an Int32 which indicates the number of channels on a row of a matrix or scanner.

Exceptions

TypeDescription
System.ObjectDisposedException

The NumberOfRows property was accessed after the associated NISwitch object was disposed.