niDCPower_Abort

NI-DCPower Function Reference

niDCPower_Abort

ViStatus niDCPower_Abort (ViSession vi);

Purpose

Places the device in Delayed Configuration mode. Any configuration functions called after this function are not applied until the niDCPower_Initiate function is called. If power output is enabled when you call the niDCPower_Abort function, the output channels remain in their current state and continue providing power.

Use the niDCPower_ConfigureOutputEnabled function to disable power output on a per channel basis. Use the niDCPower_reset function to disable output on all channels. While in Delayed Configuration mode, NI-DCPower performs only generic parameter validation. Any conflicting configuration calls are not validated until the niDCPower_Initiate function is called. If the same configuration is set multiple times to different values, NI-DCPower uses the last configuration call.

Parameters

Input
Name Type Description
vi ViSession Identifies a particular instrument session. vi is obtained from the niDCPower_init or niDCPower_InitWithOptions function.

Return Value

Name Type Description
StatusViStatusReports the status of this operation. To obtain a text description of the status code, call the niDCPower_error_message function. To obtain additional information concerning the error condition, call the niDCPower_GetError function.