This function is deprecated. Use niDCPower_AbortWithChannels instead.

Syntax

ViStatus _VI_FUNC niDCPower_Abort(ViSession vi)

Remarks

Transitions the NI-DCPower session from the Running state to the Uncommitted state. If a sequence is running, it is stopped. 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 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.

Refer to the Programming States topic in the NI DC Power Supplies and SMUs Help for information about the specific NI-DCPower software states.

Related Topics:

Programming States

Parameters

NameDirectionTypeDescription
vi[in]ViSession

Identifies a particular instrument session. vi is obtained from the niDCPower_InitializeWithIndependentChannels function.

Returns

Reports the status of this operation. To obtain a text description of the status code, call niDCPower_error_message. To obtain additional information concerning the error condition, call niDCPower_GetError. The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors