Offset, Slope – Measurement Computing DAQFlex User Manual

Page 18

Advertising
background image

DAQFlex Message-based Firmware Specification

Analog output calibration messages

18

OFFSET

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

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

or

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

Refer to the device-specific topics 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 topics to see whether "/HEX" is supported.

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

ch

The channel number.

hex value

The calibration offset in hexadecimal bytes.

RES

Get the D/A resolution.
Message

"?AICAL:RES"

Response "AICAL:RES=value"

value

The A/D resolution.

SLOPE

Set the slope for the current AICAL:RANGE setting.
Message

"AICAL{ch}:SLOPE=value"

Response "AICAL{ch}:SLOPE"

ch

The channel number.

value

The calibration slope.

Example

"AICAL{0}:SLOPE=–0.0025"

Advertising