beautypg.com

Config ain – Remote Processing CAMBASIC User Manual

Page 174

background image

CON FIG C ommands - 1

CONFIG AIN

Statement

SYNTAX:

C O N F I G A IN channel, input, range

W h e re : channel is 0 to range of inputs for your card.

input specified single ended or differential if supported on your card
range is voltage input, if supported on your card

PURPOSE:

Initialize analog in puts

REMARK S:

Refer to your hardwar e manual for power– up defaults, input and range parameters, if any. The
RPC -2300 is not con figured w hile the RP C-2350 is configur ed for 0-5 V, single ended fo r all
channels.

RELATED:

none

EXAMPLE:

10 CONFIG AIN 0,0,1

Configures channel 0 for differential mode, 0 to + 5V, on the RP C-2350

ERROR:

<

Data negative

>

– all parameters

<

Data out of range

>

– if illegal parameters