Chapter 3
Adjustment
3-20
ni.com
•
waveType
—
NI54XX_SINE
•
amplitudeInVolts
—
10
•
frequencyInHz
—
100
5.
Measure the outputs, and store as the first element in the frequency
responses array (
frequencyResponses[0]
).
6.
For
x
= (1000000, 2000000, …15000000, 16000000)
a.
Generate a full scale sine wave at frequency
x
by calling the function
ni54xx_GenerateWaveform
. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
waveType
—
NI54XX_SINE
•
amplitudeInVolts
—
10
•
frequencyInHz
—
x
b.
Measure the outputs and store the result in the
frequencyResponses
array.
7.
Call
ni54xx_CalAdjust
for the unterminated frequency response.
The
measuredData
should be the array of output amplitudes. The
actualData
should be NULL. Call the function
ni54xx_CalAdjust
using the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
measurementMode
—
NI54XX_SET_FREQUENCY_
RESPONSE_UNTERMINATED
•
actualData
—
NULL
•
measuredData
—
frequencyResponses
8.
Terminate the output with a 50
Ω
load.
9.
Generate a low frequency full scale (10 V) sine wave by calling the
function
ni54xx_GenerateWaveform
. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
waveType
—
NI54XX_SINE
•
amplitudeInVolts
—
10
•
frequencyInHz
—
100
10. Measure the outputs and store it as the first element in the
frequencyResponses
array (
frequencyResponses[0]
).