LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to launch and run a VI within a project from a single icon?

Solved!
Go to solution
I am trying to lauch and run a VI that must be opened with a project (has FPGA links, etc) directly from Windows without having to first open the project and then select the VI from within the project.  Basically I want it to behave as if the code has been deployed to an executable without having to build the executable.

Has anyone out there done this?  Is there an example of this available?


Thanks,
David R. Asher
Certified LabVIEW Architect since 2007
0 Kudos
Message 1 of 3
(3,583 Views)
Solution
Accepted by topic author David_R._Asher
Hello,
 
You have the option to open up a project programmatically using VI Server - so that would allow you to open up the VI, the VI then load the project, and then it could run the code as needed. I put together a small example that showcase how one can dynamically load the associated project.
 
 
Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

Message 2 of 3
(3,444 Views)

Jimmie, is there any chance you could post a 8.2.1 compatible version of the code, or a screendump?

I'd like to do the same as David but don't have 8.5.

I've had a look at the VI server stuff but it's not obvious what I need to do to get mine working.

 

thanks in advance

 

Dan 

0 Kudos
Message 3 of 3
(2,850 Views)