niHSDIO_CloseExtCal
Specific Function
C Function Prototype
ViStatus niHSDIO_CloseExtCal (ViSession vi, ViInt32 action);
Purpose
Closes an NI-HSDIO external calibration session and, if specified, stores the new calibration constants and calibration data in the onboard EEPROM.
Note Whether you commit or cancel, the device is reset and the FPGA is reloaded afterwards. |
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The session handle that you obtain from niHSDIO_InitExtCal. The handle identifies a particular instrument session. |
action | ViInt32 | The action to perform upon closing.
Defined Values NIHSDIO_VAL_EXT_CAL_COMMIT (62)—The new calibration constants and data determined during the external calibration session are stored in the onboard EEPROM, given that the calibration was complete and passed successfully.NIHSDIO_VAL_EXT_CAL_CANCEL (63)—No changes are made to the calibration constants and data in the EEPROM. |