02-11-2009 10:15 AM
Hi.
I developped a very complex VI in order to acquire plant data from netDDE connection, perform manipulations as averages, display data on front panel, and also display digital camera images on front panel. This VI seems to work properly and We use it from long time. Anyway everytime I stop my test session and close Vi, Labview asks me to save the Vi.
If I save or not, the following time Vi runs properly.
Now my more generic question is: how to know the modification done on any Vi in order to decide if save modification or not?
Of course concerning my application it is not important at all if I save or not, but in order to have a "clean" software I would like to avoid that question Labview asks to me.
Thank you very much.
Antonio
02-11-2009 10:30 AM
Hi Antonio,
you can list the unsaved changes when closing a VI. If the VI appears as modified just after opening it it's likely that one of its SubVIs is still saved in an old LabVIEW version. A mass compile might help in this case.
Anyway, check the unsaved changes and go through them to see where the problem lies.
Hope this helps,
Daniel
02-11-2009 05:20 PM
02-12-2009 06:47 AM
Daniel, SMercurio: thank you for your answers.
I will try to make executable file.
Anyway just for a deeper understanding of Lv, please find attacched the changed list. AsYou can see only a cosmetic change has been done in front panel.
In my front panel there are two "image" objects: a jpg file representing plant sketch and image coming from digital camera. Even I accept to save changes, after opening the vi again and running it without changing anything, that "changed message" will appear when closing the Vi.
Any suggestion about what has happened?
Antonio
02-12-2009 09:07 AM
02-12-2009 09:11 AM
Dear Antonio,
SMercurio get the reason telling you to create an executable file.
However, in the LV enviroment, also small cosmetic modification cause the VI to prompting you asking a save file.
This is how it works and how it is conceived.
Matteo
02-12-2009 09:22 AM
02-12-2009 10:11 AM
More details if the discussion is interesting.
In all previous versions of my Vi, all is working properly and LV doesnt show me that message.
In the last version, that one we are discussing about, I added the image coming from a firewire camera. For some reasons camera acquisition procedure is performed by another Vi.
Then I used global variable to send frames to my complex data acquisition Vi.
It is the only difference i can notice. May the use of global variable be the cause of that "changed Vi" message?
Thank You
02-12-2009 10:58 AM
antonio ferrante wrote:... I added the image coming from a firewire camera. ...
I have seen issue with those imbeded object ofn FP causing this message. The CW 3d graph will do this asl well.
If you get rid of the image on the FP, does that illiminate the Q to save?
Ben
02-13-2009 07:20 AM
Yes, Ben.
Attached You can see a part of diagram I suppose to be responsible of change (it is marked by an arrow).
If i delete that while loop, Labview will not ask me to save changed Vi.
Now I suppose there is no solution for this problem, anyway I learnd something more about Labview.
Antonio