Labview refuses to save my vi file

When I'm trying to save my *.vi file, I receive a message: "Cannot load diagram of *.vi", and forced to click on "Cancel save" button.
After clicking, another message appear: "LabView: Cannot load block diagram", and again, forced to click on "OK" button (no other buttons exist).
Additional info - Since last saving, I have added some Global variables.
Any help is welcomed.
Thank You,
Gil

there are a few potiential reasons for this.
The block diagram was removed intentionally.  This is sometimes done to save memory or preserve IP but you might have saved the vi without its block diagram on accident.  You cannot recover from this without a backup copy.
The block diagram is corrupted.  It happens rarely but a bit can flip in the wrong memory location and corupt the code.  Again without a backup from your source control you will not be able to recover
The vi protection properties may be set to Locked.  You can recover from this if there is either no password or if you know the password.  If there is a password and you don't know it you can try to hack it- but its a brute force effort!
Very unlikely, but your LabVIEW IDE could have become corrupted (in a rather specific way.)
So to troubleshoot we need some more info
A) can you create and save a new vi?
B) can you VIEW the block diagram of *.vi on your working PC?
C) can you open *.vi on another machine?
D) is the block diagram locked?  Look under VI Properties>Protection
Jeff

Similar Messages

  • TextEdit refusing to save files

    Since Safari has no "save as text" option, I've been cutting and pasting text into TextEdit. However, if the copied text contains even a single character not in ISO Latin 1, which is what all my software works in, it refuses to save the file until I paw through the text looking at every single character to find the one that's not ISO and delete it.
    Is there a hidden option somewhere in TextEdit to allow characters not in the character set to be ignored on save? (A warning is fine, but not "go to ****".)
    If there isn't, I'd appreciate advice on a different equivalent text editor that does what I ask it to do.

    johnsankey wrote:
    It's all the NON-Apple software I use - scientific graphing, math equation processors, word processors (WordPerfect), HTML 3.2 so people still running as old as Win3.1 can read my web pages ...
    Linc Davis wrote:
    I think the OP's problem is that he needs interoperability with other software that only supports ISO Latin. For some reason, he wants an editor that automatically deletes characters not belonging to that set. TE is obviously not such an editor.
    If this is the case would a text editor like TextWrangler be acceptable?  When you do a a "save as" operation in that editor it gives you the option to save the file in different encoding.  For example,

  • Report generation vi's-save report to file.vi

    I am a new user of LabVIEW. I'm using the Report Generation Toolkit VI's to do some customized reports.
    1. how can I stop the report from popping up on the front panel when I initialize the report to be done. I know you can use "minimized" but that takes a few seconds to minimize and I would like to NOT see the report I'm generating pop-up at all.
    2. I want use this customized report and constantly be saving data when a reset button is pushed. That is save the time stamp, the change in data etc on a continuous basis in 1 folder. Right now when I use the "Save Report to File. Vi" it over writes the previous data saved and all that data is lost. I need to be constantly saving all the data generated to be able to look back at it.
    Thanks.

    Hi shaef,
    Which version of LV and Report Generation Toolkit are you using?
    Assuming you are using LV 8.5 and RGT 1.1.2, then the attached screenshot should offer some help.  Basically, you need to wire in the existing file as your template in order to not just overwrite the old data.  You also need to make use of the series of 'Append' VIs that are in the toolkit.
    Let us know if this works for you,
    David_B
    Applications Engineer
    National Instruments
    Attachments:
    2008-03-23_165242.png ‏5 KB

  • How to use active X controls to read/write protect an excel or word document created by created by Save Report to File VI

    Hi all,
    I'm trying to creat a word and excel documents using Save Report to File VI. When wiring a password to this last VI, the document created are only protected against writing but not reading. How can I use active X controls to password protect these documents against reading?
    Thanks a bunch!
    O

    There is no predefined functionality available in LabVIEW. So you have to implement this on your own.
    It seems to me that you own the Office Report Generation Toolkit. You can use the Excel Get ActiveX References.vi from the Excel Specific >> Advanced palette to get access to the "generic" ActiveX Excel references. Starting from this point, you can use property and invoke nodes to get to the setting you are going to modify.
    Please refer to this link for information on Excel password protection. I have not searched for the object giving you access to those settings though....
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Unable to save a pages file

    Creating a 10 page newsletter in Pages 09. Unable to save the file even though it has previously been saved on the same computer. Unable save, save as, or email the file. Any suggestions?

    Hello
    It would be fine to get the exact message which you get.
    An odd behavior was described several times : the system refuse to save the doc even when the user try to export it.
    If like me you have two versions installed : one running in French and one running in English, you may try to copy from one version to the other one. It's the unique way giving a chance to keep everything.
    The problem with this behavior is that, as we can't save, there is no way to study the file's content to check if there is something corrupted in it.
    It's a really annoying f
    "feature" because it will be very difficult to understand what fails and so build a way to get rid of it.
    At this time, the best workaround is to use an autosave tool creating incremental backups.
    Yvan KOENIG (VALLAURIS, France) samedi 13 novembre 2010 09:19:09

  • Why does pages suddenly refuse to save a document back to our server after editing?

    why does pages suddenly refuse to save a document back to our server after editing?
    and can i specify a default save-as location?

    The default save location is the one used to open the document.
    The default save_to location is the last used one.
    Both are stored in memory and written in the application's preferences file when we close it.
    It's quite easy to change the defaults in the preferences file but we must do that before opening the app and if we use an other location once the app is open, we will lost the defined default location.
    From my point of view, the best scheme is to use an Applescript to save.
    Yvan KOENIG (VALLAURIS, France) lundi 4 juillet 2011 23:50:27 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I have a problem during the collect data and save it in file with the HP8753C

    Hello,
    I'm using the "HP8753 collect and display data.vi" with the functionnality "save" in file (.txt or xls).
    When I'm using it to collect and save data one time to time, I have no problem. But when I would like to use it to collect and save several data with a structure "For", the HP8753 status will become blocked and the collect and save data in file is disable.
    The only function "collect data" with a structure "for" is Ok but will become not OK with the option "save" in file. Why, please ?

    Hello,
    Thank you for contacting National Instruments.
    It sounds like your instrument is "hanging" or "freezing" when you try to read and save data from it in LabVIEW.
    I took a look at the context help for that particular VI. It appears that if you attempt to read data from the HP8753 while it is also taking measurements, it can cause the instrument to hang. This may be the problem you are experiencing.
    Look over your program and ensure that the instrument is not trying to take new measurements as you read data from it in LabVIEW. Sequence structures may be useful in this regard. If you are still experiencing problems, however, let me know.
    Matthew C
    Applications Engineer
    National Instruments

  • Write to Measurement File Defaults Back to "Save to One File"

    I'm trying to use the "Write to Measurment File" to make a series of files - but as soon as I hit ok it defaults back to "Save to one file". Even without running the VI it just sets itself back. I've attached files of what it looks like before I hit okay, the settings, and what happens after I close it.
    Perhaps this is a bug?
    Also, if you can see, I don't want the file to be called testdata__ but there is no way to change the prefix of the file because the box is greyed out. Any way to change that either?
    Solved!
    Go to Solution.
    Attachments:
    Capture.JPG ‏70 KB
    Capture2.JPG ‏66 KB
    Capture3.JPG ‏47 KB

    What version of LabVIEW are you using?
    LV2009 has some bugs with the Write to Measurement File Express VI.
    See this thread for more information.  http://forums.ni.com/t5/LabVIEW/write-measurement-file-save-to-series-bug/m-p/1226104

  • How do I save an install file for Photoshop CS6

    I need to get an install file for Photoshop CS6 (not CR) that I can use on a Windows PC that, due to security reasons, does
    not have access to the internet.  In the past I have been able to save the install file for Photoshop and/or Lightroom on my internet connected PC and then move it to the the target PC on a thumb drive or CD.  But now with the CC and the new "Adobe Installer" I can't seem to see how to capture the install file. 
    Please let me know how to do this.
    dan

    Refer to this:
    Direct Download Links for Adobe Software
    Mylenium

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • HT201361 Is it possible to save the screenshot files to a different folder than desktop. How can I change the folder?

    Is it possible to save the screenshot files to a different folder than desktop (that is the default). How can I change the destination folder? Thank you, Sal

    To change the screenshot capture location to a new place on your Mac, first think of a location that would serve you properly. We like to place ours in a "Screenshot" folder located inside of the User's "Pictures" folder. To change the location to this new location, open the Terminal and enter the following command:
    defaults write com.apple.screencapture location /Users/[u]/Pictures/Screenshots/
    Replace "[u]" with the name of the user on your system. Once you have entered this command, let's restart the screen capture utility by restarting the SystemUIServer by entering the following command:
    killall SystemUIServer
    You can optionally log out and back in instead of entering this second command, thus restarting the SystemUIServer. Once restarted, all screen captures taken from here on out will end up in your /Pictures/Screenshots/ folder in the User's home folder on your Mac.

  • Cancel cannot save to the file because it is in use

    Hi guys,
    From a couple of days ago i cannot export ANY pdf file in InDesign withouth the "cannot save to the file because it is in use by one or more background tasks". It seems there is a "temporary files" are saving. So the trick is to delete the file from the Finder and save the PDF again. It is annoying that i cannot replace the pdf directly with the same name.
    Can i override this situation?
    Any help or ideas?
    Thanks

    Thanks for the fast reply
    Actually i learn before from a forum that could be an issue so i take care so the file is not marked. Nevertheless it keeps telling me the file is in use. What could it be?
    Cheers

  • I have PS 6 and just purchased an iMac and am running OS 10.10.1 (Yosemite).  When i try to Save or Save As a file I get the following message:  Could not save as "Whatever.psd" because this file is locked, you do not have necessary access permissions, or

    I have PS 6 and just purchased an iMac and am running OS 10.10.1 (Yosemite).  When i try to Save or Save As a file I get the following message:  Could not save as "Whatever.psd" because this file is locked, you do not have necessary access permissions, or another program is using the file.  Use the Get Info command in the Finder to ensure the file is unlocked and you have permission to access the file.  If the problem persists, save the document to a different file or duplicate it in the Finder.  Any suggestions?  Thanks.

    Photoshop: Basic Troubleshooting steps to fix most issues
    Look under Troubleshoot User Permissions.
    Gene

  • Problems with Adobe Flash Professional CC (CS6 too) to save animated .gif file or perfect .swf file

    Hello,
    I have a problem with Adobe Flash Professional CC and CS6 to save animated .gif file. Here is very simple work with logo. But I can't save a perfect file swf or gif and it's so bad news for me. Logo .swf file save with bugs. Bugs just see then file insert in freeshop page. Here is just example test page, it let you see logo bugs - http://tagraseshop.graphicsrim.eu . Here is real page, but it's not my, it's freeshop with old logo and I have corect it - http://www.tagras.lt
    Animated .gif file absoluted not saved in Flash CC. Just gif picture. And why? My os Windows 8.1 .  Indeed I try to save on Adobe Flash Professional CS6. It's not save too...
    Gif "animated" - https://mega.co.nz/#!D8pEVaRR!Gjg-nI4T-0vROV9xCa1XfXz4br1X9lpQfUR0nQNT LK4
    Swf with bugs - https://mega.co.nz/#!jo5lSRyS!1x6GjWqYsf7n4KknUs6eF8EqZXEv9e8RsSpGd8h5 jGQ
    Fla - flash document - https://mega.co.nz/#!C94nCDSS!7yKF9FIBvYtVC9r8kYiJ0l0xzUm_R2HwgoXks6iM zUA
    Perfect animation speed is here - http://e-shoptagras.graphicsrim.eu
    Who can help to me?
    Any ideas?
    Thanks for your help in advance!

    Thanks, but I use publish/export settings with GPU hardware acceleration and flash version 11.2 (and 11.8) but nothing happening.
    And why gif file is not all transparenty then I insert on lightblue background? It can't export good quality? Also I use Photoshop, After Effects, Adobe Edge Animate. And nothing happening. Egde animate file .oam is not good for old website navigation. It can't be inserted in freeshop site from navigation... I use logo file .oam just for example here - http://e-shoptagras.graphicsrim.eu
    In reality I want swf file, but we don't find why logo flickering? here http://tagraseshop.graphicsrim.eu
    All file's are transparenty - https://mega.co.nz/#!f8B2CD5R!J8uCJt9Sdq4Suz4HLhTHz8bzJcSWXMBIKcKZgkD3z8c
    I need help! Please!

  • No column heading in second page in alv report when save in excel file

    Hi Expert,
    How can i remove the column header from Alv report when program execute in background and save in excel file right now
    its comming column header in each page. Client dont want header column in excel from second page. is this possible?
    with regards
    chandan_viji

    Hi Ravi,
    thanks for reply i have solved this problm throug line count and NEW-PAGE LINE COUNT 10000 bcoz client want output in excel file only one page header.
    with regards
    chandan_viji

Maybe you are looking for

  • Write two functions to find the the number of elements in a linked list?

    I am trying to Write two functions to find the the number of elements in a linked list. One method using recursion and One method using a loop... //The linked List class is Represented here. public class lp { public int first; public lp rest; public

  • Do I need to have studio monitors?

    Being one day in to logic (Oh man is it overwhelming), do I need studio monitors? My problem being is that I start to create a track and then when I go to playback, I get nothing from my speakers. Do I need to change a setting or am I a complete idio

  • Can I use mp3 ringtones on a iPhone 5?

    I would like to use my own MP3 songs on my iPhone 5. Is there an option to do that in the settings? This is my first iPhone so I'm not really sure how that would work.

  • [SOLVED] Printer prints garbage text - Error with pstoraster

    I have a Epson Stylus C43SX printer, which is connected to LPT#1. When I try to print something, the printer will print garbage text. From cups manager browser interface ( http://localhost:631 ), if I try to print the test page, it prints out garbage

  • ICal won't launch

    All of a sudden, when I click on iCal logo, nothing happens. I'm wondering if a friend who was sitting at my computer briefly could have trashed a pertinent file by mistake? The headers come up--file, edit, calendar, but I can't get the actual calend