Other functions, Groundpositiontoshift – Dataman 570 Series User Manual
Page 22
Development kit for DATAMAN 570 series
Programmer’s Guide
- 22 -
void __declspec(dllimport) __stdcall GetData(TSample *data, int
*returnedlength);
Parameters:
data – array, which contains 1048576 items of TSample type. This array is filled with
the data transferred from the device. Last transferred sample from device is written to
the end of array (item index 1048575), first sample is written to the item index
1048576 - length
length – amount of samples, that were transferred from device
Return value: -
3.5. Other functions
3.5.1. GroundPositionToShift
Returns vertical shift, which is necessary to set, to have the 0V at the selected position
of the screen (quantization level).
int __declspec(dllimport) __stdcall GroundPositionToShift(int channel, int
position);
Parameters:
channel – determines channel
CHANNEL_A – channel A
CHANNEL_B – channel B
position – screen position (quantization level), where the 0V should be placed
Return value:
The vertical shift value, which places 0V to the selected screen position (quantization
level). Set this value using SetVert to place 0V to the selected position.