DCPowerDriverOperation Class
- Updated2025-10-06
- 2 minute(s) read
Provides properties that affect the operation of the instrument driver.
Derives from
- DCPowerSubObject
- IIviDriverOperation
- IDisposable
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public class DCPowerDriverOperation : DCPowerSubObject, IIviDriverOperation, IDisposable
Remarks
For more information, refer to NI DC Power Supplies and SMUs Help.
Thread Safety
All members of this type are safe for multithreaded operations.
Properties
| Name | Description |
|---|---|
| Cache | Gets or sets whether to cache the value of properties. |
| DriverSetup | Gets the Driver setup string used to set the initial values for properties that are specific to NI-DCPower. |
| InterchangeCheck | Gets or sets whether to perform interchangeability checking and retrieve interchangeability warnings. |
| IOResourceDescriptor | Gets the resource name that the NI-DCPower uses to identify the resource(s) used by the NI-DCPower session. |
| LogicalName | Gets the logical name(s) that you specified when opening the current session. |
| QueryInstrumentStatus | Gets or sets whether NI-DCPower queries the instrument status after each operation. NI-DCPower can choose to ignore status checking for particular properties, regardless of the setting of this property. |
| RangeCheck | Gets or sets whether to validate proper values and method parameters. If you enable this property, NI-DCPower validates the parameter values that you pass to NI-DCPower methods. |
| RecordCoercions | Gets or sets whether the IVI engine keeps a list of the value coercions it makes for integer and real type properties. |
| Simulate | Gets whether or not to simulate NI-DCPower I/O operations. |
Methods
| Name | Description |
|---|---|
| Dispose() | Closes the specified session and deallocates the reserved resources, if not already disposed. |
| InvalidateAllAttributes() | Invalidates all properties. |
| ResetInterchangeCheck() | Configures the interchangeability checking algorithms to ignore all previous configuration operations. |
Events
| Name | Description |
|---|---|
| Coercion | Occurs when a property is coerced. |
| InterchangeCheckWarning | Occurs when an interchange check warning event is raised. |
| Warning | Occurs when the driver creates a driver warning. |