Programming
Chapter 5
SCXI-1162 User Manual
5-2
© National Instruments Corporation
Table 5-1. SCXIbus to SCXI-1162 Rear Signal Connector to Data Acquisition Board
Pin Equivalences
SCXIbus Line
SCXI-1162 Rear
Signal Connector
MIO-16
Lab-NB/Lab-PC/
Lab-PC+/Lab-LC
PC-LPM-16
DIO-24
DIO-96
DIO-32F
MOSI
D*/A
INTR*
SPICLK
MISO
SERDATIN
DAQD*/A
SLOT0SEL*
SERCLK
SERDATOUT
ADIO0
ADIO1
ADIO2
EXTSTROBE*
BDIO0
PB4
PB5
PB6
PB7
PC1
DOUT4
DOUT5
DOUT6
DOUT7
DIN6
PB3
PB2
PB1
PB0
PA0
APB3
APB2
APB1
APB0
APA0
DIOB3
DIOB2
DIOB1
DIOB0
DIOA0
Register Selection and Read Procedure
1. Select the slot of the module to be written to. Initial conditions:
SERDATIN = X.
DAQD*/A = 1.
SLOT0SEL* = 1.
SERCLK = 1.
2. Clear SLOT0SEL* to 0. This deasserts all SS* lines to all modules in all chassis.
3. For each bit, starting with the MSB (bit 15), do the following:
a. Set SERDATIN = bit to be sent. These bits are the data that is written to the
Slot-Select Register.
b. Clear SERCLK to 0.
c. Set SERCLK to 1. This rising edge clocks the data. If you are using an MIO-16 board,
writing to the EXTSTROBE* register pulses EXTSTROBE* low and then high,
accomplishing steps 3b and 3c.
4. Set SLOT0SEL* to 1. This asserts the SS* line of the module whose slot number was
written to Slot 0. If you are using multiple chassis, only the appropriate slot in the chassis
whose address corresponds to the written chassis number is automatically selected. When no
communication is taking place between the data acquisition board and any modules, write
zero to the Slot-Select Register to ensure that no accidental writes occur.