beautypg.com

Prototypes, Program references – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 162

background image

The buf parameter specifies the pointer to the data buffer containing the raw data. Prior to calling this
function, this user-allocated buffer should already contain the entire raw data transfer. Upon completion, this
data buffer will contain the converted data (the buffer must be able to contain all the converted data).

The scanCount parameter specifies the length of the raw buffer in scans. Since the converted data will
overwrite the raw data in the buffer, make sure the specified buffer is large enough to contain all of the
converted data.

This function should be called after the raw data has been acquired. See the transfer data
functions (of the form daqAdcTransfer…) for more details on the collection of raw data.

Prototypes

C/C++

daqCvtRawDataFormat(PWORD buf, DaqAdcCvtAction action, DWORD lastRetCount,
DWORD scanCount, DWORD chanCount);

Visual BASIC

VBdaqCvtRawDataFormat&(buf%, ByVal action&, ByVal lastRetCount&, ByVal
scanCount&, ByVal chanCount&)

Program References

None

4.3-36 Daq API Command Reference

908494

Programmer’s

Manual