NI 5402/5406 Calibration Procedure
30
ni.com
Verifying Square Wave Gain and Offset Accuracy
This test verifies the square wave gain and offset accuracy of the
NI 5402/5406 into a high-impedance load. In this procedure you generate
a square wave using a number of amplitudes and DC offsets, measure the
voltage with a DMM, and compare the results to the error limits.
1.
Connect the NI 5402/5406 CH 0 front panel connector to the DMM.
2.
Open an instrument driver session, initialize the device for operation,
and return a session handle that will be used to identify the device in
future NI-FGEN calls by calling the niFgen Initialize VI.
3.
Set the load impedance by calling the niFgen Property Node and
selecting
Output Attributes»Load Impedance
.
LabVIEW Block Diagram
C/C++
Function Call
Call
niFgen_init
using
the following parameters:
resourceName
: The
name of the device that
you want to verify. This
name is the device
identifier assigned in
MAX.
IDQuery
:
VI_TRUE
resetDevice
:
VI_TRUE
LabVIEW Block Diagram
C/C++
Function Call
Call
niFgen_Set
AttributeViReal64
using the following
parameters:
vi
: The session handle
returned from
niFgen_init
.
channelName
:
"0"
attributeID
:
NIFGEN_
ATTR_LOAD_IMPEDANCE
value
:
10,000,000,000