![background image](http://html.mh-extra.com/html/national-instruments-corporation/scxi-1162/scxi-1162_user-manual_710253056.webp)
© National Instruments Corporation
5-1
SCXI-1162 User Manual
Chapter 5
Programming
This chapter contains a functional programming description of the SCXI-1162 and Slot 0.
Note: If you plan to use a programming software package such as NI-DAQ, LabWindows, or
LabVIEW with your SCXI-1162 board, you do not need to read this chapter.
Programming Considerations
Programming the SCXI-1162 involves reading from the Data Register. Programming the data
acquisition boards involves writes to their registers. See your data acquisition board user manual
for more information. The programming instructions list the sequence of steps to take. The
instructions are language independent; that is, they instruct you to write a value to a given
register without presenting the actual code.
Notation
For the bit patterns to be written, the following symbols are used:
0
binary zero
1
binary one
X
don't care; either zero or one may be written
The bit patterns are presented MSB first, left to right.
Register Reads
This section describes how to read from the Data Register including the procedure for writing to
the Slot-Select Register to select the appropriate slot. For timing specifics, refer to the Timing
Requirements and Communication Protocol section in Chapter 2, Configuration and Installation.
The rear signal connector pin equivalences to the different National Instruments data acquisition
boards are given in Table 5-1. See also Appendix E, SCXI-1162 Cabling. The Data Register is a
read-only register.
The different bits in this register contain the states of the input channels. This module uses
positive logic; that is, a logic 1 in the Data Register indicates a high voltage level at the input.