Settriggercount, Settriggerlength, Settriggermode – Dataman 770 Series User Manual
Page 18
Development kit for DATAMAN 770 series
Programmer’s Guide
Public Declare Sub SetTriggerLevel Lib "m770drvdk.dll" (ByVal channel As
Long, ByVal level As Long)
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.
Public Declare Sub SetTriggerCount Lib "m770drvdk.dll" (ByVal level As
Long, ByVal amount As Long)
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.
Public Declare Sub SetTriggerLength Lib "m770drvdk.dll" (ByVal level As
Long, ByVal samples As Long)
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.
Public Declare Sub SetTriggerMode Lib "m770drvdk.dll" (ByVal mode As
Long)
- 18 -