Functions which set the generation parameters, Setwaveform, Setlevel – Dataman 530 Series User Manual
Page 12: Setoutputattenuation, Setoutputonoff

Development kit for DATAMAN 530
Programmer’s Guide
3.3. Functions which set the generation parameters
3.3.1. SetWaveform
Sets the shape of the waveform.
procedure
SetWaveform(Data:pointer;DataLength:integer;arbitrary:integer);stdcall;external
'm530drvdk.dll';
Parameters:
data – pointer to the data
datalength – length of the data in samples
arbitrary – turns arbitrary length mode on/off. In case this mode is off, the
datalength must equal to 8192.
Return value: -
Remark: It is necessary to set frequency after setting the waveform (by using the
SetFrequency function).
3.3.2. SetLevel
Sets output level.
procedure SetLevel(lvl:real);stdcall;external 'm530drvdk.dll';
Parametre:
lvl – indicates the voltage between quantization levels 4095 and 2048 in volts
Return value: -
3.3.3. SetOutputAttenuation
Sets
output
attenuation to 1:1 or 1:10.
procedure SetOutputAttenuation(attn:integer);stdcall;external
'm530drvdk.dll';
Parameters:
attn – indicates attenuator:
OUTPUT_ATTENUATION_1 – 1:1
OUTPUT_ATTENUATION_10 – 1:10
Return value: -
3.3.4. SetOutputOnOff
Turns output on/off.
- 12 -