Appendix B
Function Reference
©
National Instruments Corporation
B-21
ni54xx_SetGainDAC
Format
__declspec(dllexport) long __stdcall
ni54xx_SetGainDAC(unsigned long sessionHandle,
long DACValue );
Purpose
Sets the gain calibration DAC to the specified value, which affects the pre-attenuation gain of
the signal.
Parameters
Name
Description
sessionHandle
The handle of the calibration session for the device, created
with a call to
ni54xx_CalStart
.
DACValue
The integer value to write to the gain DAC ranges from –8192
to 8191.