WireMode
- Updated2026-01-20
- 1 minute(s) read
Gets the wire mode of the switch device. This property affects the values of the NumberOfRows and NumberOfColumns attributes. The actual number of input and output lines on the switch device is fixed, but the number of channels depends on how many lines constitute each channel.
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public SwitchWireMode WireMode { get; }
Returns
Specifies an Int32 to indicate the wire mode of the switch device.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The WireMode was accessed after the associated NISwitch object was disposed. |