Daqflex message reference, Daqflex components, Chapter 4 – Measurement Computing DAQFlex User Guide User Manual

Page 31

Advertising
background image

31

Chapter 4

DAQFlex Message Reference

The software messages that you send to a DAQFlex supported device are text-based commands. Each

message pertains to a specific DAQ component. A DAQ component is a device element that

encapsulates a DAQ subsystem which has multiple properties or commands associated with it.

DAQFlex components

A DAQ component is a device element that encapsulates a DAQ subsystem which has multiple
properties or commands associated with it. The DAQFlex API defines the following DAQ components:

DEV — encapsulates device-level operations

AI — encapsulates single-point analog input operations

AICAL — encapsulates analog input self-calibration

AIQUEUE — encapsulates analog input gain queue operations

AISCAN — encapsulates analog input scanning operations

AITRIG — encapsulates analog input triggering operations

AO — encapsulates single-point analog output operations

AOCAL — encapsulates analog output self-calibration

AOSCAN — encapsulates analog output scanning operations

AOTRIG — encapsulates analog output triggering operations

DIO — encapsulates digital I/O operations

CTR — encapsulates counter input operations

TMR — encapsulates timer output operations

Each component has one or more properties associated with it. Each property supports one or more

text-based commands, or messages. These messages are used to communicate with DAQFlex-

supported hardware.

DAQFlex supports two types of messages:

Device programming messages

configure or retrieve a device property value.

Device reflection messages

retrieve information about a device capability, such as the maximum

scan rate or support for an external clock.

Advertising