Programming; Programming Considerations; Notation; Register Writes - National Instruments SCXI-1320 User Manual

Hide thumbs Also See for SCXI-1320:
Table of Contents

Advertisement

Programming

Note
If you plan to use a programming software package such as NI-DAQ, LabWindows,
or LabVIEW with your SCXI-1121 board, you do not need to read this chapter.

Programming Considerations

Notation

Register Writes

© National Instruments Corporation
This chapter contains a functional programming description of the
SCXI-1121 and Slot 0.
Programming the SCXI-1121 involves writing to the Configuration
Register. Programming Slot 0 involves writing to the HSCR and FIFO
Register. Programming the data acquisition boards involves writes to their
registers. Refer to 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.
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
C
One of two bits used to specify the channel to be loaded into the
MUXCOUNTER. This value will either be the channel to be read
for single reads, or a starting channel for scanned measurements.
The 16-bit patterns are presented MSB first, left to right.
This section describes how to write to the Configuration Register, HSCR,
and FIFO Register including the procedure for writing to the Slot-Select
Register to select the appropriate slot. For timing specifics, refer to the
5-1
5
SCXI-1121 User Manual

Advertisement

Table of Contents
loading

Table of Contents