LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling VI's with Application

I can now open other VI's while running my main VI (thank you those who helped
me with that 🙂 ). When I try to make it into an application, though,
I get "error 1 - possible reason: invalid input". My code is as follows:
VI Path Control -->Open VI Reference
-->Node Properties(front.open true)
-->Close Reference. This all works fine when running inside labview, but
the I can't build the application.
Thanks,
Derek
0 Kudos
Message 1 of 2
(2,679 Views)
Derek Hoiem wrote:

> I can now open other VI's while running my main VI (thank you those who helped
> me with that 🙂 ). When I try to make it into an application, though,
> I get "error 1 - possible reason: invalid input". My code is as follows:
> VI Path Control -->Open VI Reference
> -->Node Properties(front.open true)
> -->Close Reference. This all works fine when running inside labview, but
> the I can't build the application.
> Thanks,
> Derek

When you build an application the is added into the path,
so what would normally be say c:/labdir/app.llb/myVI.vi becomes
c:/labdir/app.llb/myApp.exe/myVI.vi (or some such anyway)
If you have hardcoded the path you need to go one level deeper to get the VI.
Kevin K
ent
0 Kudos
Message 2 of 2
(2,679 Views)