LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

*.vi has unsaved changes, how to solve this ?

I have an existing test.vi file from other people, when I open the test.vi, I got warning message as below :

shengwuei_0-1708996342883.png

 

the test.vi runs just normally, but when I close the test.vi, I got message as below :

shengwuei_5-1708996480700.png

 

 

and if I click save, I got :

shengwuei_6-1708996562540.png

shengwuei_4-1708996462376.png

 

and if I click OK it just got back to the previous window :

shengwuei_6-1708996562540.png

 

so the only choice to me is to clock don't save

but in this case every time I open the test.vi I see the same message again and again, how to solve this ?

 

Thanks.

 

0 Kudos
Message 1 of 8
(477 Views)

Most likely the VIs were saved in an earlier version of LabVIEW and you open them using a newer version of LabVIEW. One way is to Mass Compile so that all VIs are saved in the current version of LabVIEW.

As for the permission error, most likely the VIs reside in a directory where LabVIEW does not have the permission to write. You can try to move the project to another directory, or run LabVIEW as admin.

 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 8
(443 Views)

Hi ZYOng,

 

One way is to Mass Compile

move the project to another directory

run LabVIEW as admin.

>> all of the above three suggestions were done but the probelm is still the same, thanks.

 

0 Kudos
Message 3 of 8
(416 Views)

The first screen shows a conflict.  Solve this conflict and likely your issue goes away because it is no longer pointing to the file you cannot save.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 8
(398 Views)

Hi billko,

 

I am new to Labview and may need some more guidance. 

 

From the warning message, Labview tells me the "CsLv_FreeSystem.vi" was loaded from a new path :

C:\Program Files(x86)\National Instruments\LabVIEW 2023\user.lib\Gage\CsLv.lib\), rather than the original path :

C:\Program Files(x86)\Gage\CompuScope\CompuScope LabVIEW SDK\CsLv\.

 

And I believe the "CsLv_FreeSystem.vi" file on both locations are correct, either one would be fine, I do not understand what's the conflict you are meantioning about.

 

Also, I do not understand what's the relationship between the "CsLv_FreeSystem.vi" and the "CsTool-ErrorHandler.vi", is "CsTool-ErrorHandler.vi" called from "CsLv_FreeSystem.vi" ?

 

what's the exact steps to solve the conflict ? Thanks.

 

0 Kudos
Message 5 of 8
(385 Views)

@NateWang wrote:

Hi billko,

 

I am new to Labview and may need some more guidance. 

 

From the warning message, Labview tells me the "CsLv_FreeSystem.vi" was loaded from a new path :

C:\Program Files(x86)\National Instruments\LabVIEW 2023\user.lib\Gage\CsLv.lib\), rather than the original path :

C:\Program Files(x86)\Gage\CompuScope\CompuScope LabVIEW SDK\CsLv\.

 

And I believe the "CsLv_FreeSystem.vi" file on both locations are correct, either one would be fine, I do not understand what's the conflict you are meantioning about.

 

Also, I do not understand what's the relationship between the "CsLv_FreeSystem.vi" and the "CsTool-ErrorHandler.vi", is "CsTool-ErrorHandler.vi" called from "CsLv_FreeSystem.vi" ?

 

what's the exact steps to solve the conflict ? Thanks.

 


It's actually the opposite - CsLv_FreeSystem.vi is being called from CsTool-ErrorHandler.vi.  The location of CsLv_FreeSystem.vi changed, causing CsTool-ErrorHandler.vi to recompile and need to be saved.  This is a very bad situation because a file in one library now depends on a file in another.  Delete the Gage folder from either place and then accept all the dependency changes.  I could make a case for either folder to win over the other, so it's your choice.  Maybe someone else here has a different opinion?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 8
(360 Views)

Hi billko,

 

If I delete the below folder and accept all dependency

C:\Program Files\Gage\CompuScope\CompuScope LabVIEW SDK

 

I got this error and have no idea how to fix it :

(I actually know the location of "cs_1c.vi")

NateWang_0-1709123252126.png

 

and if I delete the below folder and accept all dependency

C:\Program Files (x86)\National Instruments\LabVIEW 2023\user.lib\Gage

 

I got the below error :

NateWang_1-1709123458804.png

NateWang_2-1709123491538.png

 

I am new to Labview and any suggestion would be really appriciated, thanks.

 

 

0 Kudos
Message 7 of 8
(338 Views)

Hi Sir,

 

It seems I had solved the problem by adding full control authority of "User", thanks.

 

NateWang_0-1709172270979.png

 

0 Kudos
Message 8 of 8
(314 Views)