![background image](http://html2.mh-extra.com/html/national-instruments/ni-6601/ni-6601_manual_3500637013.webp)
©
National Instruments Corporation
13
NI 6601/6602 Calibration Procedure
8.
Set the pulse width for the single-pulse generation. The following
example assumes a 10 MHz source (period = 100 ns) for counter 1.
Therefore, the pulse width is 100 ns × 500000 = 50 ms. If you use a
frequency other than 10 MHz, adjust the number accordingly. For a
frequency F, 1/F ×
ND_COUNT_2
should equal 50 ms.
9.
Program counter 1 to perform single-pulse generation.
Traditional NI-DAQ Function Call
LabVIEW Block Diagram
Call
GPCTR_Change_Parameter
with
the following parameters:
deviceNumber
: The value set by MAX
gpctrNum
:
ND_COUNTER_1
paramID
:
ND_COUNT_2
paramValue
:
500000
Traditional NI-DAQ Function Call
LabVIEW Block Diagram
Call
GPCTR_Control
with the following
parameters:
deviceNumber
: The value set by MAX
gpctrNum
:
ND_COUNTER_1
action
:
ND_PROGRAM