beautypg.com

Settriggerlevel, Settriggercount, Settriggerlength – Dataman 770 Series User Manual

Page 18: Settriggermode

background image


Development kit for DATAMAN 770 series

Programmer’s Guide

3.3.5. SetTriggerLevel

Sets threshold on the selected source.

procedure SetTriggerLevel(channel:integer;level:integer);stdcall;external

'm770drvdk.dll';

Parameters:
channel – determines channel

CHANNEL_A – channel A

CHANNEL_B – channel B

level – determines quantization level (0 to 255), which will be considered as threshold

Return value: -

3.3.6. SetTriggerCount

Sets amount of trigger events necessary to start acquisition on the selected trigger
level.

procedure SetTriggerCount(level:integer;amount:integer);stdcall;external

'm770drvdk.dll';

Parameters:

level – determines level of the trigger system

TRIGGER_LEVEL_PRIMARY – primary level

TRIGGER_LEVEL_SECONDARY – secondary level

amount – amount of trigger events necessary to start acquisition


Return value: -

3.3.7. SetTriggerLength

Sets minimal length of valid trigger event.

procedure SetTriggerLength(level:integer;samples:integer);stdcall;external

'm770drvdk.dll';

Parameters:
level – determines level of the trigger system

TRIGGER_LEVEL_PRIMARY – primary level

TRIGGER_LEVEL_SECONDARY – secondary level

samples – minimal length of the valid trigger event from 8 to 131068 with step of 4.
Value 0 turns the digital filter off.

Return value: -

3.3.8. SetTriggerMode

Sets trigger mode.

- 18 -