NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Customize TestExec.exe Login Prompt

I am using the "Simple" Test Executive (TestExec.exe) that NI provides to run Test Stand.  When I open the TestExec.exe the "Login" window pops up (please see attached file).

 

I want to replace this "Login" window with a custom dialog box I created in LabVIEW as a VI.  I opened up the project file (.lproj) for the TestExec.exe but I cannot find where this "Login" window gets called.

 

How can I replace it with my own custom dialog box?

 

Thanks so much!

0 Kudos
Message 1 of 3
(2,160 Views)

When the application manager calls the Start method your front end callback is being executed.  The front end callback contains a sequence called loginlogout and that is what is calling the dialog you see.

 

If you want your own functionality I recommend looking at these links:

https://zone.ni.com/reference/en-XX/help/370052W-01/tsfundamentals/infotopics/callbacks_frontend/

https://forums.ni.com/t5/Example-Programs/Customizing-the-TestStand-Login-amp-Logout-Procedure/ta-p/...

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9rySAC

 

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(2,150 Views)

That window isn't controlled by TestExec.exe.  It's controlled by FrontEndCallbacks.seq.  On my system, it's located here:

C:\Users\Public\Documents\National Instruments\TestStand 2017 (64-bit)\Components\Callbacks\FrontEnd\FrontEndCallbacks.seq

 

It should look like the login.png attachment

 

In the loginlogout_by_hand.seq ‏from the forum below, that shows steps for how to get a new user and "enter" the password.

https://forums.ni.com/t5/NI-TestStand/How-to-pass-username-to-frontend-callback-in-TestStand/td-p/61...

 

You can make a LabVIEW VI that executes those steps and gives you the look/control that you desire.

 

Pulido Technologies LLC

0 Kudos
Message 3 of 3
(2,148 Views)