LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VIs immediately tagged dirty on open

Solved!
Go to solution

If all I do is open a VI- I don't even click the mouse, change views or ANYTHING, it gets the asterisk in the title showing it has been changed.  But nothing has changed. 

 

How do I stop this behavior which includes asking me if I want to save on close?

0 Kudos
Message 1 of 16
(3,469 Views)

Do you have the "Seperate From Compiled" turned on for the VI?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 16
(3,466 Views)

I've never set that property, so it is set to whatever is the default value.

0 Kudos
Message 3 of 16
(3,463 Views)

Then that is likely your problem.  If something in a subVI changed, that would cause this VI to have to recompile, therefore causing a change in the file.  If you have the seperate from compiled turned on, then the compiled code is not saved with the source code and you will not need to resave just due to a subVI changing.

 

There is an option to have it on be default.  I highly recommend using that.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 16
(3,457 Views)

I haven't changed anything in a sub-vi.  I start LabVIEW open a sub-vi and it is tagged dirty.

0 Kudos
Message 5 of 16
(3,455 Views)

What does "List Unsaved Changes" say?

0 Kudos
Message 6 of 16
(3,411 Views)
How to Check "List Unsaved changes"?
-----

The best solution is the one you find it by yourself
0 Kudos
Message 7 of 16
(3,363 Views)

Hi PAnand,

 

close the subVI without saving it before. Then LabVIEW will ask you for saving with presenting a dialog where you can "check for unsaved changes"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 16
(3,356 Views)

@GerdW wrote:

Hi PAnand,

 

close the subVI without saving it before. Then LabVIEW will ask you for saving with presenting a dialog where you can "check for unsaved changes"…


Thanks Gerd I never noticed before.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 9 of 16
(3,350 Views)

P@Anand wrote:
How to Check "List Unsaved changes"?

Also in the VI Properties window is a "View Unsaved Changes" button.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 10 of 16
(3,328 Views)