beautypg.com

Analog input calibration messages, Adcal/start, Adcal/status – Measurement Computing DAQFlex User Manual

Page 12: Lock, Mode

background image

DAQFlex Message-based Firmware Specification

Analog input calibration messages

12

Analog input calibration messages

The AI and AICAL components provide messages for calibrating the analog inputs on a device. Refer to

the device-specific information in the

Hardware Reference

chapter for the component properties and

commands supported by each DAQ device.

AI component calibration properties (USB-2408 series only)

ADCAL/START, ADCAL/STATUS

ADCAL/START

Start the A/D internal calibration.
Message

"AI:ADCAL/START"

Response "AI:ADCAL/START"

ADCAL/STATUS

Get the status of the A/D internal calibration.
Message

"?AI:ADCAL/STATUS"

Response "AI:ADCAL/STATUS=value"

value

RUNNING, IDLE

AICAL component calibration properties (USB-1608G Series and USB-2408 Series only)

LOCK, MODE, OFFSET, RANGE, REF, REFVAL, RES, SLOPE, TCCAL, UNLOCK, VALUE

LOCK

Lock the AICAL component.
Message

"AICAL:LOCK"

Response "AICAL:LOCK"

Note

The device returns INVALID if any AICAL property message is accessed while the AICAL

component is locked.

MODE

Set the calibration channel mode.
Message

"AICAL:MODE=value"

Response "AICAL:MODE"

value

AIOFFSET, AIGAIN, TCOFFSET, TCGAIN/POS, TCGAIN/NEG

Example

"AICAL:MODE=TCOFFSET"

Get the calibration channel mode.
Message

"?AICAL:MODE"

Response "AICAL:MODE=value"

value

AIOFFSET, AIGAIN, TCOFFSET, TCGAIN/POS, TCGAIN/NEG