Programming instructions

Chapter 3 Basic LabVIEW Data Acquisition Concepts
LabVIEW Data Acquisition Basics Manual 3-8
©
National Instruments Corporation
Typically, you should wire the
iteration
input to an iteration terminal in a
loop as shown in the following illustration.
Wiring the
iteration
input this way means the device is only configured
on the first I/O operation. Subsequent I/O operations use the existing
configuration.
Error Handling
Each Easy VI contains an error handling VI. A dialog box appears
immediately if an error occurs in an Easy VI.
Every Intermediate and Advanced VI contains an
error in
input cluster and
an
error out
output cluster, as shown in Figure 3-5. The clusters contain a
Boolean that indicates whether an error occurred, the
code
for the error, and
source
or the name of the VI that returned the error. If
error in
indicates an
error, the VI passes the error information to
error out
and does not execute
any DAQ functions.