The Aim-TTi TG2511A function generator is controlled remotely with SCPI commands. TestFlow's instrument library holds 56 commands for it, 4 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the TG2511A on a real bench.
Commands
56
Queries
4
Subsystems
38
Models covered
1
Run this on your bench
Describe the test; TestFlow's agent uses this command set to drive your Aim-TTi TG2511A and writes the report from the measured results.
With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Aim-TTi TG2511A's VISA address
# Paste the address of your Aim-TTi TG2511A (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000 # ms
print(inst.query("*IDN?")) # identify the instrument
inst.write("OUTPUT ON") # Turn On Output CH1
print(inst.query("EER?")) # Read Error
inst.close()
Run this on your bench
Describe the test; TestFlow's agent uses this command set to drive your Aim-TTi TG2511A and writes the report from the measured results.
Describe the test in a sentence, for example “turn on output ch1 on the TG2511A, then read error and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.
Set Frequency CH1. Sets the output frequency in Hz.
Number
PER subsystem (1)
Command
What it does
Arguments
PER <Sec>
Set Period CH1. Sets the output period in seconds.
Number
AMPL subsystem (1)
Command
What it does
Arguments
AMPL <Amp>
Set Amplitude CH1. Sets the output amplitude (Vpp).
Number
AMPUNIT subsystem (1)
Command
What it does
Arguments
AMPUNIT <Unit>
Set Amplitude Unit CH1. Sets the amplitude unit.
Text: VPP,VRMS,DBM
DCOFFS subsystem (1)
Command
What it does
Arguments
DCOFFS <Volt>
Set DC Offset CH1. Sets the DC offset voltage.
Number
HILVL subsystem (1)
Command
What it does
Arguments
HILVL <Volt>
Set Voltage High CH1. Sets the high output-voltage level.
Number
LOLVL subsystem (1)
Command
What it does
Arguments
LOLVL <Volt>
Set Voltage Low CH1. Sets the low output-voltage level.
Number
PHASE subsystem (1)
Command
What it does
Arguments
PHASE <Deg>
Set Phase CH1. Sets the output phase in degrees.
Number
RMPSYMM subsystem (1)
Command
What it does
Arguments
RMPSYMM <Pct>
Set Ramp Symmetry CH1. Sets the ramp symmetry percentage.
Number
SQRSYMM subsystem (1)
Command
What it does
Arguments
SQRSYMM <Pct>
Set Square Duty Cycle CH1. Sets the square-wave duty cycle percentage.
Number
PULSWID subsystem (1)
Command
What it does
Arguments
PULSWID <Sec>
Set Pulse Width CH1. Sets the pulse width in seconds.
Number
PULSPER subsystem (1)
Command
What it does
Arguments
PULSPER <Sec>
Set Pulse Period CH1. Sets the pulse period in seconds.
Number
PULSEDGE subsystem (1)
Command
What it does
Arguments
PULSEDGE <Sec>
Set Pulse Edge CH1. Sets the pulse edge (rise/fall) time.
Number
PULSDLY subsystem (1)
Command
What it does
Arguments
PULSDLY <Sec>
Set Pulse Delay CH1. Sets the pulse delay.
Number
ARBLOAD subsystem (1)
Command
What it does
Arguments
ARBLOAD <Name>
Set Arb Waveform CH1. Selects the arbitrary waveform by name.
Text
MODAMDEPTH subsystem (1)
Command
What it does
Arguments
MODAMDEPTH <Pct>
Set AM Depth CH1. Sets the AM depth percentage.
Number
MODFMDEV subsystem (1)
Command
What it does
Arguments
MODFMDEV <Freq>
Set FM Deviation CH1. Sets the FM frequency deviation in Hz.
Number
MODPMDEV subsystem (1)
Command
What it does
Arguments
MODPMDEV <Deg>
Set PM Deviation CH1. Sets the PM phase deviation in degrees.
Number
MODHOPFREQ subsystem (1)
Command
What it does
Arguments
MODHOPFREQ <Freq>
Set FSK Hop Freq CH1. Sets the FSK hop frequency in Hz.
Number
SWPBEGFREQ subsystem (1)
Command
What it does
Arguments
SWPBEGFREQ <Freq>
Set Sweep Start Freq CH1. Sets the sweep start frequency.
Number
SWPENDFREQ subsystem (1)
Command
What it does
Arguments
SWPENDFREQ <Freq>
Set Sweep Stop Freq CH1. Sets the sweep stop frequency.
Number
SWPTIME subsystem (1)
Command
What it does
Arguments
SWPTIME <Sec>
Set Sweep Time CH1. Sets the sweep time in seconds.
Number
SWPTYPE subsystem (1)
Command
What it does
Arguments
SWPTYPE <Type>
Set Sweep Type CH1. Sets the sweep spacing type.
Text: LINUP,LINDN,LINUPDN,LOGUP,LOGDN,LOGUPDN
BSTCOUNT subsystem (1)
Command
What it does
Arguments
BSTCOUNT <N>
Set Burst Count CH1. Sets the number of cycles per burst.
Number
BSTPHASE subsystem (1)
Command
What it does
Arguments
BSTPHASE <Deg>
Set Burst Phase CH1. Sets the burst start phase.
Number
TRGSRC subsystem (1)
Command
What it does
Arguments
TRGSRC <Src>
Set Trigger Source. Sets the trigger source.
Text: INT,EXT,CRC,MAN
EER subsystem (1)
Command
What it does
Arguments
EER?
Read Error. Reads and clears the execution-error register.
None
Other subsystem (1)
Command
What it does
Arguments
<Output Variable>=<Equation>
Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)
Number; Text
WAIT subsystem (1)
Command
What it does
Arguments
wait(<ms>)
Wait. Waits for number of milliseconds
Number
SAVE subsystem (1)
Command
What it does
Arguments
save2var <Variable_name>
Save2Variable. Saves last measurement to a variable
Text
IEEE 488.2 common commands (9)
Command
What it does
Arguments
*TRG
Trigger Now. Issues a manual/bus trigger.
None
*IDN?
Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
None
*RST
Reset. Resets the instrument to its default state.
None
*CLS
Clear Status. Clears all status registers.
None
*TST?
Self Test. Runs the self-test and returns 0 for pass.
None
*OPC?
Operation Complete. Returns 1 when all pending operations are complete.
None
*WAI
Wait To Continue. Waits until all pending operations are complete.
None
*SAV <Slot>
Save Setup. Stores the current setup to a memory slot (0 to 9).
Number
*RCL <Slot>
Recall Setup. Recalls a setup from a memory slot (0 to 9).
Number
Where these commands come from
This reference is generated from TestFlow's instrument library, which is drafted from Aim-TTi's programming documentation for the TG2511A and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Aim-TTi's programming manual: check it before you rely on an edge case. Last updated November 17, 2026.
Frequently asked questions
Does the Aim-TTi TG2511A support SCPI remote control?
Yes. The Aim-TTi TG2511A accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 56 SCPI commands for it: 4 queries that read values or state, and 52 settings and actions.
How do I control the Aim-TTi TG2511A from Python?
Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, OUTPUT ON and EER?.
Which command reads a value from the Aim-TTi TG2511A?
EER? (read error). Reads and clears the execution-error register. The full list of queries is in the command reference on this page, grouped by subsystem.
Can I automate the Aim-TTi TG2511A without writing code?
Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Aim-TTi TG2511A through the TestFlow desktop app, and writes the report from the measured results.
Your next test, automated today
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.