Appendix B
Function Reference
©
National Instruments Corporation
B-19
ni54xx_SetDutyCycle
Format
__declspec(dllexport) long __stdcall
ni54xx_SetDutyCycle( unsigned long sessionHandle,
double dutyCycle );
Purpose
Sets the duty cycle of the SYNC output of the device.
Note
This function works when the device is generating a sine wave at full scale
(10 V into an unterminated load).
Parameters
Name
Description
sessionHandle
The handle of the calibration session for the device, created
with a call to
ni54xx_CalStart
.
dutyCycle
The duty cycle of the SYNC output, in percentage
(for example, for 50% duty cycle, dutyCycle = 50.0).