LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run PC_Main.vi and cRIO_Main.vi automatically

Solved!
Go to solution

I have my GUI on the PC an the data acquisition on my cRIO. My LabView project contains a main VI on the PC and a main VI on the cRIO. Until now, to start my program, I have to open the LabView project and then run each VI manually to make the whole program run. 

 

Compiling my program to an .exe is not an option as I'm basically changing something every day. What is the most comfortable way to start my program (with as few clicks as possible)?

0 Kudos
Message 1 of 3
(295 Views)
Solution
Accepted by UL-00

Hi UL,

 


@UL-00 wrote:

Compiling my program to an .exe is not an option as I'm basically changing something every day. What is the most comfortable way to start my program (with as few clicks as possible)?


When you want to run your "ever-changing" VIs inside the IDE then you need to run each VI "manually".

 

Once those changes are only to your host VI you may deploy an RTexe to your cRIO and set it to "start on cRIO startup". Your host VI/exe can connect to your cRIO RTexe using all the network communication functions you like to use…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(282 Views)

@UL-00 wrote:

Compiling my program to an .exe is not an option as I'm basically changing something every day. What is the most comfortable way to start my program (with as few clicks as possible)?


Since you haven't finalized your code and are still developing it, you can only open LabVIEW Development to run your changed code.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 3 of 3
(281 Views)