Getdata, Other functions, Groundpositiontoshift – Dataman 570 Series User Manual

Page 22

Advertising
background image


Development kit for DATAMAN 570 series

Programmer’s Guide

- 22 -

Return value: -

Remark:

This function works only in case, that the selected timebase uses sampling

mode (SamplingMulti > 1).

3.4.4. GetData

Transfers data from device to computer.

Public Shared Sub GetData(ByRef Data As TSample, ByRef returnedlength As

Integer)

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).

Public Shared Function GroundPositionToShift(ByVal channel As Integer,

ByVal Position As Integer) As Integer

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.

Advertising