beautypg.com

Channels, Chmodes, Faccal – Measurement Computing DAQFlex User Guide User Manual

Page 73

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Reflection messages – AI

73

CHANNELS

Get the number of analog input channels on a device.
Message

"@AI:CHANNELS"

Response

implementation

FIXED%, PROG% (programmable), or not specified if value is

NOT_SUPPORTED

value

The number of A/D channels on a device, or returns
NOT_SUPPORTED if the device doesn't support analog input.

Example

"AI:CHANNELS=FIXED%8"

Note

On some devices, the values returned may be dependent on channel configuration

settings.

CHMODES

Get the analog input channel modes that are supported by the device.
Message

"@AI:CHMODES"

Response

"AI:CHMODES=implementation>value<dependent properties>"

implementation FIXED%, PROG% (programmable), HWSEL% (hardware

selectable), or not specified if value is NOT_SUPPORTED

value

SE or DIFF, or returns NOT_SUPPORTED if the device doesn't

support analog input.

dependent

properties

One or more property that is dependent on the value of another

property. For example, the CHANNELS property is dependent on

whether the CHMODES value property is set to SE or DIFF.

Example

"AI:CHMODES=PROG%SE,DIFF"

FACCAL

Get a value indicating if the device supports factory calibration for analog inputs.
Message

"@AI:FACCAL"

Response

"AI:FACCAL=implementation>value"

implementation

FIXED%, or not specified if value is NOT_SUPPORTED

value

SUPPORTED, NOT_SUPPORTED

Example

"AI:FACCAL=FIXED%SUPPORTED"