LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Starting CVI IDE project file with parameters to make project build and application run

Solved!
Go to solution

Hi all, 

Is there a way to the following steps in CVI IDE without user explicit actions:

1. Build

2. Run the application. 

I mean, open a CVI project (*.prj file) from a shortcut, and trigger BUILD and then RUN commands. Or, immediately RUN, because it also builds the project.

 

Thanks for the support 

0 Kudos
Message 1 of 6
(3,480 Views)

In this page you can find available startup options for CVI: it appears that -run_then_exit is probably the best solution for your needs.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 6
(3,467 Views)

Thanks - I will definitely look into it and try 🙂 it really looks like the right thing for me  

0 Kudos
Message 3 of 6
(3,449 Views)

Hi again,

I'm creating a shortcut to a *.prj file, and edit the "target" with path to my *.prj in shortcut properties.

The target looks like that "path\to\target\project.prj -run" that doesn't seem to work for me, it just opens CVI project but doesn't build/run it. What do I miss here?

0 Kudos
Message 4 of 6
(3,431 Views)
Solution
Accepted by ArtB83

You have to create a shortcut to CVI itself, not to a project. The command line options are specific to CVI program and are not executed when it is launched automatically by a link to a project.

The CVI shortcut can then be edited adding the project name ant whichever supplementary option you want.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 5 of 6
(3,429 Views)

Yap, now it works 🙂 thanks

0 Kudos
Message 6 of 6
(3,416 Views)