beautypg.com

Tccal, Unlock – Measurement Computing DAQFlex User Manual

Page 15

background image

DAQFlex Message-based Firmware Specification

Analog input calibration messages

15

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

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

Response "AICAL{ch}:SLOPE"

ch

The channel number.

hex value

The calibration slope in hexadecimal bytes.

Example

"AICAL{0}:SLOPE/HEX=0x14B525A3"

Note

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

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

"?AICAL{ch}:SLOPE/HEX"

or
"?AICAL{ch}:SLOPE"

Refer to the device-specific topics to see whether "/HEX" is supported.

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

ch

The channel number.

hex value

The calibration slope in hexadecimal bytes.

TCCAL

Enables or disables the TC Cal Measurement option.
Message

"AICAL:TCCAL=value"

Response "AICAL:TCCAL"

value

ENABLE, DISABLE

Example

"AICAL:TCCAL=ENABLE"

Get the value for the TC Cal Measurement option.
Message

"?AICAL:TCCAL"

Response "AICAL:TCCAL=value"

value

ENABLE, DISABLE

UNLOCK

Unlock the AICAL component.
Message

"AICAL:UNLOCK"

Response "AICAL:UNLOCK"

Note

The AICAL component must be unlocked in order to change calibration settings on a

device's analog inputs.

When AICAL is unlocked, sending a message to any component other than AICAL will

lock the AICAL component.