LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing OpenG despite being installed

Solved!
Go to solution

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.

0 Kudos
Message 1 of 9
(2,958 Views)
Solution
Accepted by Lil_MAC

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

Message 2 of 9
(2,906 Views)

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.

0 Kudos
Message 3 of 9
(2,864 Views)

What OpenG tools have you installed ? 

 

Have you installed the OpenG Application Control Library ? 

 

What vi's are you missing ? 

0 Kudos
Message 4 of 9
(2,859 Views)

Here's the OpenG tools that I've installed

Lil_MAC_1-1684157758496.png

Check my first message in this thread for which VIs are missing, there's quite a few.

 

0 Kudos
Message 5 of 9
(2,854 Views)

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. 

 

 

0 Kudos
Message 6 of 9
(2,839 Views)

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.

Lil_MAC_0-1684161806658.png

 

0 Kudos
Message 7 of 9
(2,834 Views)

Have you any idear of what this addon should do in your program ?

 

0 Kudos
Message 8 of 9
(2,824 Views)

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.

0 Kudos
Message 9 of 9
(2,820 Views)