beautypg.com

Value, Analog output calibration messages, Aioffset – Measurement Computing DAQFlex User Manual

Page 16: Airange

background image

DAQFlex Message-based Firmware Specification

Analog output calibration messages

16

VALUE

Get the value of the analog input channel being calibrated.
Message

"?AICAL{ch}:VALUE"

Response "AICAL{ch}:VALUE=value"

ch

The AI channel being calibrated.

value

The AI channel value in counts.

Example

"?AICAL{0}:VALUE"

Analog output calibration messages

The AOCAL component provides messages for calibrating the analog outputs on a USB-1608G Series

and USB-2408 Series device.

Refer to the device-specific information in the

Hardware Reference

chapter for the component properties

and commands supported by each DAQ device.

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

AIOFFSET, AIRANGE, AIRES, AISLOPE, AIVALUE, LOCK, OFFSET, RES, SLOPE, UNLOCK, VALUE

AIOFFSET

Get the offset for the current AICAL:RANGE setting.
Message

"?AOCAL{ch}:AIOFFSET/HEX"

Response "AOCAL{ch}:AIOFFSET=0xhex value"

ch

The analog output channel.

hex value

The offset currently set for AICAL:RANGE.

Example

"AOCAL{0}:AIOFFSET=0x84B575AF"

Note

The hex value is used to preserve the precision of the double precision floating point

value.

AIRANGE

Get the analog input range.
Message

"?AOCAL{ch}:AIRANGE"

Response "AOCAL{ch}:AIRANGE=value"

ch

The analog output channel.

value

BIP10V.

Example

"AOCAL{0}:AIRANGE=BIP10V"