Offset, Range – Measurement Computing DAQFlex User Guide User Manual

Page 35

Advertising
background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – AI

35

Get the A/D data rate in samples per channel for a specified channel.
Message

"?AI{ch}:DATARATE"

Response "AI{ch}:DATARATE=value"

ch

The channel number.

value

The data rate in S/s.

OFFSET

Get the calibration offset coefficient for the specified channel.
Message

"?AI{ch}:OFFSET"

Response "AI{ch}:OFFSET=value"

ch

The channel number.

value

The calibration offset.

Example

"?AI{0}:OFFSET"

RANGE

Set the range value for a specified channel.
Message

"AI{ch}:RANGE=value"

Response "AI{ch}:RANGE"

ch

The channel number.

value

The range value.

Example

"AI{0}RANGE= value"

Note

Call an AI:RANGES Reflection message to get the supported ranges. If the message

returned does not include PROG%, then the message does not apply to the device.

If ch is not specified, all channels are set to the range value.

If RANGE is not specified, the device power up default value is used.

Get the range value for a specified channel.
Message

"?AI{ch}:RANGE"

Response "AI{ch}:RANGE=value"

ch

The channel number.

value

The range value.

Example

"?AI{0}:RANGE"

Note

Call an AI:RANGES Reflection message to get the supported ranges. If the message

returned does not include PROG%, then the message does not apply to the device.

Advertising