Appendix B
Function Reference
B-4
ni.com
ni54xx_CalEnd
Format
__declspec(dllexport) long __stdcall
ni54xx_CalEnd(unsigned long *sessionHandle,
unsigned long action);
Purpose
Closes the calibration session and either commits or discards the new constants that have been
calculated.
Parameters
Name
Description
sessionHandle
A pointer to the handle of the calibration session for the
device, created with a call to
ni54xx_CalStart
.
action
NI54XX_ABORT
or
NI54XX_COMMIT_CONSTANTS
. Using
abort avoids storing the newly calculated calibration
constants.