beautypg.com

Programming messages, Adcal, Device programming messages – Measurement Computing DAQFlex User Guide User Manual

Page 32

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – AI

32

Programming messages

Device programming messages are used to get and set device properties. Programming messages that

query a device property always start with the

?

character.

Click on a component name below for the string messages, device responses, and property values

supported by the component.

Components for
programming a device

Description

AI

Sets and gets property values for analog input channels.

AICAL

Sets and gets property values for calibrating analog inputs.

AIQUEUE

Sets and gets property values for the analog input gain queue.

AISCAN

Sets and gets property values when scanning analog input channels.

AITRIG

Sets and gets analog input trigger property values.

AO

Sets and gets property values for analog output channels

AOCAL

Sets and gets property values for calibrating analog outputs.

AOSCAN

Sets and gets property values when scanning analog output channels.

DEV

Sets and gets device property values.

DIO

Sets and gets property values for digital I/O channels.

CTR

Sets and gets property values for counter channels.

TMR

Sets and gets property values for timer output channels.

AI

Sets and gets property values for analog input channels.

Refer to the device-specific information in the Hardware Reference section for the component properties
and commands supported by each DAQ device.

Properties

ADCAL, CAL, CHMODE, CJC, DATARATE, OFFSET, RANGE, RES, SCALE, SENSOR, SLOPE, STATUS,

VALIDCHANS, VALUE

(Component only)

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

"?AI"

Response "AI=value"

value

The number of A/D channels on the device.

ADCAL

Start the A/D internal calibration.
Message

"AI:ADCAL/START"

Response "AI:ADCAL/START"