Programming the slot 0 hardscan circuitry, Programming the slot 0 hardscan circuitry -13 – National Instruments SCXI-1121 User Manual

Page 104

Advertising
background image

Chapter 5

Programming

© National Instruments Corporation

5-13

SCXI-1121 User Manual

channel. See the

Counter 1 and SCANDIV

subsection of the

1. Data

Acquisition Board Setup Programming

section earlier in this chapter. You

can use the MIO-16 boards in conjunction with the SCXI-1350
multichassis adapter for multichassis scanning.

For each chassis, program the modules according to the appropriate mode
of operation, disregarding the fact that other chassis will be involved.

For example, you want to scan thirteen modules. Twelve modules are in one
chassis. The thirteenth is in the second chassis and is to be scanned through
a fourteenth module that is cabled to the data acquisition board but is not
involved in the scan. Program the twelve modules in the first chassis
according to the steps in the previous

Multiple-Module Multiplexed

Scanning

section, and program the thirteenth and fourteenth modules

according to

Channel Scanning from the SCXI-1121 via Another Module

earlier in this chapter.

3. Programming the Slot 0 Hardscan Circuitry

The following section describes how to program the Slot 0 circuitry for
scanning operations. For a more detailed description of the Slot 0 scanning
circuitry, consult the SCXI-1000/1001 User Manual. Descriptions of the
Slot 0 registers are given in the section

Slot 0 Register Descriptions

in

Chapter 4,

Register Descriptions

. Skip this section if you are doing

single-module parallel scanning.

To program the hardscan circuitry, perform the following steps:

1.

Write binary

0000 0000

to the HSCR.

2.

Write binary

0000 1000

to the HSCR.

3.

Write the Slot 0 scan list to the FIFO.

4.

Write binary

0010 1100

to the HSCR.

5.

Write binary

101S 1100

to the HSCR.

6.

Write binary

101S 1110

to the HSCR.

7.

Write binary

101S 1111

to the HSCR.

To program the hardscan circuitry to use the current scan list, perform the
following steps:

1.

Write binary

0000 1000

to the HSCR.

2.

Write binary

0100 1000

to the HSCR.

3.

Write binary

0000 1000

to the HSCR.

4.

Write binary

0010 1100

to the HSCR.

Advertising