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.
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.
04-29-2009 04:39 AM - edited 04-29-2009 04:40 AM
in a built 8.2.1 application? I have it working fine in the development environment but apparently the method "DefaultIstance" for the lvclass does not work in an application.....
Do I need LV 8.6?
Shane.
Solved! Go to Solution.
04-30-2009 04:55 PM
I'll take the lack of a response as a NO then.....
Shane.
05-01-2009 01:50 AM
05-01-2009 06:01 AM
Well there's a code snippet shown in the document I linked to which was released in conjunction with LabVIEW 8.20 if I remember correctly.
I didn't read anywhere that it only worked in the development environmant. Maybe I'm just doing something wrong?
Shane.
05-01-2009 06:09 AM
Hi Shane,
I used a LVOOP plug-in but did not use the construct illstrated but rather I used a "plug-in" class for my app that the exe knew about that had all of the public methods.
The Plug-ins where all children of that class and lust had to live in a floder the app knew about.
I'll look again at work to remind myslef how I got the plug-ins in.
Tomi's post on LAVA >>> LVOOP was my example.
Ben
05-01-2009 06:09 AM
05-01-2009 06:14 AM - edited 05-01-2009 06:16 AM
Oops I have it on this mahcine!
Get LV Class Default Value
Does that help?
Ben
05-01-2009 06:33 AM - edited 05-01-2009 06:36 AM
Thanks guys.
I'll try out dynamic loading of a static VI which returns the class constant. I can couple this to my "init" procedure so that the classes are ready to use at load-time.
For anyone else interested, here's the post which sorted me out.
Shane.
PS Thanks Ben, but that VI isn't available in LV 8.2.1. Only came in 8.5 IIRC.
05-01-2009 07:40 AM
Intaris wrote:Thanks guys.
I'll try out dynamic loading of a static VI which returns the class constant. I can couple this to my "init" procedure so that the classes are ready to use at load-time.
For anyone else interested, here's the post which sorted me out.
Shane.
PS Thanks Ben, but that VI isn't available in LV 8.2.1. Only came in 8.5 IIRC.
Message Edited by Intaris on 05-01-2009 06:36 AM
Yes thanks to Tomi who really made the diference in my app being successful.
For LV 8.5 and moving forward, the code I showed will serve as an example.
Sorry if it that is not available in 8.2.1. After fourteen versions of LV, it starts to get hard to rememeber which version had which functions.
Have fun!
Ben
04-29-2010 10:06 AM - edited 04-29-2010 10:07 AM
Intaris wrote:Thanks guys.
...
...
That link to Tomi's example is bad due to LAVA I crashing.
Here is a new link to that example on Expresion Flow.
Again thanks to Tomi Maila for teaching us.
Ben