Figure 2-1. programming unstrobed i/o in ni-daq, Data lines -5, Gure 2-1 di – National Instruments 653X User Manual

Page 23: Figure 2-2

Advertising
background image

Chapter 2

Using Your 653X

© National Instruments Corporation

2-5

653X User Manual

Figure 2-1. Programming Unstrobed I/O in NI-DAQ

s

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

Advertising