LogicalName
- Updated2026-01-20
- 1 minute(s) read
Gets the logical name that you specified when opening the current IVI session.
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public string LogicalName { get; }
Remarks
You may pass a logical name to the NI-SWITCH session during initialization of session. The IVI configuration utility must contain an entry for the logical name. The logical name entry refers to a driver session section in the IVI configuration file. The driver session section specifies a physical device and initial user options.
Returns
Returns a String representing the logical name that you specified when opening the current IVI session.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The LogicalName property was accessed after the associated NISwitch object was disposed. |