Setholdoff, Settriggersource, Settriggeredge – Dataman 570 Series User Manual
Page 18
Development kit for DATAMAN 570 series
Programmer’s Guide
void __stdcall __export SetAfterTriggerLength(int samples);
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.
void __stdcall __export SetHoldOff(int samples);
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.
void __stdcall __export SetTriggerSource(int level, int sources);
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:
TRIGGER_SOURCE_A – channel A
TRIGGER_SOURCE_B – channel B
TRIGGER_SOURCE_E – external trigger input
Return value: -
3.3.12. SetTriggerEdge
Sets triggering on the selected edge (leading or trailing) on the selected source.
void __stdcall __export SetTriggerEdge(int level, int source, int edge);
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
- 18 -