beautypg.com

Settriggercount, Settriggerlength, Settriggermode – Dataman 770 Series User Manual

Page 18

background image


Development kit for DATAMAN 770 series

Programmer’s Guide



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 Shared Sub SetTriggerCount(ByVal level As Integer, ByVal amount As

Integer)

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 Shared Sub SetTriggerLength(ByVal level As Integer, ByVal samples

As Integer)

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 Shared Sub SetTriggerMode(ByVal mode As Integer)


Parameters:
mode – trigger mode

- 18 -