Setfilter, Setfrequency, Setshift – Dataman 530 Series User Manual
Page 13: Setfilter 3.3.6.setfrequency 3.3.7. setshift
Development kit for DATAMAN 530
Programmer’s Guide
Public Declare Sub SetOutputOnOff Lib "m530drvdk.dll" (ByVal OnOff As
Long)
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 Declare Sub SetFilter Lib "m530drvdk.dll" (ByVal filter As Long)
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 Declare Function SetFrequency Lib "m530drvdk.dll" (ByVal freq As
Double) As Double
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 Declare Sub SetShift Lib "m530drvdk.dll" (ByVal shift As Double)
Parameters:
shift – indicates the level of the 2048 quantization level in volts
Return value: -
- 13 -