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

DCPowerDriverOperationIOResourceDescriptor Property
Gets the resource name that the NI-DCPower uses to identify the resource(s) used by the NI-DCPower session.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public string IOResourceDescriptor { get; }
Public ReadOnly Property IOResourceDescriptor As String Get
Property Value
Type: StringReturns a String representing the resource descriptor that the user specified for the physical device.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The IOResourceDescriptor property was accessed after the associated NIDCPower object was disposed. |
Remarks
The resource name specified with the NIDCPower(String, Boolean, String) constructor can include instrument(s) and/or channel(s) but does not support logical names.
If you initialize NI-DCPower with a logical name using a deprecated NIDCPower constructor, this property contains the resource name that corresponds to the entry in the IVI configuration utility. If you initialize NI-DCPower with the resource name, this property contains that value.