Chmode, Clear, Count – Measurement Computing DAQFlex User Guide User Manual
Page 40: Datarate

DAQFlex Software User's Guide
DAQFlex Message Reference – Programming messages – AIQUEUE
40
Example
"?AIQUEUE{0}:CHAN"
CHMODE
Set the channel mode for a specified queue element.
Message
"AIQUEUE{element}:CHMODE=value"
Response "AIQUEUE{element}:CHMODE"
element The number of the element in the gain queue.
value
SE, DIFF
Example
"AIQUEUE{0}:CHMODE=DIFF"
Get the channel mode for a specified queue element.
Message
"?AIQUEUE{element}:CHMODE"
Response "AIQUEUE{element}:CHMODE=value"
element The number of the element in the gain queue.
value
SE, DIFF
Example
"?AIQUEUE{0}:CHMODE"
CLEAR
Removes the elements in the analog input gain queue.
Message
"AIQUEUE:CLEAR"
Response "AIQUEUE:CLEAR"
COUNT
Get the number of elements set in the gain queue.
Message
"?AIQUEUE:COUNT"
Response "AIQUEUE:COUNT=value"
value
The number of elements set in the gain queue.
Example
"AIQUEUE:COUNT=15"
DATARATE
Set the A/D data rate in samples per second for one or all channels.
Message
"AIQUEUE{ch}:DATARATE=value"
Response "AIQUEUE{ch}:DATARATE"
value
The data rate in S/s.
ch
The channel number. If ch is omitted the rate is set for all channels.
Example
"AIQUEUE{0}:DATARATE=10"