Settriggermode, Setarmonoff, Setarmstoplevel – Dataman 530 Series User Manual
Page 14: Setgenerationonoff

Development kit for DATAMAN 530
Programmer’s Guide
3.3.8. SetTriggerMode
Sets
trigger
mode.
Public Declare Sub SetTriggerMode Lib "m530drvdk.dll" (ByVal mode As
Long)
Parameters:
mode – trigger mode
TRIGGER_MODE_PERIOD – generator generates the waveform
without any waiting for trigger event
TRIGGER_MODE_SINGLE – generator generates always only one
period after the trigger event occurs
Return value: -
3.3.9. SetARMOnOff
Turns the arm on/off. If the arm is on the selected level on the “SI” input
pauses the generation.
Public Declare Sub SetArmOnOff Lib "m530drvdk.dll" (ByVal OnOff As Long)
Parameters:
OnOff – indicates, whether the arm will be turned on or off
ONOFF_ON – on
ONOFF_OFF – off
Return value: -
3.3.10. SetArmStopLevel
Sets the level which pauses the generation when the arm is turned on.
Public Declare Sub SetArmStopLevel Lib "m530drvdk.dll" (ByVal level As Long)
Parameters:
level – indicates level which pauses the generation when the arm is turned on
0 – logic 0
1 – logic 1
Return value: -
3.3.11. SetGenerationOnOff
This function works in the period trigger mode only. It starts/stops the
waveform generation.
Public Declare Sub SetGenerationOnOff Lib "m530drvdk.dll" (ByVal OnOff
As Long)
- 14 -