Setaftertriggerlength, Setholdoff, Settriggersource – Dataman 770 Series User Manual
Page 19
Development kit for DATAMAN 770 series
Programmer’s Guide
procedure SetTriggerMode(mode:integer);stdcall;external 'm770drvdk.dll';
Parameters:
mode – trigger mode
TRIGGER_MODE_AUTO – in case, that the trigger event doesn’t
occur for longer time, the acquisition starts anyway
TRIGGER_MODE_NORMAL – the acquisition starts only on valid
trigger event
TRIGGER_MODE_MANUAL – the acquisition starts immediately after
call of StartMeasurement function
Return value: -
3.3.9. SetAfterTriggerLength
Sets amount of samples acquired after trigger event.
procedure SetAfterTriggerLength(samples:integer);stdcall;external
'm770drvdk.dll';
Parameters:
samples – amount of samples acquired after trigger event (from 1 to 1048576
samples)
Return value: -
3.3.10. SetHoldOff
Sets length of hold-off.
procedure SetHoldOff(samples:integer);stdcall;external 'm770drvdk.dll';
Parameters:
samples – length of hold-off in samples from 4 to 1048576 with step of 4
Return value: -
3.3.11. SetTriggerSource
Sets selected trigger sources on the selected level of the trigger system.
procedure SetTriggerSource(level:integer;sources:integer);stdcall;external
'm770drvdk.dll';
Parameters:
level – determines level of the affected trigger system
TRIGGER_LEVEL_PRIMARY – primary level
TRIGGER_LEVEL_SECONDARY – secondary level
sources – sum of following constants determines selected sources:
- 19 -