beautypg.com

Setcoupling, Setvert, Settriggerlevel – Dataman 770 Series User Manual

Page 17: Setcoupling 3.3.4. setvert 3.3.5. settriggerlevel

background image


Development kit for DATAMAN 770 series

Programmer’s Guide


channel – determines channel

CHANNEL_A – channel A

CHANNEL_B – channel B

mV – determines range, which is to be set (amount of mV per division)

Return value:
The vertical shift which must be set to keep the position of 0V at the same place.

Remark:
If it is necessary to keep the 0V position on the screen intact, it is necessary to set the
vertical shift using function SetVert to the return value.

3.3.3. SetCoupling

Sets selected coupling on the channel.

Public Declare Sub SetCoupling Lib "m770drvdk.dll" (ByVal channel As

Long, ByVal coupling As Long)

Parameters:
channel – determines channel

CHANNEL_A – channel A

CHANNEL_B – channel B

coupling – determines coupling

COUPLING_AC – AC coupling

COUPLING_DC – DC coupling


Return value: -

3.3.4. SetVert

Sets specified shift to the selected channel.

Public Declare Function SetVert Lib "m770drvdk.dll" (ByVal channel As

Long, ByVal shift As Long) As Long

Parameters:
channel – determines channel

CHANNEL_A – channel A

CHANNEL_B – channel B

shift – shift value from 0 to 4095, where 0 moves the waveform maximally
downwards and 4095 moves the waveform maximally upwards

Return value:
Position on the screen (quantization level), which corresponds with 0V.

3.3.5. SetTriggerLevel

Sets threshold on the selected source.

- 17 -