r/LabVIEW • • 25d ago

TestStand in an AI world

Seen a lot of discussion around LabVIEW and AI. What are your thoughts about TestStand in the current environment? I've always heard about the power of TestStand and that you never want to make your own sequencer. Do you think this is still true? Why not just have AI create a Python sequencer? Endless integration with everything else and easy to add features/fix bugs.

7 Upvotes

18 comments sorted by

10

u/CarryTheBoat CLA/CTA 25d ago

I think you could have AI create a simple sequencer but it would struggle to create one as robust as teststand without knowing how to architect good software yourself.

You could use it as a tool to speed things up, but a non-software engineer would not be able to use it to write a sequencer on par.

1

u/Yamaeda 21d ago

How would you mix languages in Python? If one step is Python, the next LabVIEW, a couple of scripts and a C-DLL and some old-school command line program that only prints the result to the screen?

1

u/arob_ 21d ago

Use ai to make them all python 

1

u/Yamaeda 8d ago

Or use LabVIEW MCP to make all Python into LV.

1

u/shark_finfet 20d ago

can't test stand do that?

1

u/Yamaeda 9d ago

Run both? Yes, that's one of their big selling points.

1

u/Bitter_Worker423 20d ago

Why not just write a labview sequencer by hand? You get paid to write software, man up and do it. If you want to avoid work, go into a different line of work. Do whatever it is that you're good at or enjoy.

2

u/Big_Weekend_2440 25d ago

Im using pytest as an engine for my test recipes is working perfectly, search for pytest fixtures are similar to setup main cleanup process, even better doing cicd and product testing with the same library/api

1

u/Normal-Duck9025 25d ago

I’m curious what type of tests do you run? I mainly test power converters, so need to control scopes, daqs, e-loads, supplies, and generators.

Is pytest with AI worth my time investment if I already have a decent driver layer set up in LabVIEW and utilize DQMH?

1

u/Big_Weekend_2440 24d ago

Im doing testing on led drivers and controls, so Im using similar hardware (power supply, daq, loads, power meter, led analyzers) we have a main repository for our testers which still uses testsand with lv. But we are also doing reverse engineering to old legacy equipments that run on spaghetti code, this is where Im using AI to speed up the deliverables, and production is happy and impressed with the results on the refurbished code. AI is not doing everything…still… so all the architecture is planned by myself

2

u/Emilbon99 23d ago edited 23d ago

I think the future is more of a hybrid architecture. There are a lot of things you theoretically could quickly build yourself with AI, but it takes a long time to make sure (a) they provide a good user experience and (b) they are reliable, especially as demands increase.

I think the key is to make it possible to vibe code the high level, custom functionality while keeping the underlying substrate built for reliability. Keep critical control, safety interlocks, data saving, and essential DAQ processes built well, and then vibe code higher level sequences or one off integrations with devices that are non-safety critical.

Disclaimer, I work on Synnax (https://www.synnaxlabs.com/) so I am definitely biased. That said, it's been a monumental effort to build sequencers reliable enough to hotfire rocket engines and run 30 day endurance campaigns on electric generators. In that regard I have massive respect for the engineering behind LabVIEW, TestStand, Veristand, and other NI tools.

1

u/Killerlt97 3d ago

Big facts

3

u/engiNARF 25d ago

I'm not an AI fanatic, but I've seen first hand how hard making the business case for labview/teststand is in some organizations. My company's verification group completely dropped NI products a few years ago when you needed continuous subscriptions and never looked back. In a lot of organizations arguing for labview & teststand is even harder now that AI can make a good-enough facsimile for a swath of applications. This was obviously the case pre-AI but is much more of a problem nowadays. I lump labview in there too since the value proposition that an engineer may make to his or her manager (it's easy to build a reliable sequencer with testand) & management's arguments against it are largely the same (but I need to pay for it & need a specialist).

1

u/SASLV Champion 24d ago

Python sequencers already exist. https://pytestflow.com/

1

u/HamsterWoods 24d ago

I'm not familiar with other test sequencers. TestStand brings authentication and authorization, flow branching, a variety of execution models (sequential, parallel, and batch), integration with LabVIEW, Python and other languages, data archiving, and report generation. It can be configured for use in multiple languages. All these features would require quite an effort to re-implement.

1

u/Puzzleheaded_Base302 22d ago

when AI create test scripts, it is full of surprises, and false failure. either you review all codes, or you run so many tests to find all the issues.

if you create test scripts the old fashion way, you know exactly what is expected.

however, i think AI generated scripts although has a lot of issues, but still, it is so fast and save a lot of times.

1

u/Existing-Air-3422 19d ago

I would leverage TestStand as my main sequencer with Python modules in AI. Phasing out LabVIEW to free out resources, but maintaining the door open for anything AI cannot solve with Python.