02-23-2011 10:05 AM
Hello there,
I know there's already a thread with that topic, but it does not cover my problem. I use LV9SP1 and some LVOOP classes which get loaded dynamically with "Get LV Class Default Value". I came into trouble when deploying my application as an exe. "Get LV Class Default Value" returned error 1498 when running from deployed application. I tried a lot of things until I found out the supposed reason for the error.
I make the following assumption: If a LV class has a dependent VI which is part of a LVLib then "Get LV Class Default Value" will fail when running from a deployed application no matter if the dependant LVLib is also deployed and put to a location where it can be found by the LV class. Please correct me if I am wrong.
To make it more clear I try to give an example:
Given
- classA.lvclass with method do_something.vi
- some_other.vi from libA.lvlib
- all VI's from libA.lvlib are in same folder as classA.lvclass
- no other dependencies
Result: "Get LV Class Default Value" will fail with 1498
Given
- classA.lvclass with method do_something.vi
- some_other.vi in same folder as classA.lvclass but not part of a lvlib
Result: "Get LV Class Default Value" will succeed
Additional info:
- the compiled exe do not contain classA.lvclass nor some_other.vi. Exe is also same location (everything is in same folder)
regards
Thomas
02-28-2011 04:45 AM
Nobody here who care or know if I am right or not, is this a bug, a feature ... ???
08-30-2011 04:02 AM
Have you found a solution for that?
08-31-2011 12:42 AM
No solution found. A LV class cannot be loaded when it has dependecies to some VI belonging to a lvlib. I have rearranged my code to bypass this.
08-08-2024 08:44 AM
12 years later here I am... Wondering if this is solved somehow
08-08-2024 09:43 AM - edited 08-08-2024 09:44 AM
Maybe these links can help:
https://forums.ni.com/t5/LabVIEW/Get-LV-Class-Default-Value-Error-1498/td-p/1129973
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004AoESAU&l=en-US
Regards,
Raphaël.