Programming instructions

Chapter 17 Shaking Hands with a Digital Partner
LabVIEW Data Acquisition Basics Manual 17-8
©
National Instruments Corporation
For DAQ devices other than the DIO-32 Series devices, you can use a VI
similar to the one above to output digital data. The main difference is that
you use an Advanced Digital VI, DIO Buffer Control, instead of the
DIO Start VI, as shown in Figure 17-6. You should use the DIO Buffer
Control VI because the DIO Start VI contains Digital Clock Config and
Digital Mode Config VIs that work only with the DIO-32 Series devices.
You do not need to use the
Handshake source
and
clock frequency
inputs,
because of the external handshaking signal source.
Figure 17-6.
Pattern Generation Using DAQ Devices
(Other Than DIO-32 Series Devices)
Reading information is similar to writing data when using digital
handshaking. In the example shown in Figure 17-7, the VI is reading data
into the DIO-32 Series devices while using external handshaking. For
the DIO-32 Series devices, the DIO Config VI can set or change the
handshaking mode, for instance whether you trigger digital communication
on an edge or at a certain level.
Figure 17-7.
Reading Data with the Digital VIs Using Digital Handshaking
(DIO-32 Series Devices)