Set FG

This program controls the basic settings of several Tektronix function generators. This version supports FG5010, AFG5101, AFG5102 and PFG5101.

The program will automatically find any supported FG on the bus as long as its address is higher than 0. If more than one supported FG is connected the one with lowest address will be selected.


Feb 10, 2017  - New version 1.1


Changes from 1.0 to 1.1:



  Amplitude settings into High Impedance / 50 Ohm didn't work as expected on FG5010.



  Setting for Symmetry added.
  Several changes to Show Spec text.

  How Save and Recall controls were enabled and disabled changed

  Confirmation to Apply queries added to changes of  Load, Frequency prefix, Function and Recall Saved Settings.

  Recall Settings now recalls only settings and not the Tickboxes status. Save still saves everything.


Version 1.0

  Initial version.


Here's a screen shot (of version 1.1)



Refresh inputs the actual settings from the FG to the program and Apply does the opposite i.e. sets the FG to the settings of the program.

Hitting <ENTER> in any of the parameter boxes sends this particular setting only to the FG while Apply sends everything.


The output can be toggled by hitting the <SPACE> bar.


The Amplitude and Offset settings differ between generators i.e the readout of the FG5010 shows values into open circuit while the

others show it into 50 ohm. The program keeps track of that as well as checking that settings are within limits.


The four tick boxes default to ticked on the very first start. They are always saved on Exit even it "Save Setup on Exit" isn't ticked.


You must have a NI GPIB card with the proper drivers installed.  Find  and download National Instruments GPIB card drivers here.

It is expected to work on any PC/win OS (not 3.1) with a  correctly installed and working NI card.


Download Set FG here


Email me with comments  /Håkan

Home  /  Go back