05-08-2026 01:54 AM
Dear all,
I'm creating a custom user interface using Teststand 2026 Q1, based on the simple user interface example in C#. My goal is to have a button to start the test, without the user having to select which test steps are being used. Since I'm basing myself on the 'Sequential Model', the behavior would be the same as the 'Test UUTs' button in the Sequence Editor.
However, in C#, I can't seem to get a button to do that. I can create a button to run the main sequence, by coupling the button with the following code:
Solved! Go to Solution.
05-08-2026 02:31 AM
Have you tried CommandKind_RunEntryPoint and parameterize it to use TestUUTs?
https://www.ni.com/docs/de-DE/bundle/teststand-api-reference/page/tsuiref/commandkinds.html?srsltid=...
https://www.ni.com/docs/de-DE/bundle/teststand/page/building-a-teststand-ui-net.html?srsltid=AfmBOop...
05-08-2026 03:09 AM
Dear Oli,
Thank you so much! I didn't know about this mechanism, but it actually works! With the added bonus that this is not an ax-connected button, so I can control the caption and the icon as well.