beautypg.com

Startgeneratoion, Settriggeronoff, Settriggeredge – Dataman 530 Series User Manual

Page 15: Preparefrequency

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.

Public Shared Sub 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.

Public Shared Sub SetTriggerOnOff(ByVal OnOff As Integer)


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.

Public Shared Sub SetTriggerEdge(ByVal edge As Integer)


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.

Public Shared Function PrepareFrequency(ByVal freq As Double) As Double

- 15 -