IOResourceDescriptor
- Updated2025-10-06
- 1 minute(s) read
Gets the resource name that the NI-DCPower uses to identify the resource(s) used by the NI-DCPower session.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public string IOResourceDescriptor { get; }
Remarks
Returns a String representing the resource descriptor that the user specified for the physical device.
The resource name specified with the NIDCPower(string, bool, 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.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The IOResourceDescriptor property was accessed after the associated NIDCPower object was disposed. |