02-04-2019 10:38 AM
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!
02-04-2019 11:32 AM
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://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9rySAC
Hope this helps,
02-04-2019 11:35 AM
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.
You can make a LabVIEW VI that executes those steps and gives you the look/control that you desire.