beautypg.com

Datarate – Measurement Computing DAQFlex User Guide User Manual

Page 34

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – AI

34

Set the analog input mode single-ended or differential for a specified channel.
Message

"AI{ch}:CHMODE=value"

Response "AI{ch}:CHMODE"

ch

The channel number.

value

SE, DIFF,TC/OTD, TC/NOOTD

Example

"AI{0}:CHMODE=SE"

Get the input mode that is set for all analog inputs.
Message

"?AI:CHMODE"

Response "AI:CHMODE=value"

value

SE, DIFF, MIXED

Get the input mode that is set for a specified channel.
Message

"?AI{ch}:CHMODE"

Response "AI{ch}:CHMODE=value"

ch

The channel number.

value

SE, DIFF,TC/OTD, TC/NOOTD

DATARATE

Set the A/D data rate in samples per channel for all channels.
Message

"AI:DATARATE=value"

Response "AI:DATARATE"

value

The data rate in S/s.

Example

"AI:DATARATE=100"

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

"AI{ch}:DATARATE=value"

Response "AI{ch}:DATARATE"

ch

The channel number.

value

The data rate in S/s.

Example

"AI{0}:DATARATE=10"

Get the A/D data rate in samples per channel for all channels.
Message

"?AI:DATARATE"

Response "AI:DATARATE=value"

value

The data rate in S/s.