National Instruments 653X Manuale Utente

Pagina di 147
Chapter 2
Using Your 653X
2-24
ni.com
If you are using external start and/or stop triggers, connect to the 
appropriate pins—start trigger (ACK/STARTTRIG) and/or stop trigger 
(STOPTRIG).
Creating a Program
Using the following flowcharts as a guide, create a program to perform 
pattern I/O. Figures 2-13 and 2-14 display flowcharts for C programming 
using NI-DAQ, while Figure 2-14 shows a LabVIEW programming 
flowchart.
The boxes represent function names for the appropriate software, and the 
diamonds represent decision points.
Figure 2-12.  Programming Pattern I/O (Single Buffer) in NI-DAQ
DIG_Block_Check
DIG_Block_Clear
Yes
Acquisition
Complete?
No
DIG_Grp_Config
DIG_Trigger_Config
DIG_Block_In
DIG_Block_Out
DIG_Block_PG_Config
Trigger?
Yes
No
Yes
No
Read?