Settriggercount, Settriggerlength, Settriggermode – Dataman 570 Series User Manual
Page 17
Development kit for DATAMAN 570 series
Programmer’s Guide
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.
void __declspec(dllimport) __stdcall SetTriggerCount(int level, int amount);
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.
void __declspec(dllimport) __stdcall SetTriggerLength(int level, int samples);
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.
void __declspec(dllimport) __stdcall SetTriggerMode(int mode);
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
- 17 -