DCPowerDriverUtility.SelfTest Method
- Updated2024-01-04
- 1 minute(s) read

DCPowerDriverUtilitySelfTest Method
Performs the instrument self-test routine and returns the test result(s). Calling this method implicitly calls the Reset method.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public DCPowerSelfTestResult SelfTest()
Public Function SelfTest As DCPowerSelfTestResult
Return Value
Type: DCPowerSelfTestResultReturns an object of type SelfTestResult.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The SelfTest method was called after the associated NIDCPower object was disposed. |
Remarks
When calling this method with the PXIe-4162/4163, specify all channels of your PXIe-4162/4163 with the resourceName input of the NIDCPower(String, Boolean, String) constructor. You cannot self test a subset of PXIe-4162/4163 channels.