Appendix B
Function Reference
©
National Instruments Corporation
B-27
ni54xx_CalibrateVCXO
Format
__declspec(dllexport) long __stdcall
ni54xx_CalibrateVCXO(unsigned long sessionHandle,
unsigned long type);
Purpose
Recalibrates the VCXO with the current test value. This function is used during calibration to
iteratively converge on the best value. A new value is calculated, then this function is called to
set the VCXO, then the output is measured, and then a new value is calculated, and so on.
Parameters
Name
Description
sessionHandle
The handle of the calibration session for the device,
created with a call to
ni54xx_CalStart
.
type
The type of VCXO calibration to be done
NI54XX_SET_VCXO
or
NI54XX_SET_PAL_M
(for the NI 5431 ONLY) or
NI54XX_SET_NTSC_M
(for the NI 5431 ONLY)