Appendix B
Function Reference
©
National Instruments Corporation
B-23
ni54xx_SetAttenuation
Format
__declspec(dllexport) long __stdcall
ni54xx_SetAttenuation(unsigned long sessionHandle,
unsigned long attenuation );
Purpose
Sets the attenuation of the signal in dB.
Parameters
Name
Description
sessionHandle
The handle of the calibration session for the device, created
with a call to
ni54xx_CalStart
.
attenuation
Amount of attenuation to apply to the signal in dB: (0, 1, 2, 4,
8, 10, 16, 32).