Settriggercount, Settriggerlength, Settriggermode – Dataman 770 Series User Manual
Page 18
![background image](https://www.manualsdir.com/files/768916/content/doc018.png)
Development kit for DATAMAN 770 series
Programmer’s Guide
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.
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
- 18 -