Hameg 8130 Function Generator

Menu in Datalyse:

Download data from column 2 in the table.
Read arbitrary data to column 2 in the table.
Reset the settings to the default values.
Activate sweep (remember setting output ON)
Interrupt sweep
Trig, starting sweep.

Baud rate 19200, no parity, 1 stop, 8 data bits.

Hameg has automatic baud rate detection. Hameg expects a space (#32) as the first character in the serial communication and calculates the baud rate from this. The cable is crossed, see Digital Meter

Command "#VR" for version.

Hameg 8130 Function generator has the following specifications:

Frequency: 10 mHz to 10 MHz
Resolution: 5 digits with an accuracy of ±(1 digit + 5mHz)
Waveforms: sine, square, pulse, ramp, triangle and arbitrary.
Input: continual, gate, trig
Output: 50 ohm
DC Offset: -7.5V to 7.5V
Trigger Output: ramp (follows sweep)
Sweep: time from 20 ms to 100 s
Amplitude Modulation: using external signal

The arbitrary waveform consists of X: 1024; Y: 1024 (10 bit) points. This means you can make your very own signal which is saved when the device is turned off.

You can download a signal as follows:

In Datalyse you select View | Table, and in the table you select Options | Setup

Here you select 1024 rows. These are then filled with numbers in column A from 1 to 1024.

Now place the cursor in column B and type in a function, e.g. 0.4*a.

Remember that the y-values should be between -511 and 512. (Datalyse will automatically cut »top« and »bottom« of column B, so you only need to worry whether the numbers are too small. sin(A) will not work very well but 500*sin(2*pi/360*A) will work just fine.

Hameg has commands for setting frequency and amplitude as well, but I have chosen not to implement them in Datalyse. This is superfluous, since the panel is logical and easy to use, and since the functions as mentioned are for setup only.

The trig function can be used to start a sweep at a given time. This way you do not have to connect a signal to the Gate/Trig input.

It would be better if during a sweep you could read the current frequency, but this is not possible. Note that in Datalyse you can use the Hameg 8130 together with another device and select enter for each measurement. This way you can get corresponding values of frequency and some other measured value.