beautypg.com

Settriggeredge, Setprobe, Setmemorysize – Dataman 770 Series User Manual

Page 20

background image


Development kit for DATAMAN 770 series

Programmer’s Guide



Return value: -

3.3.12. SetTriggerEdge

Sets triggering on the selected edge (leading or trailing) on the selected source.

Public Declare Sub SetTriggerEdge Lib "m770drvdk.dll" (ByVal level As

Long, ByVal source As Long, ByVal edge As Long)

Parameters:
level – determines level of the affected trigger system

TRIGGER_LEVEL_PRIMARY – primary level

TRIGGER_LEVEL_SECONDARY – secondary level

source – determines the source, whose sensitivity is affected

TRIGGER_SOURCE_A – channel A
TRIGGER_SOURCE_B – channel B
TRIGGER_SOURCE_E – external trigger input

edge – determines sensitivity

TRIGGER_EDGE_LEADING – sensitivity on the leading edge
TRIGGER_EDGE_TRAILING – sensitivity on the trailing edge


Return value: -

3.3.13. SetProbe

Sets device to measure with selected probe accurately.

Public Declare Sub SetProbe Lib "m770drvdk.dll" (ByVal channel As Long,

ByVal probe As Long)

Parameters:
channel – determines channel

CHANNEL_A – channel A

CHANNEL_B – channel B

probe – determines connected probe

PROBE_1_1 – probe 1:1
PROBE_1_10 – probe with attenuation 1:10 or higher


Return value: -

Remark:
This function sets correction of the input impedance inaccuracy. This correction is
turned on with probes with attenuation of 1:10 or higher.

3.3.14. SetMemorySize

Sets length of memory used for data acquisition.

Public Declare Sub SetMemorySize Lib "m770drvdk.dll" (ByVal size As Long)

- 20 -