Example 3 – National Instruments SCXI-1120 User Manual

Page 85

Advertising
background image

Programming

Chapter 5

SCXI-1120 User Manual

5-14

© National Instruments Corporation

7. Follow the procedure given in the 4. Acquisition Enable, Triggering, and Servicing section

earlier in this chapter.

Example 3

You want to scan five channels on an SCXI-1120 in Slot 4 of Chassis 1, then seven channels of
an SCXI-1120 in Slot 11 of Chassis 2, three channels of an SCXI-1120 in Slot 3 in Chassis 3,
and one channel of an SCXI-1120 in Slot 8 of Chassis 3.

Assuming that the modules are correctly cabled and programmed, the Slot 0 scan lists should be
as follows:

Chassis 1

Chassis 2

Chassis 3

Entry

Slot

Number

Count

Entry

Slot

Number

Count

Entry

Slot

Number

Count

1

4

5

1

13

5

1

13

12

2

13

11

2

11

7

2

3

3

3

13

4

3

8

1

Other solutions are possible.

In the section earlier in this chapter, 3. Programming the Slot 0 Hardscan Circuitry, step 3, Write
the Slot 0 scan list to the FIFO
, consists of the following steps:

1.

Select Slot 14 in Chassis 1.

2.

Write

XXXXX001 10000100

over MOSI.

3.

Toggle SLOT0SEL*.

4.

Write

XXXXX110 00001010

over MOSI.

5.

Select Slot 14 in Chassis 2.

6.

Write

XXXXX110 00000100

over MOSI.

7.

Toggle SLOT0SEL*.

8.

Write

XXXXX101 00000110

over MOSI.

9.

Toggle SLOT0SEL*.

10.

Write

XXXXX110 00000011

over MOSI.

11.

Select Slot 14 in Chassis 3.

12.

Write

XXXXX110 00001011

over MOSI.

Advertising