Scanning Examples
Example 1
© National Instruments Corporation
4. Acquisition Enable, Triggering, and Servicing
At this point, you should now continue from where you left off in the
1. Data Acquisition Board Setup Programming
Perform the following steps given in your data acquisition board user
manual.
•
MIO Board User Manual
–
Enable the scanning data acquisition operation.
–
Apply a trigger.
–
Service the data acquisition operation.
•
Lab-PC User Manual, Lab-PC+ User Manual, and PC-LPM-16 User
Manual
–
Start and service the data acquisition operation.
•
Lab-LC User Manual
–
Program the sample-interval counter.
–
Service the data acquisition operation.
•
Lab-NB User Manual
–
Program the sample-interval counter (Counter A0)
–
Service the data acquisition operation.
The following examples are intended to aid your understanding of module
and Slot 0 programming. It will be helpful to refer to the bit descriptions for
the Configuration Register and the FIFO Register at the beginning of
Chapter 4,
Register
Descriptions.
You want to scan, in Multiplexed mode, channels 1 through 3 on an
SCXI-1121 in Slot 1 of an SCXI-1000 chassis. The SCXI-1121 is directly
cabled to a data acquisition board.
The programming steps are as follows:
1.
Program your data acquisition board as described in the
Acquisition Board Setup Programming
2.
Following the procedure given in the
10000001 00001101
SCXI-1121 in Slot 1.
Register Writes
to the Configuration Register of the
5-15
Chapter 5
Programming
section of this chapter.
1. Data
section of this chapter.
section, write
SCXI-1121 User Manual