EasyManua.ls Logo

National Instruments NI 6601 - Page 14

National Instruments NI 6601
17 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NI 6601/6602 Calibration Procedure 14 ni.com
10. Loop until counter 1 has completed pulse generation.
Example Code for GPCTR Watch
i16 iStatus = 0;
u32 ulArmed = ND_YES;
do
{
iStatus = GPCTR_Watch (deviceNumber, ND_COUNTER_1, ND_Armed, &ulArmed);}
while ((ulArmed==ND_YES) && (iStatus==0));
Traditional NI-DAQ Function Call LabVIEW Block Diagram
Call GPCTR_WATCH with the following
parameters:
deviceNumber: The value set by MAX
gpctrNum:
ND_COUNTER_1
entityID: ND_ARMED
entityValue: A user-declared variable
See example code in the next paragraph.
“TASK ID” out connects to “TASK ID” in of step 13.

Other manuals for National Instruments NI 6601

Related product manuals