beautypg.com

Setfilter, Setfrequency, Setshift – Dataman 530 Series User Manual

Page 13: Settriggermode

background image


Development kit for DATAMAN 530

Programmer’s Guide



Parameters:

OnOff – indicates, whether the output is turned on or off

ONOFF_ON – turns output on

ONOFF_OFF – turns output off


Return value: -

3.3.5. SetFilter

Sets selected filter on the output.

public static extern void SetFilter(int filter);


Parameters:

filter – indicates filter to be connected to the output

FILTER_NO – no filter

FILTER_40MHZ – 40MHz filter on the output

FILTER_20MHZ – 20MHz filter on the output


Return value: -

3.3.6.SetFrequency

Sets the frequency on the output. If the arbitrary waveform length is selected

this function sets the sampling rate. Otherwise it sets the waveform frequency.

public static extern double SetFrequency(double freq);


Parameters:

freq – frequency (If the arbitrary waveform length is selected this parameter

indicates the sampling rate. Otherwise it indicates the waveform frequency.)

Return value:

Frequency that was set to the device.

3.3.7. SetShift

Sets shift of the waveform.

public static extern void SetShift(double shift);


Parameters:

shift – indicates the level of the 2048 quantization level in volts


Return value: -

3.3.8. SetTriggerMode

Sets

trigger

mode.

- 13 -