niDCPower_CloseExtCal
ViStatus niDCPower_CloseExtCal (ViSession vi, ViInt32 action);
Purpose
Closes the session specified in vi and deallocates the resources that NI-DCPower reserved for calibration. Refer to the calibration procedure for the device you are calibrating for detailed instructions on the appropriate use of this function. If an error occurs before this function, action defaults to NIDCPOWER_VAL_CANCEL.
Parameters
Input | ||||||
Name | Type | Description | ||||
vi | ViSession | Identifies a particular instrument calibration session. vi is obtained from the niDCPower_InitExtCal function. | ||||
action | ViInt32 | Specifies how to use the calibration values from this session as the session is closed.
Defined Values:
Default Value: NIDCPOWER_VAL_CANCEL |
Return Value
Name | Type | Description |
Status | ViStatus | Reports 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. |