NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerDriverUtility.SelfTest Method

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

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.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023

Syntax

public DCPowerSelfTestResult SelfTest()
Public Function SelfTest As DCPowerSelfTestResult

Return Value

Type: DCPowerSelfTestResult
Returns an object of type SelfTestResult.

Exceptions

ExceptionCondition
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.

See Also

Log in to get a better experience