AI test automation for lab instruments is software in which a language model turns a described test into instrument commands, runs them on real bench hardware, and reports the results. Tools differ in which instruments they reach and in what stops the model from sending a bad command or inventing a measured value.
13 articles · Updated November 24, 2026
Six ways to put a language model in charge of a bench in 2026, checked against each vendor's own documentation: what each one automates, what it costs, and what stops it from sending a bad command or inventing a number.
Three ways to put ChatGPT or Claude in front of a power supply or an oscilloscope, a correct script for each, the five ways LLM-written instrument code goes wrong, and the SCPI that keeps the bench safe.
Eight AI tools a hardware test engineer can use today, verified against each vendor's own page, ranked, priced, and grouped by the four jobs of the work: writing test code, driving instruments, analysing results, and wri
AI test automation for lab instruments means a language model does the authoring work an engineer used to do by hand: choosing the SCPI commands for each instrument model, ordering them into a test, and checking each reading against a limit. The instruments are the ones already on the bench, such as power supplies, oscilloscopes, DMMs, SMUs, and electronic loads, connected over VISA on USB, LAN, GPIB, or serial.
The same phrase is used for AI tools that test web and mobile software. That is a different category. This hub covers the hardware bench, where a wrong command can power a board at the wrong voltage.
The useful question is not whether a tool uses AI, but how much of the test it finishes. The comparison of six AI options for lab instruments checks each product against its vendor's documentation, and the no-code test automation guide covers eight tools that avoid code without using AI. One naming note: TestFlow (testflowinc.com) is a separate product from the Test Flow app inside Keysight BenchVue, as BenchVue Test Flow vs TestFlow explains.
Every AI bench tool sits somewhere on a four-stage workflow, and most cover only one or two.
Connect the instruments. The tool finds what is on the VISA bus and has to know each model's command set, not a sibling model's.
Describe the test. You name the instruments, set points, and limits, the way you would brief a colleague. The agent builds the automation from that description: a reviewable sequence of SCPI commands plus the code that runs it.
Run on the bench. The sequence executes on real hardware, reads each value, and compares it with its limit.
Get the report. Charts, PASS/FAIL per reading, and a verdict, all built from the measured values in the run's results.
A worked example shows the gap between stages. In the Keysight no-code guide, one sentence describing a 5 V to 3.3 V regulator check on an E36313A supply, a 34465A DMM, and an InfiniiVision 3000T scope becomes a ten-step workflow. Written by hand, the same test is about 55 lines of PyVISA, and the report still lives in someone's spreadsheet. TestFlow vs Python and PyVISA runs a similar check as a 104-line script and as one sentence, and says when writing the script yourself is still the better call. The TestFlow Agents page walks through the same four stages in the product.
An AI agent can safely pick commands, order steps, and carry a limit from a datasheet into a test. It must never invent a measurement, widen a limit to turn a FAIL into a PASS, or send a command nobody checked.
*RST, output 1 of a Keysight E36313A has a 10 A default current limit, so a script that sets only a voltage protects nothing. Set the current limit in the same step as the voltage.SYST:ERR? after every configuration block, and treat a scope's 9.9E+37 as a failed measurement, never as a reading.Controlling lab instruments with ChatGPT or Claude lists the five ways LLM-written instrument scripts go wrong and a SCPI safety checklist for every route. The guards differ by tool, as of October 2026:
| Failure | Guard | Where it exists |
|---|---|---|
| Invented measurement | Report built only from run results | TestFlow |
| Widened limit | Agent will not widen a limit to pass | TestFlow |
| Command outside a safe range | Server-side limits or allow lists | LabMCP; RsInstrument write policy |
| Command not in the instrument's set | Commands only from definition files | Keysight MCP Server |
| Failure ignored | Error check after each command | Keysight MCP Server; LabMCP generic SCPI server |
Three areas still sit outside these tools: most DAQ cards (TestFlow covers only a few NI DAQ and digital I/O devices through NI-DAQmx, and LabMCP's NI-DAQmx connector is marked simulated), hard real-time and HIL work, and production test executive features such as operator roles and results databases. The AI tools test engineers use covers each gap.
The options split on who picks the commands and what comes out at the end. Vendor tools give one brand a sequencer, an LLM writing Python gives you a script to check and own, MCP servers let a chat client drive instruments live, and a bench agent turns a description into a saved test with a report.
| Route | Examples | Instruments reached | Code | What you get |
|---|---|---|---|---|
| Vendor no-code app | Keysight BenchVue Test Flow, Keithley KickStart | Mostly the vendor's own | No | Exported data files, such as CSV and Excel |
| Vendor sequencer | Keysight PathWave Test Automation, built on OpenTAP | Any instrument with a plugin | Plugins in Python or .NET | Test plans and a results viewer |
| LLM writes Python | ChatGPT or Claude with PyVISA | Any you can script | You check and run it | A script, and any report you write |
| MCP server | Keysight MCP Server, R&S MXO AI Connect, LabMCP | One vendor's validated models, or simulated connectors | No, but needs an MCP client | A session, no test report |
| Bench agent | TestFlow | Catalog vendors plus most SCPI instruments added from the manual; a few NI DAQ devices | No; generated Python you can edit | PASS/FAIL per reading and a report from measured results |
Vendor tools win on a one-brand bench and on price. As of October 2026, BenchVue Test Flow is free and PathWave Test Automation has a free Community licence, while KickStart is sold per app, with the suite at $610 a year. The Keysight, Tektronix, and Rigol and Siglent guides rank six options each. For Rigol and Siglent, the vendors' own software sends commands but does not sequence a multi-instrument test or write a report. Within Keysight's range, see BenchVue alternatives and PathWave alternatives.
MCP servers carry a repeatability cost: the model chooses each command during the conversation, so the same request can produce a different sequence on a different day. Teams already paying for NI software also have Nigel AI, which creates VIs in LabVIEW and sequences in TestStand under an NI licence with an active service agreement. How an agent sits next to those incumbents is covered in TestFlow vs LabVIEW and TestFlow vs TestStand.
Evaluate the tool on your own bench with one real test you already run, then score it on five checks.
Reach. Does it drive every instrument on that bench, including the odd vendor and model? Check the supported instruments list or the vendor's equivalent first.
Guards. What stops an out-of-range set point, and does the tool read the error queue after each block?
Provenance. Can every number in the report be traced to a reading in the run's results?
Review and ownership. Can you read the exact SCPI before a run, and keep the code afterwards?
Repeatability. Run the same test twice. A saved workflow should send the same commands both times.
Then weigh the incumbent. If the team runs LabVIEW or TestStand, the realistic question is whether the new tool sits next to them or forces a rewrite. Best test automation software compares the wider field, and automated test report generation covers the traceability a report needs. The video tutorials show an agent on real benches, including Keysight, Tektronix, and Chroma instruments testing a TI device.
TestFlow builds AI agents for electronics testing: you describe the test, the agent builds the automation, drives the lab instruments, and writes the report from the run's own results. It is vendor-agnostic across instrument makers and works alongside LabVIEW and TestStand rather than requiring a rewrite. Bench runs go through the Windows desktop app, and the web app builds and simulates. Its DAQ card coverage is limited to a few NI devices, and it is not a full test executive: there is no operator and user management and no database connectivity yet. Plans are on the pricing page.
Start here when you are comparing products for a real bench.
Side-by-side comparisons with the tools most labs already own.
Vendor-by-vendor guides with SCPI checked against the programming manuals.
Earlier posts on agents outside the bench and on the validation problem.
In electronics testing, AI test automation is software in which a language model turns a described test into instrument commands, runs them on bench hardware, and reports the results. Tools cover up to four stages: connecting the instruments, describing the test, running it, and building the report from measured data. The same phrase also describes AI tools that test web and mobile software, which is a separate category.
Tektronix sells Keithley KickStart, no-code Windows apps that set up tests, collect data, and plot it across up to eight Tektronix and Keithley instruments. It is priced per app, with the suite at $610 a year as of October 2026. For scripting, the free TSP Toolkit extension for VS Code covers Keithley TSP, and tm_devices is Tektronix's free Python driver package. All three target Tektronix and Keithley hardware.
NI's software roadmap, checked in October 2026, marks "Nigel has local MCP Server interfaces" as released. Nigel is the AI assistant inside NI's software: in TestStand 2026 Q3 it creates sequences from a specification document, and in LabVIEW 2026 Q3 it creates VIs from a prompt. Access needs a valid NI licence plus an active software service agreement, and usage limits apply per user.
It depends on the job. Claude or ChatGPT read manuals and draft code, GitHub Copilot writes test code in the editor, NI Nigel AI works inside LabVIEW and TestStand, and Keysight and Rohde & Schwarz MCP servers drive their own instruments. TofuPilot analyses production test data, and TestFlow builds, runs, and reports a test on a mixed-vendor bench. No single tool covers all four jobs equally well.
Not from a browser tab. Neither can reach a USB, LAN, or GPIB instrument on its own. There are three routes: the model writes a PyVISA script that you check and run, the model drives instruments through an MCP server on the bench PC, or an AI agent built for the bench turns the described test into a saved workflow. Every route needs software on the bench PC.
Only if its design stops it from writing them. A language model asked for a test report will produce plausible numbers whether or not a run happened, so the report must be built from the run's results file. Check that the agent writes limits but never measurements, cannot widen a limit to make a test pass, and treats failed readings such as a scope's 9.9E+37 as errors.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.