beautypg.com

Reset, Samples, Scale – Measurement Computing DAQFlex User Guide User Manual

Page 48

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – AISCAN

48

RESET

Reset the status of the AISCAN operation.
Message

"AISCAN:RESET"

Response "AISCAN:RESET"

SAMPLES

Set the number of samples/channel to acquire in the scan.
Message

"AISCAN:SAMPLES=value"

Response "AISCAN:SAMPLES"

value

0 to N

Example

"AISCAN:SAMPLES=1000"

Note

A value of 0 results in a continuous scan.

Get the number of samples/channel acquired.
Message

"?AISCAN:SAMPLES"

Response "AISCAN:SAMPLES=value"

value

0 to N

Note

A value of 0 indicates a continuous scan.

SCALE

Enable or disable scaling of the A/D data.
Message

"AISCAN:SCALE=value"

Response "AISCAN:SCALE"

value

ENABLE, DISABLE

Example

"AISCAN:SCALE=ENABLE"

Note

When SCALE is enabled, the device returns values that are converted to an appropriate

unit based on the CHMODE property. For example, when CHMODE is set to DIFF, values

are returned as voltage. When CHMODE is set to TC/OTD, values are returned as

temperature. When SCALE is disabled, values are returned as counts.

This message is processed by the DAQFlex Software library, and is not sent to the

device.

Get a value indicating whether scaling will be applied to the A/D data.
Message

"?AISCAN:SCALE"

Response "AISCAN:SCALE=value"

value

ENABLE, DISABLE

Note

This message is processed by the DAQFlex Software library, and is not sent to the

device.