03-04-2008 12:42 PM - edited 03-04-2008 12:50 PM
03-05-2008 03:53 PM
03-05-2008 04:15 PM - edited 03-05-2008 04:22 PM
03-05-2008 04:19 PM
03-05-2008 04:26 PM
03-05-2008 04:41 PM
03-05-2008 04:46 PM
Yes, that does sound like what I was suggesting. I don't believe there have been any noticable loading changes in LVOOP classes from 8.2 to 8.5 in terms of loading method dependencies. But you can control through reorganizing child classes or Conditional Disable structures what compiled code gets loaded. You should be able to conditionally compile a built version of your code that doesn't try to load any drivers.
@billings11 wrote:Jarrod,Thanks for the response. Did the loading of lvclasses change between 8.2 and 8.5? I haven't tried it in 8.5, but in 8.2 if I run even one single method vi, the exe tries to load every dependency of every method vi in the entire lvoop class hierarchy. So unless I can somehow remove all method vi's or create an entirely seperate duplicate lvclass from top to bottom it will try to load the dependencies. I heard this may not be the case in 8.5.I think your second suggestion would work. I would have to actually go inside each Run Test method and disable the hardware functions there. That way even though it will load the entire lvclass it won't look for the drivers. Is that what you are basically suggesting?
04-18-2008 06:49 AM
Hi
But you can dynamically load a child class. I think that would solve your problem. If you first make sure you don't directly call any child class methods and then you write code to dynamically load the child class. Use the "Get LV Class Default Value.vi" to dynamically launch a child class using its path. Then use it through calls to dynamic dispatch VIs.
Thanks,
Jan
Endevo
04-18-2008 11:45 AM
04-21-2008 03:59 AM