NumberOfRows
- Updated2026-01-20
- 1 minute(s) read
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
| Type | Description |
|---|---|
| System.ObjectDisposedException | The NumberOfRows property was accessed after the associated NISwitch object was disposed. |