beautypg.com

Xfrmode, Working with the cal and scale properties, Aitrig – Measurement Computing DAQFlex User Guide User Manual

Page 50: Rearm

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – AITRIG

50

value

ENABLE, DISABLE

XFRMODE

Set the transfer mode for analog input scan data.
Message

"AISCAN:XFRMODE=value"

Response "AISCAN:XFRMODE"

value

SINGLEIO, BLOCKIO, BURSTIO

Example

"AISCAN:XFRMODE=BURSTIO"

Note

For SINGLEIO, the device transfers data after one sample per channel is acquired.

For BURSTIO, the number of samples is limited to the size of the device FIFO.

Get the transfer mode that is set for the scan.
Message

"?AISCAN:XFRMODE"

Response "AISCAN:XFRMODE=value"

value

SINGLEIO, BLOCKIO, BURSTIO

Working with the CAL and SCALE properties

The ENABLE/DISABLE setting of the CAL and SCALE properties affect the kind of data that is returned:

CAL=DISABLE, SCALE=DISABLE
If CAL and SCALE are both disabled, the data returned will be raw A/D integer values within the

range of 0 to 2

resolution

-1 of the device. If the calibration factors are stored on the device and applied

to the data by the application software, the data range may be limited to well within these values.

CAL=ENABLE, SCALE=DISABLE
When CAL is enabled and SCALE is disabled, the format of the analog data returned will depend on
the type of calibration implemented. If the calibration factors are stored on the device and applied

to the data by the application software, the data will be floating point values, not integer values,

and may exceed the theoretical limits and include negative values and values above 2

resolution

–1.

SCALE=ENABLE
When SCALE is enabled, scaled floating point values are returned. The limits of the data will depend

on the implementation of calibration, as described above. Data range limits may be a small
percentage less than or greater than the full scale range selected for devices for which the

calibration factors are stored on the device and applied to the data by the application software.

AITRIG

Sets and gets analog input trigger property values.

Refer to the device-specific information in the Hardware Reference section for the component properties

and commands supported by each DAQ device.

Properties

REARM, SRC, TYPE

REARM

Set the state of the retrigger mode.
Message

"AITRIG:REARM=value"

Response "AITRIG:REARM"

value

ENABLE, DISABLE