Appendix B
Function Reference
B-18
ni.com
ni54xx_GenerateVideoWaveform
Format
__declspec(dllexport) long __stdcall
ni54xx_GenerateVideoWaveform(unsigned long sessionHandle,
unsigned long waveType,
double amplitudeInVolts,
double frequencyInHz,
unsigned long videoMode);
Purpose
Causes the device to output a DC voltage or a sine wave with a specified amplitude and
frequency. Use this function only when creating a PAL or NTSC video signal for calibrating
the VCXO of the NI 5431.
Parameters
Name
Description
sessionHandle
The handle of the calibration session for the device,
created with a call to
ni54xx_CalStart
.
waveType
The type of waveform to generate
NI54XX_DC
or
NI54XX_SINE
.
amplitudeInVolts
The amplitude of the waveform (in volts) this is the amplitude
into an unterminated (high impedance) load.
frequencyInHz
The frequency of the waveform (in hertz) ignored for the
DC case.
videoMode
The video mode (different clocking schemes are used)
NI54XX_PAL_M
or
NI54XX_NTSC_M
.