SerialNumber Property
- Updated2023-02-21
- 2 minute(s) read
Gets the serial number for the switch controlled by NI-SWITCH.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)Visual Basic (Declaration) |
---|
Public ReadOnly Property SerialNumber As String |
C# |
---|
public string SerialNumber { get; } |
Property Value
Type: System..::.String Specifies a String that indicates the serial number for the switch controlled by the NI-SWITCH driver.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The SerialNumber was accessed after the associated NISwitch.NISwitch object was disposed. |
Remarks
If the device does not return a serial number, NI-SWITCH returns the Invalid Attribute error.