LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find running LV instance version

 

If try to open LV12 vi in LV9, it warns File version is later than current LV version. I would like to warn same way when try to open LV9 when LV12 instance is already running. That is Trying to open file in later version - continue , discard? What is the vi should I use to create a warning like this?

 

 

0 Kudos
Message 1 of 6
(3,045 Views)

Hi

 

you can use the property node for Application. select version number property of application and get the version number of current application which is running.

 

bt, i am not sure what you want to acheive. how do yo plan to use this information?

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 2 of 6
(3,044 Views)

Both LV9, LV12 installled on the same machine.

 

Yesterday I last worked on LV9 project and shut down the system.

 

Today morning I tried to launch LV12 project and work. It warns File version is later than current version along with Getting started window of LV9.

This is OK scenario. I understand LV9 cannot open LV12 files. So I launched LV12 and opened the project again. No Issues.

 

In mid of the day if I have some issues reported and try to correct the LV9 project files, hastenly if I opened the LV9 project and corrected and saved, built EXE and sent to client where My client system have LV9 run-time installed only. There is an issue.

 

If suppose LV warns that you are trying to open the Older version file in Newer version then I will get alerted and launch LV9 and open the project , do corrections, build EXE and I will send safe, right.

 

That is why I wished to warn this way "when try to open LV9 when LV12 instance is already running. Trying to open file in later version - continue , discard?"

 

Hope that my issue is clear now. 

 

Thanks,

 

Kousy

0 Kudos
Message 3 of 6
(3,019 Views)

Hi Kousy,

 

right now you get a warning, when you save your VIs with a more recent LabVIEW version!

As it also tries to save the full hierarchy it will tell you why it tries to do that: due to recompiling all those subVIs...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,012 Views)

Dear GerdW,

 

Yes, you are right. I forget Im getting warning actually. So I should be cautious while saving.

 

Thanks.

0 Kudos
Message 5 of 6
(2,978 Views)

There are several tools that can help you manage this a little more elegantly when opening VI files from the Explorer.

 

The LavaG forum has a thread about a possible tools, although it's commercial and their store seems not currently available here.

 

Two Open source solution exists too on LavaG here and here. It could certainly be extended with many extra features if you want.

 

 

 

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 6 of 6
(2,973 Views)