Gets the logical name(s) that you specified when opening the current session.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public string LogicalName { get; }

Remarks

Returns a String representing the logical name that you specified when opening the current IVI session.

Note

IVI logical names are not supported in sessions created using the NIDCPower(string, bool, string) constructor.

You can pass a logical name to a deprecated NIDCPower constructor. 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 instrument and initial user options.

Exceptions

TypeDescription
System.ObjectDisposedException

The LogicalName property was accessed after the associated NIDCPower object was disposed.