Remote Processing CAMBASIC User Manual

Page 35

Advertising
background image

Comm ands - 2

AIN

Process Function

SYNTAX:

a = A I N (channel)

PURPOSE:

To return the analog input value.

REMARK S:

The channel is the channel number of the A/D converter. T he maximum channel number varies
from card to car d. See your har dware ma nual for more inform ation.

EXAMPLE:

See your hardw are m anual.

ERROR:

< Data negative> – for all parameters
< Illegal function> – if channel too large
< Command not available> – if function not supported in your card

Advertising