NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Run batch file when TestStand launches

Solved!
Go to solution

I am dealing with a legacy test solution (TestStand 4.2.1) that I am trying to replicate in TestStand 19. The old system runs a batch file when TestStand is launched. I don't know how it's doing this, but I would like to replicate it in the new system. I have looked in all the places I can think to look (Windows and NI), but I'm missing something. Any idea how to find how this is done? Or how to replicate it in Windows 11? 

 

Thanks

0 Kudos
Message 1 of 3
(332 Views)
Solution
Accepted by CSPy

You could add that to the login entry point to do something at launch i.e., at login.

 

You will have to modify - <TestStand>\Components\NI\Callbacks\FrontEnd\FrontEndCallbacks.seq

 

https://www.ni.com/docs/en-US/bundle/teststand/page/modifying-front-end-callbacks.html

https://forums.ni.com/t5/NI-TestStand/Front-End-Callbacks-Other-Than-Login/td-p/4093680

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHQOCA4&l=en-US

 

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.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(328 Views)

Thanks, Santhosh. This was the info I needed. I was able to add a 'call executable' step to the sequence. I put it before the login step and it seems to work the way I was expecting. 

0 Kudos
Message 3 of 3
(306 Views)