26.05.2014 Views

Introducing Message-Based DAQ

Introducing Message-Based DAQ

Introducing Message-Based DAQ

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SCALE 1<br />

<strong>Message</strong> Device response Description<br />

"AI:SCALE=value" "AI:SCALE" Enables or disables scaling of A/D channels.<br />

value = ENABLE or DISABLE<br />

Example: "AI:SCALE=ENABLE"<br />

"?AI:SCALE" "AI:SCALE=value" Returns a value indicating whether scaling will<br />

be applied to the A/D channels.<br />

value = ENABLE or DISABLE<br />

1 These messages are processed by the <strong>DAQ</strong>Flex Software library, and are not sent to the device.<br />

Working with the CAL and SCALE properties<br />

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

• CAL=DISABLE, SCALE=DISABLE<br />

If CAL and SCALE are both disabled, the data returned will be raw A/D integer values within the range of 0 to 2 res olution -1 of<br />

the device. If the calibration factors are stored on the device and applied to the data by the application software, the data<br />

range may be limited to well within these values.<br />

• CAL=ENABLE, SCALE=DISABLE<br />

When CAL is enabled and SCALE is disabled, the format of the analog data returned will depend on the type of calibration<br />

implemented. If the calibration factors are stored on the device and applied to the data by the application software, the data<br />

will be floating point values, not integer values, and may exceed the theoretical limits and include negative values and values<br />

above 2 res olution -1.<br />

• SCALE=ENABLE<br />

When SCALE is enabled, scaled floating point values are returned. The limits of the data will depend on the implementation of<br />

calibration, as described above. Data range limits may be a small percentage less than or greater than the full scale range<br />

selected for devices for which the calibration factors are stored on the device and applied to the data by the application<br />

software.<br />

Page 19 of 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!