From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Launching a VI Dynamically

Solved!
Go to solution

I'm attempting to launch a VI dynamically using VI server. The VI works fine when used within the LabVIEW developement environment (LV2010sp1) but throws an error 7 when built as an executable.

 

I've included the VI to be launched within the "Always Include" section of the build spec and believe I've adjusted my paths correctly to account for the differences between a VI and an EXE. What am I don't wrong here?

Download All
0 Kudos
Message 1 of 3
(2,232 Views)

Am not sure that you are keeping the dynamic vi's in a folder in the same application directory while creating exe. In not do that and in the exe call that vi from that directory then it should work fine.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(2,225 Views)
Solution
Accepted by topic author craige

Hi,

 

I think you haven't added the looper vi into the support directory. Check the image below.

 

afv.png

 

I think this must solve your problem. 🙂

 

Regards,
Nitz

(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved;)) 

Message 3 of 3
(2,220 Views)