Startgeneratoion, Settriggeronoff, Settriggeredge – Dataman 530 Series User Manual

Page 15: Preparefrequency

Advertising
background image


Development kit for DATAMAN 530

Programmer’s Guide



Return value: -

3.3.12. StartGeneratoion

Starts the generation of the one period in the single trigger mode. This function

has no effect in the period trigger mode.

void __declspec(dllimport) __stdcall StartGeneration();


Parameters: -

Return value: -

3.3.13. SetTriggerOnOff

Turns the triggering from external source on/off. This function works in the

single trigger mode only.

void __declspec(dllimport) __stdcall SetTriggerOnOff(int OnOff);


Parameters:

OnOff – indicates, whether the triggering from external source is turned on/off

ONOFF_ON – on

ONOFF_OFF – off


Return value: -

3.3.14. SetTriggerEdge

Sets the trigger sensitivity on the selected edge.

void __declspec(dllimport) __stdcall SetTriggerEdge(int edge);


Parameters:

edge – indicates edge

TRIGGER_EDGE_LEADING – leading edge

TRIGGER_EDGE_TRAILING – trailing edge

Return value: -

3.3.15. PrepareFrequency

Sets the second phase locked loop to the selected frequency. By presetting the

frequency you can achieve immediate tuning to this frequency after calling the
SetFrequency function.

double __declspec(dllimport) __stdcall PrepareFrequency(double freq);

- 15 -

Advertising