Chapter 5 Programming
© National Instruments Corporation 5-5 SCXI-1163 User Manual
Example 3
You have a multiple-chassis system with an SCXI-1163 in Slots 4 and 8 of Chassis 1, and
another SCXI-1163 in Slot 11 of Chassis 2. The SCXI-1163 in Slot 8 of Chassis 1 is configured
for a primary mode of operation of parallel, but you have been writing to it in serial by using
address 0001 to access the Data Register. The other two modules have their primary modes of
operation set to serial. You want to do the following:
1. In Chassis 1, Slot 4, set the outputs to their high states on channels 1, 5, and 18, leaving all
other channels in their low states.
2. In Chassis 1, Slot 8, return control of the outputs to parallel control via the rear connector.
3. In Chassis 2, set the outputs to their low states on channels 0 through 7 and on 23, leaving all
other channels in their high states.
Leave all other channels unchanged.
Assuming that the modules are cabled correctly and jumpers W5 and W1 are set correctly, do the
following:
1. Select Chassis 1, Slot 4 as described in the Register Writes section of this chapter.
2. Following the procedure given in the Register Writes section of this chapter, write
00000000 00000100 00000000 00100010.
3. Select Chassis 1, Slot 8 as described in the Register Writes section of this chapter.
4. Following the procedure given in the Register Writes section of this chapter, select address
0006 and write anything (XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX) to the Data
Register. Using address 0006 will return control of the outputs to the rear connector in
parallel, so the pattern written to the Data Register becomes irrelevant.
3. Select Chassis 2, Slot 11 as described in the Register Writes section of this chapter.
4. Following the procedure given in the Register Writes section of this chapter, write
11111111 01111111 11111111 00000000.