02-01-2016 09:13 AM
Hi guys,
Thanks for looking at my post.
Basically i created labview code for autoexit labview if certain condition is not met. But the problem is each time before autoexit i am getting "SAVE CHANGE BEFORE CLOSING" window.
Is there is any way to avoid that window which autosave the labview before exit?
Thanks a lot
Solved! Go to Solution.
02-01-2016 09:14 AM - edited 02-01-2016 09:16 AM
Show your VI, or at least the relevant part.
EDIT: "Basically i created labview code for autoexit labview if certain condition is not met. "
Why do you need to "autoexit" the VI by the way? What is the benefit in this?
02-01-2016 09:16 AM
You're trying to exit LabVIEW completely? Why aren't you closing your VI instead? What's changing in your VI that makes it want to save changes in the first place?
We can't tell you much without seeing your code. Please include a Snippet of your code, or attach your VIs, so that we can better assist you.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-01-2016 09:20 AM
When it asks if your want to save changes, say 'yes'. It shouldn't come up next time.
02-01-2016 09:21 AM
Hi,
Thanks for your reply.
Please look at the attachment. I am comparing two name and two address. If anyone is wrong it will quit labview.
Thanks
02-01-2016 09:32 AM - edited 02-01-2016 09:33 AM
Ok, but why do you wanna quit LabVIEW? I can see there is a point to do it if you use a executable, but for a VI, what for?
For the saving thing, probably you modify something in the VI before running it, so LabVIEW is asking you to save it before quit...
EDIT: save your VI to your hard drive, and try it afterwards to quit it...
02-01-2016 09:32 AM
Hi,
Basically i am trying to load labview code in different systems. It compare given computer name to the name what i have given in the code. If the computer name is different it should exit labview automatically. (Basically this code is for security reason). But each time before exit labview i am getting "SAVE CHANGES BEFORE CLOSE" window which i dont want as it reduce security level.
Any solution please?
thanks
02-01-2016 09:36 AM
I would use an Executable to carry the application between PCs. Build an EXE from your VI.
When you copy this VI to another PC, do you save it there? Probably you just open it as a temporary file, from an email application? Therefore LabVIEW asks you to save it into the PC. If you use a VI, there is no such thing like "security". They can look into the block diagram, unless you lock it...
02-01-2016 09:48 AM
I think that will be better solution.
Thanks 🙂