Offset, Range – Measurement Computing DAQFlex User Manual

Page 13

Advertising
background image

DAQFlex Message-based Firmware Specification

Analog input calibration messages

13

OFFSET

Set the offset in hexadecimal bytes for the current AICAL:RANGE setting.
Message

"AICAL{ch}:OFFSET/HEX=hex value"

or

"AICAL{ch}:OFFSET=0xhex value"

Refer to the device-specific information in the

Hardware Reference

chapter to see

whether "/HEX" is supported.

Response "AICAL{ch}:OFFSET"

ch

The channel number.

hex value

The calibration offset in hexadecimal bytes.

Example

"AICAL{0}:OFFSET/HEX=0x84B575AF"

Note

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

Get the offset in hexadecimal bytes for the current AICAL:RANGE setting.
Message

"?AICAL{ch}:OFFSET/HEX"

or

"?AICAL{ch}:OFFSET"

Refer to the device-specific information in the

Hardware Reference

chapter to see

whether "/HEX" is supported.

Response "AICAL{ch}:OFFSET=0xhex value"

ch

The channel number.

hex value

The calibration offset in hexadecimal bytes.

RANGE

Set the range to calibrate.
Message

"AICAL:RANGE=value"

Response "AICAL:RANGE"

value

The range value.

Example

"AICAL:RANGE=BIP10V"

Get the range to calibrate.
Message

"?AICAL:RANGE"

Response "AICAL:RANGE=value"

value

The range value.

Advertising