The SP Scientific THJ80 and ThermoJet ES thermal forcing system is controlled remotely with SCPI commands. TestFlow's instrument library holds 62 commands for it, 31 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 THJ80 on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your SP Scientific THJ80 or ThermoJet ES 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 SP Scientific THJ80's VISA address
# Paste the address of your SP Scientific THJ80 (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("SP1-80.0") # Set Setpoint
print(inst.query("?SP")) # Read Setpoint
inst.close()Describe the test; TestFlow's agent uses this command set to drive your SP Scientific THJ80 or ThermoJet ES and writes the report from the measured results.
Describe the test in a sentence, for example “set setpoint on the THJ80, then read setpoint 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.
62 commands in 25 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The THJ80 and ThermoJet ES share this command set in TestFlow's library.
| Command | What it does | Arguments |
|---|---|---|
| ?SP | Read Setpoint. Reads the current temperature setpoint in °C. | None |
| ?PV | Read Temperature. Reads the system temperature in °C (DUT in DUT mode or nozzle in nozzle mode). | None |
| ?TA | Read Air Temperature. Reads the nozzle (air) temperature in °C. | None |
| ?TD | Read DUT Temperature. Reads the DUT temperature in °C (returns 999 when not in DUT mode). | None |
| ?AF | Read Airflow Setpoint. Reads the airflow setpoint. | None |
| ?SK | Read Soak Setpoint. Reads the soak timer setpoint in seconds. | None |
| ?ST | Read Soak Timer. Reads the running soak timer in seconds. | None |
| ?WL | Read Window Limit. Reads the window limit. | None |
| ?TC | Read Control Mode. Reads the control mode (0 air or 1 DUT). | None |
| ?DA | Read Purge State. Reads the purge state (1 on or 0 off). | None |
| ?HP | Read Head Position. Reads the head position (0 up or 1 down). | None |
| ?HK | Read Head Lock. Reads the head lock state (0 unlocked or 1 locked). | None |
| ?MS | Read Manual Status. Reads the manual status (0 not manual or 1-3 active manual setpoint). | None |
| ?CY | Read Program Cycles. Reads the number of program cycles. | None |
| ?HL | Read Program Hold. Reads whether the program is holding (1) or running (0). | None |
| ?PI | Read Program State. Reads the program status (1 on or 0 off). | None |
| ?SI | Read Program Step. Reads the program step index (0 not in program; odd transitioning and even soaking). | None |
| ?PT | Read Program Temps. Reads program temperatures 1-8 as signed hexadecimal values. | None |
| ?PM | Read Program Ramps. Reads program ramp rates 1-8. | None |
| ?PS | Read Program Soaks. Reads program soak times 1-8 (divide by 10). | None |
| ?PR | Read Mode. Reads the operating mode (IDLE, MAN or PRO). | None |
| ?ME | Read System Status. Reads system status (1 idle, 2 transitioning, 3 soaking, 4 at temp, 5 defrosting, 6 holding, 7 auto-tuning, 8 initializing). | None |
| ?AL | Read Alarm. Reads the active alarm (None, AP low air pressure, TC open nozzle TC, DUT open DUT TC, AF low air flow, DEFR defrost). | None |
| ?RS0 | Read Manual Status String. Reads the manual status string (soak time, air/DUT temps, flow, status, setpoints). | None |
| ?RS1 | Read Program Status String. Reads the program status string (program on, cycles, hold, step). | None |
| ?RS2 | Read Utility Status String. Reads the utility status string (control mode, head position, head lock, purge, window, soak, ramp). | None |
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| TC0 | Control On Air. Selects control on the nozzle (air) sensor. | None |
| TC1 | Control On DUT. Selects control on the DUT sensor. | None |
| Command | What it does | Arguments |
|---|---|---|
| DA1 | Turn On Purge. Turns the dry-air purge on. | None |
| DA0 | Turn Off Purge. Turns the dry-air purge off. | None |
| Command | What it does | Arguments |
|---|---|---|
| HK1 | Lock Head. Locks the head. | None |
| HK0 | Unlock Head. Unlocks the head. | None |
| Command | What it does | Arguments |
|---|---|---|
| SP<Setpoint_Num><Temp> | Set Setpoint. Changes manual setpoint n (1-3) to the given temperature in °C (-80.0 to 225.0); manual mode only. | Number: 1,2,3; Number: -80.0,225.0 |
| Command | What it does | Arguments |
|---|---|---|
| AF<Flow> | Set Airflow. Changes the airflow setpoint in SCFM (5-20). | Number: 5,20 |
| Command | What it does | Arguments |
|---|---|---|
| SK<Seconds> | Set Soak Time. Changes the soak time in seconds (1-9999). | Number: 1,9999 |
| Command | What it does | Arguments |
|---|---|---|
| WL<Window> | Set Window Limit. Changes the at-temperature window limit (0.5-10.0). | Number: 0.5,10.0 |
| Command | What it does | Arguments |
|---|---|---|
| RR<Rate> | Set Ramp Rate. Sets the manual-mode ramp rate (0-999). | Number: 0,999 |
| Command | What it does | Arguments |
|---|---|---|
| AU | Head Up. Raises the arm (head). | None |
| Command | What it does | Arguments |
|---|---|---|
| AD | Head Down. Lowers the arm (head). | None |
| Command | What it does | Arguments |
|---|---|---|
| RM<Setpoint_Num> | Run Manual. Starts manual mode on setpoint n (1-3). | Number: 1,2,3 |
| Command | What it does | Arguments |
|---|---|---|
| CY<Cycles> | Set Program Cycles. Changes the number of program cycles. | Number |
| Command | What it does | Arguments |
|---|---|---|
| RP | Run Program. Begins running the stored program. | None |
| Command | What it does | Arguments |
|---|---|---|
| HL | Halt Program. Halts (holds) the running program. | None |
| Command | What it does | Arguments |
|---|---|---|
| CN | Continue Program. Continues a halted program. | None |
| Command | What it does | Arguments |
|---|---|---|
| ID | Go To Idle. Stops the current operation and returns to idle. | None |
| Command | What it does | Arguments |
|---|---|---|
| DF | Start Defrost. Begins a defrost cycle. | None |
| Command | What it does | Arguments |
|---|---|---|
| OFF | Shutdown. Requests shutdown mode. | None |
| Command | What it does | Arguments |
|---|---|---|
| SL | Remote Display On. Shows the remote-control screen on the touchscreen. | None |
| Command | What it does | Arguments |
|---|---|---|
| SU | Remote Display Off. Returns the touchscreen to the manual screen. | None |
| Command | What it does | Arguments |
|---|---|---|
| GP | Comm Test. Toggles the LED on the Command Set screen to verify communication. | None |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| Command | What it does | Arguments |
|---|---|---|
| *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 event registers and the error queue. | None |
| *TST? | Self Test. Runs the self-test and returns the result. | None |
| *OPC? | Operation Complete. Returns 1 when all pending operations are complete. | None |
| *ESR? | Read Event Status. Reads and clears the standard event status register. | None |
| *ESE <Mask> | Set Event Status Enable. Sets the standard event status enable mask (0-255). | Number: 0,255 |
| *STB? | Read Status Byte. Reads the status byte. | None |
| *SRE <Mask> | Set Service Request Enable. Sets the service request enable mask (0-255). | Number: 0,255 |
This reference is generated from TestFlow's instrument library, which is drafted from SP Scientific's programming documentation for the THJ80 and ThermoJet ES and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by SP Scientific's programming manual: check it before you rely on an edge case. Last updated September 23, 2026.
Yes. The SP Scientific THJ80 accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 62 SCPI commands for it: 31 queries that read values or state, and 31 settings and actions.
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?, SP1-80.0 and ?SP.
?SP (read setpoint). Reads the current temperature setpoint in °C. The full list of queries is in the command reference on this page, grouped by subsystem.
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 SP Scientific THJ80 through the TestFlow desktop app, and writes the report from the measured results.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.