beautypg.com

Inputs, Maxcount, Maxrate – Measurement Computing DAQFlex User Guide User Manual

Page 74: Ranges

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Reflection messages – AI

74

INPUTS

Get the analog input signal types that are supported by the device or specified channel.
Message

"@AI:INPUTS"

"@AI{ch}:INPUTS"

Response

"AI{ch}:INPUTS=implementation>value"

ch

Channel number (if {ch} format is used).

implementation FIXED%, PROG% (programmable), HWSEL% (hardware selectable),

or not specified if value is NOT_SUPPORTED

value

VOLTS, TEMP, CUR (current), or RES (resistance), or returns

NOT_SUPPORTED if the device doesn't support analog input or if the

value of {ch} is not valid for the device.

Example

"AI{0}:INPUTS=PROG%VOLTS,TEMP"

MAXCOUNT

Get the maximum count of the device's A/D converter.
Message

"@AI:MAXCOUNT"

Response

implementation FIXED%, or not specified if value is NOT_SUPPORTED

value

The maximum count of the A/D converter, or returns

NOT_SUPPORTED if the device doesn't support analog input.

Example

"AI:MAXCOUNT=FIXED%65535"

MAXRATE

Get the maximum rate for software paced analog input operations.
Message

"@AI:MAXRATE"

Response

"AI:MAXRATE=implementation>value"

RANGES

Get the analog input ranges that are supported by the device.
Message

"@AI:RANGES"

"@AI{ch}:RANGES"

Response

"AI{ch}:RANGES=implementation>value"

ch

Channel number (if {ch} format is used).

implementation FIXED%, PROG% (programmable), or HWSEL% (hardware

selectable), or not specified if value is NOT_SUPPORTED

value

A list of all valid ranges for the specified channel (using the {ch}
format) or device, or returns NOT_SUPPORTED if the device doesn't

support analog input, or the value of {ch} is not valid for the device.

Example

"AI{0}:RANGES=PROG%BIP10V,BIP5V"