National Instruments SCXI-1121 Manuel D’Utilisation

Page de 162
Chapter 5
Programming
© National Instruments Corporation
5-13
channel. See the 
 subsection of the 
can use the MIO-16 boards in conjunction with the SCXI-1350 
multichassis adapter for multichassis scanning.
For each chassis, program the modules according to the appropriate mode 
of operation, disregarding the fact that other chassis will be involved.
For example, you want to scan thirteen modules. Twelve modules are in one 
chassis. The thirteenth is in the second chassis and is to be scanned through 
a fourteenth module that is cabled to the data acquisition board but is not 
involved in the scan. Program the twelve modules in the first chassis 
according to the steps in the previous 
 section, and program the thirteenth and fourteenth modules 
 
earlier in this chapter.
3. Programming the Slot 0 Hardscan Circuitry
The following section describes how to program the Slot 0 circuitry for 
scanning operations. For a more detailed description of the Slot 0 scanning 
circuitry, consult the SCXI-1000/1001 User Manual. Descriptions of the 
Slot 0 registers are given in the section 
 in 
Chapter 4, 
. Skip this section if you are doing 
single-module parallel scanning.
To program the hardscan circuitry, perform the following steps:
1.
Write binary 
0000 0000
 to the HSCR.
2.
Write binary 
0000 1000
 to the HSCR.
3.
Write the Slot 0 scan list to the FIFO.
4.
Write binary 
0010 1100
 to the HSCR.
5.
Write binary 
101S 1100
 to the HSCR.
6.
Write binary 
101S 1110
 to the HSCR.
7.
Write binary 
101S 1111
 to the HSCR.
To program the hardscan circuitry to use the current scan list, perform the 
following steps:
1.
Write binary 
0000 1000
 to the HSCR.
2.
Write binary 
0100 1000
 to the HSCR.
3.
Write binary 
0000 1000
 to the HSCR.
4.
Write binary 
0010 1100
 to the HSCR.