Download LabVIEW Data Acquisition Basics Manual
Transcript
Chapter One-Stop Single-Point Generation 11 In the preceding chapter, you learned the appropriate time to use single-point updates. This chapter shows you which VIs to use in LabVIEW to perform these updates. Single-Immediate Updates The most basic way to program single-point updates in LabVIEW is by using the Easy Analog Output VI, AO Update Channels. Figure 11-1 shows a diagram of a VI that writes voltages to one or more output channels on the output data acquisition (DAQ) device. Figure 11-1. Single Immediate Update Using the AO Update Channels VI Notice that an array of voltages is passed as an input to the VI. The first element in the array corresponds to the first entry in the channel string, and the second array element corresponds to the second channel entry. For more information on channel string syntax, refer to Chapter 3, Basic LabVIEW Data Acquisition Concepts. Remember that Easy VIs already have built-in error handling. If you want more control over the limit settings for each channel, you can also program a single-point update using the Intermediate Analog National Instruments Corporation 11-1 LabVIEW Data Acquisition Basics Manual