Chapter 5
Programming
© National Instruments Corporation
5-13
SCXI-1100 User Manual
Example 3
In this example, you want to scan 31 channels on an SCXI-1100 in Slot 4 of Chassis 1, then
seven channels of an SCXI-1100 in Slot 11 of Chassis 2, three channels of an SCXI-1100 in Slot
3 of Chassis 3, and 25 channels of an SCXI-1100 in Slot 8 of Chassis 3. Assuming that the
modules are cabled and programmed correctly, the Slot 0 scan lists should be as follows:
Chassis 1
Chassis 2
Chassis 3
Entry
Slot
Number
Count
Entry
Slot
Number
Count
Entry
Slot
Number
Count
1
4
31
1
13
31
1
13
38
2
13
35
2
11
7
2
3
3
3
13
28
3
8
25
Other solutions are possible.
Perform the steps outlined in the 3. Programming the Slot 0 Hardscan Circuitry section earlier
in this chapter, where step 3, Write the Slot 0 scan list to the FIFO, consists of the following
steps:
1.
Select Slot 13 in Chassis 1.
2.
Write
XXXXX001 10011110
over MOSI.
3.
Toggle SLOT0SEL*.
4.
Write
XXXXX110 00100010
over MOSI.
5.
Select Slot 13 in Chassis 2.
6.
Write
XXXXX110 00011110
over MOSI.
7.
Toggle SLOT0SEL*.
8.
Write
XXXXX101 00000110
over MOSI.
9.
Toggle SLOT0SEL*.
10.
Write
XXXXX110 00011100
over MOSI.
11.
Select Slot 13 in Chassis 3.
12.
Write
XXXXX110 00100110
over MOSI.
13.
Toggle SLOT0SEL*.
14.
Write
XXXXX001 00000010
over MOSI.