NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom UI

Solved!
Go to solution

Hi everyone,

I’m developing a custom TestStand step type and exploring ways to provide a custom configuration panel for it.
Currently, I’ve built a Qt-based DLL (using ShowSettingsPanel() in C++) that opens a popup dialog for step configuration.

I understand that TestStand allows configuration UIs through ActiveX, .NET, or CVI DLLs via the Edit Tab Controls feature. However, I’m wondering if it’s technically possible to embed a custom UI (like a Qt panel) directly inside the Step Settings tab (similar to how the built-in “Call Executable” or “Message Popup” steps show their controls).

0 Kudos
Message 1 of 9
(242 Views)

Can't ultimately really answer your question, yet you can find the source code for the built-in steps / step settings in the subfolders of %TestStand%\Components\StepTypes.

 

Maybe this helps

0 Kudos
Message 2 of 9
(236 Views)

Thank you for your reply!
I’m currently exploring the approach you suggested by checking the source code under the %TestStand%\Components\StepTypes subfolders.

0 Kudos
Message 3 of 9
(234 Views)

You need to build the Edit Tab for the custom step in WinForms only.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 4 of 9
(210 Views)

Thank you for your reply.
As of now, using the Edit Tabs option in my custom step type, I’m able to add a tab and include a button inside it — which I can use to launch my configuration dialog.

So does that mean using .NET WinForms, it is actually possible to make a fully embedded configuration tab (with controls directly inside the tab) — similar to the built-in steps like Call Executable or Message Popup?

0 Kudos
Message 5 of 9
(201 Views)
Solution
Accepted by Nowful

Yes, you can build complex Edit Tabs using WinForms.

 

Please refer to Creating Custom Step Type Edit Tabs in the Sequence Editor - NI

 

and here is the example code https://download.ni.com/evaluation/teststand/customstepeditpanel.zip 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 6 of 9
(179 Views)

Thank you for your reply, Santhosh.
I tried the method you suggested, but it’s showing an error. I’ve attached the error img here for your reference — could you please take a look and let me know what might be causing it?

Thanks in advance!ff117eef-7bfa-4967-99e6-815367809825.png

 

0 Kudos
Message 7 of 9
(151 Views)

Hi Santhosh,

Thank you so much for your kind information and guidance. I was able to fix the issue, and it’s now working exactly as expected. I really appreciate your support and detailed explanations!

0 Kudos
Message 8 of 9
(142 Views)

@Nowful wrote:

Hi Santhosh,

Thank you so much for your kind information and guidance. I was able to fix the issue, and it’s now working exactly as expected. I really appreciate your support and detailed explanations!


Please share the issue and fix so that anyone trying to replicate is also benefitted. 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 9 of 9
(131 Views)