niDCPower_Initiate

NI-DCPower Function Reference

niDCPower_Initiate

ViStatus niDCPower_Initiate (ViSession vi);

Purpose

Commits the configured settings to hardware and places the device in Immediate mode. Any configuration calls made after this function are applied immediately. To commit simultaneous hardware settings on multiple output channels, call the niDCPower_Abort function, configure the power supply, and call this function.

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.