National Instruments 653X Manuale Utente

Pagina di 147
Chapter 2
Using Your 653X
© National Instruments Corporation
2-5
 
Figure 2-1.  Programming Unstrobed I/O in NI-DAQ
Figure 2-2.  Programming Unstrobed I/O in LabVIEW/LabVIEW RT
Programming the Control/Timing Lines as Extra 
Unstrobed Data Lines
If you want to use the control/timing lines as extra unstrobed data lines:
NI-DAQ C Interface—If both sets of control/timing lines are available, 
call the 
DIG_In_Prt
 or 
DIG_Out_Prt
 function and set Port Number 
to 4. If both sets of control/timing lines are not available, use the 
DIG_In_Line
 and 
DIG_Out_Line
 functions to individually 
read/write to the appropriate control/timing lines.
No
Yes
Only One
Line?
DIG_Line_Config
DIG_Prt_Config
DIG_Out_prt
DIG_In_prt
Read?
Done?
No
Yes
DIG_Out_Line
DIG_In_Line
Done?
Read?
No
No
Yes
No
Read from 
Digital Line VI
Single Line?
Yes
No
Write to 
Digital Port VI
Read from 
Digital Port VI
Write to 
Digital Line VI