beautypg.com

Command register 1 – National Instruments PC-LPM-16/PnP User Manual

Page 78

background image

Appendix D Register-Level Programming

PC-LPM-16/PnP User Manual

D-6

National Instruments Corporation

Command Register 1

(Continued)

If SCANEN* is cleared, analog channels MA<3..0>
through channel 0 are sampled. Sampling order,
whether from channel 0 to MA<3..0> or from
MA<3..0> to channel 0, is determined by the
SCANORDER bit in Command Register 2. If
SCANEN* is set, a single analog channel specified by
MA<3..0> is sampled during the entire data
acquisition operation. See the

Programming Multiple

A/D Conversions with Channel Scanning

section later

in this appendix for the correct sequence involved in
setting the SCANEN* bit.

MA<3..0>

Selected Channel

0100

4

0101

5

0110

6

0111

7

1000

8

1001

9

1010

10

1011

11

1100

12

1101

13

1110

14

1111

15

a.Book : l.Appendix D Page 6 Wednesday, November 20, 1996 6:36 PM