LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get LV Class Default Value Error 1498 reloaded

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


- Thomas -
0 Kudos
Message 1 of 6
(3,243 Views)

Nobody here who care or know if I am right or not, is this a bug, a feature ... ???


- Thomas -
0 Kudos
Message 2 of 6
(3,212 Views)

Have you found a solution for that?

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 3 of 6
(3,109 Views)

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.


- Thomas -
0 Kudos
Message 4 of 6
(3,095 Views)

12 years later here I am... Wondering if this is solved somehow

0 Kudos
Message 5 of 6
(194 Views)
0 Kudos
Message 6 of 6
(185 Views)