取消
顯示結果 
搜尋替代 
您的意思是: 

Missing OpenG despite being installed

已解決!
前往解決方案

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 積分
1 條訊息(共 9 條)
4,810 檢視
解決方案
接受者 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

2 條訊息(共 9 條)
4,758 檢視

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 積分
3 條訊息(共 9 條)
4,716 檢視

What OpenG tools have you installed ? 

 

Have you installed the OpenG Application Control Library ? 

 

What vi's are you missing ? 

0 積分
4 條訊息(共 9 條)
4,711 檢視

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 積分
5 條訊息(共 9 條)
4,706 檢視

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 積分
6 條訊息(共 9 條)
4,691 檢視

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 積分
7 條訊息(共 9 條)
4,686 檢視

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

 

0 積分
8 條訊息(共 9 條)
4,676 檢視

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 積分
9 條訊息(共 9 條)
4,672 檢視