beautypg.com

Command 1 channel setup – Vernier LabPro User Manual

Page 31

background image

Revision Date: 08/02/02

LabPro Technical Manual

31

Command 1

Channel Setup

This command sets up a channel for data collection.

Syntax: {1, channel[, operation[, post-proc, delta, equ]] }

Parameter List:
Channel

– indicates channel on which this command operates. The possible values are

Channel number

Description

0

All channels

1 – 4

Analog channels 1 through 4

11, 12

Sonic Channel 1, Sonic Channel 2

21, 22

Digital Input 1, Digital Input 2

31, 32

Digital Output 1, Digital Output 2

Operation – indicates the units of measure the channel should return.

Operation Value

Analog Channel (1 –4)

Sonic Channel (11, 12)

0

Turn channel off

Resets channel

1

Auto-ID the sensor
(default to 0-5V if no sensor found)

Meters – Returns distance and

time (RT and NON-RT)

2

Voltage ±10V

Meters – Returns distance and

time (RT and NON-RT)

3

Current ±10A

Feet – Returns distance and

time

(RT and NON-RT)

4

Measures resistance between
ground (pin-2) and the junction of
V

ref

(pin-3) and V

in-low

(pin-6).

Meters – Returns distance,
velocity, and

time (RT) or

distance and

time (NON-RT)

5

Period in seconds of signal on
±10V input line (CH 1 only)

Feet – Returns distance, velocity,
and

time (RT) or distance and

time (NON-RT)

6

Frequency in Hertz of signal on
±10V input line (CH 1 only)

Meters – Returns distance,
velocity, acceleration,

time (RT)

or distance and

time (NON-RT)

7

Count of transitions on ±10V input
line (CH 1 only)

Feet – Returns distance, velocity,
acceleration,

time (RT) or

distance and

time (NON-RT)

10

Temperature (Centigrade) from TI
Temperature or Stainless Steel

Unused

11

Temperature (Fahrenheit) from TI
Temperature or Stainless Steel

Unused

12

TI Light sensor

Unused

14

Voltage, 0-5V

Unused

Post-Proc – enables post processing to take place on data collected. Since data is not stored in RT mode,

no post processing is allowed.

Post-Proc Value

Description

0

None (RT and NON-RT)

1

d/dt (NON-RT)

2

d/dt and d

2

/dt

2

(NON-RT)