beautypg.com

Chmode – Measurement Computing DAQFlex User Guide User Manual

Page 33

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – AI

33

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

"?AI:ADCAL/STATUS"

Response "AI:ADCAL/STATUS=value"

value

RUNNING, IDLE

CAL

Enable or disable calibration of all A/D channels.
Message

"AI:CAL=value"

Response "AI:CAL"

value

ENABLE, DISABLE

Example

"AI:CAL=ENABLE"

Note

This message is processed by the DAQFlex Software library, and is not sent to the

device.

Get a value indicating whether the calibration coefficients will be applied to the raw A/D data.
Message

"?AI:CAL"

Response "AI:CAL=value"

value

ENABLE, DISABLE

Note

This message is processed by the DAQFlex Software library, and is not sent to the
device.

CJC

Get the CJC value in the specified format.
Message

"?AI{ch}:CJC/format"

Response "AI{ch}:CJC/format=value"

format DEGC, DEGF, KELVIN

value

The measured temperature.

Example

"?AI{0}:CJC/DEGC"

CHMODE

Set the analog input mode to single-ended or differential for all channels.
Message

"AI:CHMODE=value"

Response "AI:CHMODE"

value

SE, DIFF

Example

"AI:CHMODE=SE"