National Instruments SCXI-1320 User Manual page 102

Hide thumbs Also See for SCXI-1320:
Table of Contents

Advertisement

Chapter 5
Programming
SCXI-1121 User Manual
6.
Write binary
101S 1110
7.
Write binary
101S 1111
To program the hardscan circuitry to use the current scan list, perform the
following steps:
1.
Write binary
0000 1000
2.
Write binary
0100 1000
3.
Write binary
0000 1000
4.
Write binary
0010 1100
5.
Write binary
101S 1100
6.
Write binary
101S 1110
7.
Write binary
101S 1111
In the preceding steps, S = 0 if you want the scanning to repeat when the
end of the list is reached. S = 1 if you want the circuitry to shut down after
a single scan.
When you are writing multiple entries to the same register, for example,
repetitive writes to the HSCR or several FIFO entries, it is important that
SS*13 or SS*14 go inactive (high) between each entry. Select another slot
or toggle the SLOT0SEL* line to temporarily deassert the appropriate SS*
line.
If consecutive scan list entries access an SCXI-1121, the module will reload
the MUXCOUNTER with the starting channel after each entry. Thus,
two entries with counts of two for one module will yield different behavior
than one entry with a count of four.
For multiple-chassis scanning, program each Slot 0 with dummy entries to
fill the sample counts when the data acquisition board is accessing other
chassis. Use Slot 13 as the dummy entry slot.
Refer to
Example 3
at the end of this chapter.
to the HSCR.
to the HSCR.
to the HSCR.
to the HSCR.
to the HSCR.
to the HSCR.
to the HSCR.
to the HSCR.
to the HSCR.
5-14
ni.com

Advertisement

Table of Contents
loading

Table of Contents