LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open vi reference problems in labview 7 after building an application

I have a vi with an Open VI Reference vi in it.
This works fine. But when I build an application of it and run the vi it gives problems.
I get an Open VI Reference error. Why?
0 Kudos
Message 1 of 6
(2,957 Views)
If you have strict typedefs for the dynamic loaded VIs you need to include the line "BldApp.RemovePolyVIsandTypedefs=False" into your LV ini file. See this discussion.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 6
(2,957 Views)
Are you taking into account that the path to a VI is different in a built app?
0 Kudos
Message 3 of 6
(2,957 Views)
Dennis,

I always forget this because it is so self-evident (I hope the word is right) for a experienced programmer.
You should send me a bomb if I do it again.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 4 of 6
(2,957 Views)
If I had a dollar for all the things I forget and assume each and every day, I could retire soon. One of the hardest thing about this forum is judging the experience level of the person posting the question.
0 Kudos
Message 5 of 6
(2,957 Views)
Hi Richard,
Please take a look at the following documents:

Error 1003 When Using VI Server in a LabVIEW Application

Cannot Call SubVIs Dynamically that Are Not Included with LabVIEW Executable

I hope these documents help. If not, please provide more info on what error you are getting.

Feroz
National Instruments
0 Kudos
Message 6 of 6
(2,957 Views)