Programming instructions
Chapter 3 Basic LabVIEW Data Acquisition Concepts
LabVIEW Data Acquisition Basics Manual 3-16
©
National Instruments Corporation
bottom rectangle, the Index Array function produces the entire column of
data as a 1D array, as shown in Figure 3-13.
Figure 3-13.
Extracting a Single Channel from a Column Major 2D Array
Analog output buffers that contain data for more than one channel are also
column major 2D arrays. To create such an array, first make the data from
each output channel a 1D array. Then select the Build Array function from
Functions»Array & Cluster
. Add as many input terminals (rows) to the
Build Array terminal as you have channels of data. Wire each 1D array to
the Build Array terminal to combine these arrays into a single row major
2D array. Then use the Transpose 2D Array function to convert the array to
a column major array. The finished array is ready for the AO Write VI, as
shown in Figure 3-14.
Figure 3-14.
Analog Output Buffer 2D Array
Now that you have read some basic LabVIEW DAQ concepts, you can go
to the section(s) that describe your specific application. For information
about how you can answer questions about your application to narrow
down where you should go next for help in this manual, refer to Chapter 4,
Where You Should Go Next
.










