Topic hub

AI test automation for lab instruments, explained

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

Start here

  1. 01AI Test Automation for Lab Instruments in 2026 (6 Options Compared)

    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.

  2. 02Control Lab Instruments with ChatGPT or Claude in 2026 (3 Ways)

    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.

  3. 03Best AI Tools for Test Engineers in 2026 (Hardware and Lab)

    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

What AI test automation for lab instruments means

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.

The four-stage workflow: connect, describe, run, report

Every AI bench tool sits somewhere on a four-stage workflow, and most cover only one or two.

  1. 1

    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.

  2. 2

    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.

  3. 3

    Run on the bench. The sequence executes on real hardware, reads each value, and compares it with its limit.

  4. 4

    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.

What an AI agent can and cannot safely do on a bench

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.

  • •Provenance of measured values. A language model asked for a test report produces plausible numbers whether or not a run happened. The guard is structural: the report is built from the run's results file, and the agent writes limits but never measurements.
  • •Limits. If a 3.3 V rail must sit between 3.25 V and 3.35 V and the bench reads 3.37 V, moving the limit to 3.40 V is a fabricated pass. Deciding what the limit should be stays with the spec owner.
  • •Commands. After *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.
  • •Verification. Simulate first, drain 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:

FailureGuardWhere it exists
Invented measurementReport built only from run resultsTestFlow
Widened limitAgent will not widen a limit to passTestFlow
Command outside a safe rangeServer-side limits or allow listsLabMCP; RsInstrument write policy
Command not in the instrument's setCommands only from definition filesKeysight MCP Server
Failure ignoredError check after each commandKeysight 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 compared: vendor tools, Python with an LLM, MCP servers, and agents

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.

RouteExamplesInstruments reachedCodeWhat you get
Vendor no-code appKeysight BenchVue Test Flow, Keithley KickStartMostly the vendor's ownNoExported data files, such as CSV and Excel
Vendor sequencerKeysight PathWave Test Automation, built on OpenTAPAny instrument with a pluginPlugins in Python or .NETTest plans and a results viewer
LLM writes PythonChatGPT or Claude with PyVISAAny you can scriptYou check and run itA script, and any report you write
MCP serverKeysight MCP Server, R&S MXO AI Connect, LabMCPOne vendor's validated models, or simulated connectorsNo, but needs an MCP clientA session, no test report
Bench agentTestFlowCatalog vendors plus most SCPI instruments added from the manual; a few NI DAQ devicesNo; generated Python you can editPASS/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.

How to evaluate an AI test automation tool

Evaluate the tool on your own bench with one real test you already run, then score it on five checks.

  1. 1

    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.

  2. 2

    Guards. What stops an out-of-range set point, and does the tool read the error queue after each block?

  3. 3

    Provenance. Can every number in the report be traced to a reading in the run's results?

  4. 4

    Review and ownership. Can you read the exact SCPI before a run, and keep the code afterwards?

  5. 5

    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.

Where TestFlow fits

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.

Every article in this guide

Choosing an AI tool for the bench

Start here when you are comparing products for a real bench.

TestFlow against the incumbents

Side-by-side comparisons with the tools most labs already own.

Automating instruments without writing code

Vendor-by-vendor guides with SCPI checked against the programming manuals.

Background on AI agents

Earlier posts on agents outside the bench and on the validation problem.

Frequently asked questions

What is AI test automation?

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.

How does Tektronix help automate laboratory testing?

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.

Is there an MCP server for NI TestStand?

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.

What are the best AI tools for hardware engineers?

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.

Can ChatGPT or Claude control lab instruments directly?

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.

Can an AI agent be trusted with measured values?

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.

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.