AO Waveform Calibration Procedure for NI-DAQmx
10
ni.com
9.
Repeat steps 4 through 8 until all values have been tested.
10. Disconnect the DMM from AO 0, and reconnect it to the next channel,
making the connections as shown in Table 1.
11. Repeat steps 4 through 10 until you have verified all channels.
12. Disconnect your DMM from the device.
You have finished verifying the analog output levels on your device.
Counter Verification
This procedure verifies the performance of the counter. AO devices have
only one timebase to verify, so only counter 0 needs to be checked. It is not
possible to adjust this timebase, so only verification can be performed.
Perform checks using the following procedure:
1.
Connect your counter positive input to CTR 0 OUT (pin 2) and your
counter negative input to D GND (pin 35).
2.
Create a task using
DAQmxCreateTask
.
3.
Add a counter output channel to the task using
DAQmxCreateCOPulseChanFreq
(
DAQmx Create
Virtual Channel VI
) and configure the channel.
NI-DAQ Function Call
LabVIEW Block Diagram
Call
DAQmxCreateTask
with the
following parameters:
taskName
:
MyCounterOutputTask
taskHandle
:
&taskHandle
LabVIEW does not require this step.
NI-DAQ Function Call
LabVIEW Block Diagram
Call
DAQmxCreateCOPulseChanFreq
with the following parameters:
taskHandle
:
taskHandle
counter
:
dev1/ctr0
nameToAssignToChannel
:
CounterOutputChannel
units
:
DAQmx_Val_Hz
idleState
:
DAQmx_Val_Low
initialDelay
:
0.0
freq
:
5000000.0
dutyCycle
:
.5