beautypg.com

Setarmonoff, Setarmstoplevel, Setgenerationonoff – Dataman 530 Series User Manual

Page 14

background image


Development kit for DATAMAN 530

Programmer’s Guide


public static extern void SetTriggerMode(int mode);


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 static extern void SetArmOnOff(int OnOff);


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 static extern void SetArmStopLevel(int level);

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 static extern void SetGenerationOnOff(int OnOff);


Parameters:

OnOff – indicates, whether the generation will be started/stopped

ONOFF_ON – starts generation

ONOFF_OFF – stops generation

- 14 -