r/LabVIEW • • 6d ago

TestStand w/ All Python?

Is anybody using TestStand with all Python or 90% Python / 10% LabView?

With the rise of AI, it seems like a very good approach to test development, but are there any downsides? The biggest one I can think of is that most of the libraries are not officially from NI. If speed or timing is an issue, that code could be run in LabVIEW.

https://github.com/ni/nitsm-python/tree/main

6 Upvotes

11 comments sorted by

3

u/SkorpzMVP 6d ago

100% TestStand and 0% Labview in my company, all in C#

1

u/shark_finfet 6d ago

I guess the benefit of C# is that NI supports it....

2

u/SkorpzMVP 6d ago

For all their instruments NI provides C or C# libraries, it works as well as labview.

10

u/BlackberrySad6489 6d ago

Pre AI but I have had TS systems with zero labview. The dev wrote everything in C and every step was a dll call. Worked just fine.

2

u/dtp502 6d ago

This is basically what we do except C#/dll.

We have very limited LabVIEW modules in Teststand.

1

u/YakAddict 6d ago

We used to use Labwindows/CVI with TS back in the day

3

u/RatioSome3015 6d ago

I believe it’s a good approach. It’s the best of both worlds. Gives an established test executive and flexibility of AI powered automation code with Python.

2

u/PragmaTest 4d ago

I’m not sure the benefit of mixing TestStand and Python. Once you’re using AI + Python with an ecosystem of free alternatives, what’s the draw?

2

u/Sad-Warning-5609 4d ago

Proven and reliable result processing plug-ins. Standard reports, DB connection handled in the background, offline result processing if network is not super stable. You also get a simple GUI without having to do anything (default testexec is not great, but it works). Friendly deployment tools (as in done through a GUI) Yes Python can do all that and there are other frameworks for sequencing tests that will handle the results and reports, but TestStand is just still familiar to a lot of people.

1

u/Sinusaur 5d ago

Excel VBA-based measurement and instrumentation takes the cake for me.

1

u/PXI_Master Intermediate 1d ago

TestStand + C# here.

But managing and justifying TestStand Deployment Licenses is an expensive hassle. For future systems we’ve been exploring moving to Python and either pytest or OpenHTF.