LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Why doesn't LabVIEW Save All when I ask it to Save All?
Michael_Aivaliot...
post Jul 9 2008, 01:31 AM
Post #1


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2367
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


In a typical software application, when you perform a "Save All" action you would expect it to save all of your open documents or working files, right? Not so in LabVIEW. Apparently LabVIEW is not a typical application. Even though I ask LabVIEW to please save all my VI's. It doesn't. I can see that it doesn't because when if I open up a VI that is on the diagram of another visible VI, I see an asterisk in the titlebar indicating that the VI has unsaved changes. In LabVIEW 8.5.1 there are two "save all" menu items, one called "save all" and another called "save all (this project)". I've tried both and neither produces the expected results.

It's possible that the behavior of the "save all" has changed over the last four or five LabVIEW versions. In the past, the "save all" menu function would save ALL vi's in memory. Regardless if the front panel is visible or not. I'm thinking that this is not the case anymore and now LabVIEW only saves VI's with their front panel visible. An exception to this rule is that LabVIEW somehow remembers if you've opened a VI with unsaved changes and then closed it (without saving changes) thus actually saving it when you later perform a "save all".

Is all of this true? If so, then is there any way to perform the old-style "save all"?

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Jul 9 2008, 01:31 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
gleichman
post Jul 9 2008, 01:38 AM
Post #2


Very Active
***

Member
Posts: 85
Joined: 13-August 03
From: Plymouth, Michigan
Member No.: 151
Using LabVIEW Since:1993
LV:8.6 ,8.5.1 ,8.2.1
United States us_michigan Nothing Selected


Maybe this changed for better SCC compatibility?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
kevintho
post Jul 9 2008, 02:17 AM
Post #3


5 more posts to go!


Premium Member
Posts: 5
Joined: 5-September 05
From: Bay Area, CA
Member No.: 2918
Using LabVIEW Since:1995
LV:8.5 ,7.1 ,.
United States Nothing Selected Nothing Selected


I'm so glad you mentioned this. I thought I was loosing my mind. During project development, I typically create a "Load All" vi to make certain that all components are loaded into memory and quickly available while modifying code. The Load All vi also serves (or at least it used serve well in previous versions of LabVIEW) as a quick and convenient way to detect vi's that need to be resaved due to either explicit or inexplicit modifications. By closing the Load All vi in previous versions of LV, I would be prompted to save vi's needing to be re-saved. Now, in LabVIEW 8.5, I cannot simply "save all" to flush all changes to disk, nor does LabVIEW 8.5 prompt for saving vi's which do not have their front panels open. Now I have to actually open all of the vi's front panels to be sure that they are fully opened in order to ensure they are all up to date. I mentioned this odd behavior to a colleague and he thought I'd been smoking something or functioning in some altered reality. I see now, it is not me, its LabVIEW 8.5

Thanks,
KT



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Aristos Queue
post Jul 9 2008, 02:43 AM
Post #4


LV R&D Envoy
*****

NI
Posts: 1226
Joined: 15-August 06
From: Austin, TX
Member No.: 5877
Using LabVIEW Since:2000
LV:8.5.1 ,. ,.
United States Nothing Selected Nothing Selected My Gallery


No CARs have been filed matching the situation you describe. For the record, Save All should save all VIs in memory in all projects. Save All (this project) should save everything currently in memory in this project (note: it won't load VIs from disk that aren't in memory but are listed in the project). Any deviance from this behavior is a bug.

I've just run through a bunch of "Save All" tests on a few different hierarchies and I didn't see any problems. Is there any thing special about the particular VIs that aren't being saved? Can you post a set of VIs that demo the bug?

QUOTE (kevintho @ Jul 8 2008, 09:17 PM) *
nor does LabVIEW 8.5 prompt for saving vi's which do not have their front panels open.
I know this isn't true. I rely on that every day, and it works just fine... a VI need not have its panel open to generate the Save Changes dialog. Now, if you load a VI using Open VI Ref and then close the ref, you won't be prompted, but straight up closing the panel will indeed throw Save Changes.

Again, if you can post a VI hierarchy that demonstrates the bug, it would be most appreciated.

--------------------
"A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Michael_Aivaliot...
post Jul 9 2008, 04:40 AM
Post #5


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2367
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


QUOTE (Aristos Queue @ Jul 8 2008, 07:43 PM) *
Again, if you can post a VI hierarchy that demonstrates the bug, it would be most appreciated.

I can't post the actual VI hierarchy that I'm seeing this in, but I will try to extract some code to see if I can reproduce. Also, I see this behavior in various projects I work with so it's not isolated to one case. This has also been reported to me by other colleagues at JKI so at least I haven't been smoking LAVA weed or anything.

I have, however come across something else that might help. This behavior seems to only happen with the project environment. I tried opening the VI hierarchy alone without the associated project and the "save all" works as expected.

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ton
post Jul 9 2008, 05:56 AM
Post #6


CCT It
*****

Premium Member
Posts: 1337
Joined: 13-June 05
From: Woerden, Netherlands
Member No.: 2399
Using LabVIEW Since:2001
LV:8.5.1 ,6.1 ,8.2.1
Netherlands hol_utrecht Nothing Selected My Blog My Gallery


QUOTE (Michael_Aivaliotis @ Jul 9 2008, 03:31 AM) *
Not so in LabVIEW. Apparently LabVIEW is not a typical application.

Muhahahahaha

--------------------
Certified LabVIEW Developer
Shouldn't you be programming a Code Repository solution?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
PJM_labview
post Jul 9 2008, 06:31 AM
Post #7


Extremely Active
****

JKI
Posts: 612
Joined: 19-June 03
From: Bay Area, CA (USA)
Member No.: 121
Using LabVIEW Since:1998
LV:8.5.1 ,8.6 ,8.2.1
United States France Nothing Selected My Blog


I can confirm what Michael is seeing (not so much using the project environment) but for example when closing a VI tree. Very often doing a save all followed by an attempt to close LabVIEW result by a prompt asking me if I want to save a few more VIs...

PJM

--------------------

Got VIPM?

JKI . VIPM . EasyXML . OpenG . LAVA . Builder . Blog



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
silmaril
post Jul 9 2008, 07:45 AM
Post #8


Very Active
***

Member
Posts: 91
Joined: 7-March 07
From: Munich
Member No.: 7932
Using LabVIEW Since:2001
LV:8.6 ,8.5.1 ,7.1.1
Germany ger_bavaria Nothing Selected


Could this have something to do with the environment-option "Do not save automatic changes"?

--------------------
The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom.
Isaac Asimov


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 3rd December 2008 - 09:07 AM