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
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/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
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.
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.