NI PXI-5404 Calibration Procedure
|
© National Instruments
|
39
niHSSources_GenerateWaveform
Function Prototype
__declspec(dllexport) long __stdcall
niHSSources_GenerateWaveform(unsigned long sessionHandle,
unsigned long waveType,
double amplitudeInVolts,
double frequencyInHz);
Purpose
Causes the module to output a sine wave with a specified amplitude and frequency.
Parameters
Name
Description
sessionHandle
The handle of the calibration session for the module; created by
calling
niHSSources_CalStart
.
waveType
The type of waveform to generate—
niHSSources_SINE
.
amplitudeInVolts
The peak-to-peak amplitude of the waveform (in volts); this is
the amplitude into a terminated (50
Ω
) load.
frequencyInHz
The frequency of the waveform (in Hz); ignored for DC.