07-04-2024 07:23 AM
I tried to install the OpenG libraries using VIPM, but after installation, all VIs are set to version 20.0 (in VI properties). When I mass compile them, they upgrade to version 24.0. However, after restarting LabVIEW, the version reverts to 20.0. I have tried selecting and deselecting "Separate compiled code from source," but it does not work. I want to upgrade all OpenG libraries to version 24.0 so that my project works correctly. Can anyone help me find a solution? Thanks.
Solved! Go to Solution.
07-04-2024 08:04 AM - edited 07-04-2024 08:05 AM
@Hatimelaiha wrote:
I tried to install the OpenG libraries using VIPM, but after installation, all VIs are set to version 20.0 (in VI properties). When I mass compile them, they upgrade to version 24.0. However, after restarting LabVIEW, the version reverts to 20.0. I have tried selecting and deselecting "Separate compiled code from source," but it does not work. I want to upgrade all OpenG libraries to version 24.0 so that my project works correctly. Can anyone help me find a solution? Thanks.
Your project should work regardless of whether you mass compile or not. In fact, mass compiling them to LV 2024 will make them incompatible with anything before that version.
So what about your project doesn't "work correctly"? Before we ask "how" to do something, it is usually more important to ask "why".
07-04-2024 08:08 AM
Thnaks for your response. But my project does not work if one of the Library VIs are saved in version 20.0. I get this error in Teststand in project and VIs that use openG library (specially openG variant): "LabView Project 24.0 could not be converted to runtime 24.1 " and "VI could not load in LabView runtime 24.1". when i masscompile the Libs my project works fine. But like i just said the OpenG libs keep returning to previous version
07-04-2024 09:10 AM
As Info: my project was working in LabView 2019. This Error happen after updating LabView to 2024. And this Errors is happening only in VIs using openG variant when the openG_variant.llb is in version 20.0
07-04-2024 09:35 AM
Are the files write protected?
07-04-2024 10:11 AM
No, they are not write protected. But when i open "openg_variant.llb" the VI version revert automatically to version 20.0 and when i want to close it it ask me to save it in 24.0. After save it if i open again the version is 20.0
07-04-2024 10:46 AM
Any chance you're saving them to a OneDrive/Google Drive/etc location and it's getting overwritten by something?
07-05-2024 02:06 AM
No, All my Libs are saved under "C:\Program Files\National Instruments\LabVIEW 2024"
07-05-2024 02:29 AM
@Hatimelaiha wrote:
No, All my Libs are saved under "C:\Program Files\National Instruments\LabVIEW 2024"
Maybe a user access control issue. Does your user account have the right to change, create or delete files under "C:\Program Files\National Instruments\LabVIEW 2024"?
07-05-2024 02:50 AM
yes, i have the right to change