06-17-2016 12:45 PM
I'm having problems executing aVI asynchroniosly ina built exe, it works fine the the development enviroment.
(This wire isn't broken in LabVIEW, only when creating the snippet, is this maybe also a side effect of my problems?
Solved! Go to Solution.
06-17-2016 12:54 PM - edited 06-17-2016 12:58 PM
The VI snippet thing is just there because the snippet doesn't understand inheritance with your class, so don't worry about that.
I don't see a reason for your dynamic loading to fail as executable. Have you tried a mass compile of your entire project? You can find this at Tools > Advanced > Mass Compile.
I'm assuming you're running the executable on the same computer as the developement environment?
This thread has some interesting things you can try.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
06-17-2016 01:52 PM - edited 06-17-2016 01:54 PM
Thanks for the reply.
I've tried the clear complile cache and a mass compile and still no luck. I'm not using any .net or dll calls or anything special.
06-17-2016 02:38 PM
Two questions about your Error Message. I can't figure out what an Error of Type 2208 means -- LabVIEW says this error code is undefined, yet it shows it to you. The other question is what version and "class" of LabVIEW are you running? [By "class", I mean "Base", "Student", "Full", "Professional", or possibly something else]. Sometimes (rarely?) the Error Message Gives You a Clue.
Bob Schor
06-17-2016 05:19 PM
Hi It's the professional edition.
06-17-2016 05:23 PM
06-17-2016 05:27 PM
06-17-2016 05:42 PM
I've norrowed it down the the "Publisher ref" control, that's what's causing all of my problems. I'm yet to work out exactly what's wrong with it.
06-17-2016 05:45 PM
Turns out that VI wasn't in the libray/class. Added it and rebuilt and all working fine.