05-12-2023 09:31 AM
I'm attempting to work on an old labview project but I'm having issues getting OpenG to work. The old project seems to reference OpenG libraries but labview cant seem to find them even after installing OpenG Library 3.0.0.1 via NI Package Manager. Here are the references that are broken upon opening the main application vi:
error__wti_lib_application_control.lvclass
string__wti_lib_application_control.lvclassboolean__wti_lib_application_control.lvclass
_get multiple control reference by name__wti_lib_application_control.lvclass
get control reference by name__wti_lib_application_control.lvclass
error__wti_lib_application_control.lvclass:Destroy__wti_lib_application_control.lvclass
error__wti_lib_application_control.lvclass:ADD_VI_to_Waiting__wti_lib_application_control.lvclass
error__wti_lib_application_control.lvclass:Error_Create__wti_lib_application_control.lvclass
Fit VI window to Largest Dec__ogtk__wti_lib_templates.vi
ProcessError__wti_lib_application_control.vi
Globals__wti_lib_application_control.viGlobal VI Control__wti_lib_application_control.viLV error code description__wti_lib_application_control.viGet reference to all controls__wti_lib_application_control.viDequeue With Error__wti_lib_application_control.vi
The load then finishes with the Load and Save Warning List with one warning saying "Missing LabVIEW Tools Network Add-on(1-warning)", with missing components saying: "OpenG Libraries support for LabVIEW 2021 is missing."
I attempted directly installing from sourceforge per this recommendation https://forums.ni.com/t5/LabVIEW/How-to-install-OpenG-libraries/td-p/3350831 but this also didn't make a difference.
Looks like that fix sometimes works per https://forums.ni.com/t5/LabVIEW/Getting-error-missing-OpenG-but-already-installed/td-p/4131132 but the lack of detail in their solution doesn't hint to any game changing strategies.
I can't seem to find the reason these aren't loading. Any help is appreciated, thanks.
Solved! Go to Solution.
05-12-2023 02:55 PM
For more than 15 years, I've been installing OpenG by installing the OpenG Toolkit (currently at version 4.0.1.9) using VIPM, not NIPM. VIPM, or VI Package Manager, or the LabVIEW Tools Network, has been bundled with LabVIEW for a long time, and can also be downloaded from www.vipm.io.
Bob Schor
05-15-2023 08:04 AM
I uninstalled OpenG from NIPM and installed OpenG in VIPM (after running as administrator, otherwise VIPM would just crash with no error/warning) and that fixed the "missing OpenG" errors!
I was expecting OpenG to also fix the myriad of missing vi errors but they're all still there. Is there something I need to do with OpenG to generate the missing VIs or are these two unrelated problems?
I've never used OpenG myself.
05-15-2023 08:28 AM
What OpenG tools have you installed ?
Have you installed the OpenG Application Control Library ?
What vi's are you missing ?
05-15-2023 08:36 AM
Here's the OpenG tools that I've installed
Check my first message in this thread for which VIs are missing, there's quite a few.
05-15-2023 09:24 AM
Can you see where it tries to load the missing classes from ?
I can't find anything on wti_lib_application_control that seems to be the missing addon.
05-15-2023 09:43 AM
It's trying to load them from some addon called _WTI.lib, I can't find any information online about what that addon is or where it comes from.
05-15-2023 10:14 AM
Have you any idear of what this addon should do in your program ?
05-15-2023 10:35 AM
Looks like it manages the internal state of the program: keeping track of errors, managing event queues, global values, etc. It seems like a swiss army knife of a addon that manages many aspects of the program, and as such is quite deeply involved in most/all aspects of the code. It'll be quite a project to remove all these broken dependencies and re-implement them. I'll probably make a new topic specifically for this mysterious addon in the hopes somebody that uses the addon will see the topic.