How can I...
19
Retrieve the data
Get the data from a specific channel in binary format
word ADC_GetDataCh( word wCh, word *wData )
Description:
This routine transfers the measured data of one channel from the
acquisition memory in the hardware via the DLL into the memo-
ry in the application. The measured data is returned in binary
values. A value of 0 corresponds to -Sensitivity, 32768 corres-
ponds to 0 and 65535 to +Sensitivity in Volts. wData is an array.
The caller must ensure that there is enough space in the array to
contain the data. Therefore the size of the array in bytes must be
at least
RecordLength * sizeof( word )
Input:
wCh
Indicates from which channel the data has to be
retrieved
Output:
wData
The array to which the measured data of the
requested channel should be passed.
Return value
E_NO_ERRORS
E_NO_HARDWARE
Get the date from a specific channel in Volts
word ADC_GetDataVoltCh( word wCh, double *Data )
Description:
This routine transfers the measured data of one channel from the
acquisition memory in the hardware via the DLL into the memo-
ry in the application. The measured data is returned in volt. dData
is an array. The caller must ensure that there is enough space in
the array to contain the data. Therefore the size of the array in
bytes must be at least
RecordLength * sizeof( double )
Input:
wCh
Indicates from which channel the data has to be
retrieved
Output:
dData
The array to which the measured data of the
requested channel should be passed.
Return value
E_NO_ERRORS
E_NO_HARDWARE
Summary of Contents for Handyscope HS3
Page 2: ......
Page 8: ...8 Introduction...
Page 65: ...Deprecated routines 65...
Page 67: ...TiePie engineering DLL programmer s manual rev 1 26...