VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Run an exe file at startup

Solved!
Go to solution

Hello,

 

Can Veristand launch an exe file with a startup routine? I have a PC Windows in which Veristand run and a Compact Rio target that run Linux 64.

I want to run a program in Wndows when deploy to the target. Is it possible? Thanks

0 Kudos
Message 1 of 3
(304 Views)
Solution
Accepted by topic author Guyverjack

There is no built-in way to start a Windows exe on deployment. 

One possible workaround is to create a bat file which Runs VeriStand Operations Using the Command Line

and your custom exe. 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 3
(282 Views)
Solution
Accepted by topic author Guyverjack

Similar to ZYOng's suggestion: You could write a LabVIEW program that called the VeriStand Project / Execution API to deploy the project and launch your executable at the same time.

 

Another variation you could do in LabVIEW is write a program that sat running in the background to detect project deployment (calling the "Open Workspace Manager Reference and looking for no error returned for example) and then run your executable based on that.

0 Kudos
Message 3 of 3
(259 Views)