NI-DCPower .NET fx45 API Reference

DCPowerDriverOperation.LogicalName Property

  • Updated2024-01-04
  • 1 minute(s) read
DCPowerDriverOperation.LogicalName Property

DCPowerDriverOperationLogicalName Property

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

Namespace:  NationalInstruments.ModularInstruments.NIDCPower
Assembly:  NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023

Syntax

public string LogicalName { get; }
Public ReadOnly Property LogicalName As String
	Get

Property Value

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

Exceptions

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

Remarks

Note Note
IVI logical names are not supported in sessions created using the NIDCPower(String, Boolean, 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.

See Also