Error 1 message using "new file"

I am trying to read a new filename path from a txt file. This filename path I use to create a new file to store data in. See attached test VI. The first time everything works fantastic but the second time the while loop executes the create "new file" generates a error -1 message and I do not how to solve it. I have a suspicion it has something to do with the refNum output of the "new file", but I am not sure and I do not know how to work around that either.
Kind regards,
Attachments:
read_from_file_to_path.vi ‏47 KB
filename.txt ‏1 KB
TEXT.txt ‏1 KB

The New File returns that error if the file already exists. To overwite the file when it already exists, wire True to the overwrite intput.
LabVIEW, C'est LabVIEW

Similar Messages

  • After years of using iTunes on my G4 suddenly it won't open.  Error message says "The file "iTunes Library" cannot be read because it was created by a newer version of iTunes".  What do I do?s

    After years of using iTunes on my G4 suddenly it won't open.  Error message says "The file "iTunes Library" cannot be read because it was created by a newer version of iTunes".  What do I do?  I have been attempting to move my Library to a newer MacBook Pro.

    The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes".
    Try the following user tip:
    Empty/corrupt iTunes library after upgrade/crash

  • Updated iTunes and now get an error message that the file iTunes Library.itl cannot be read because it was created by a newer version of iTunes. ??

    updated iTunes and now get an error message that the file iTunes Library.itl cannot be read because it was created by a newer version of iTunes. ??

    hello!
    i have a similiar problem:
    i upgraded my mac from 10.6.8 to 10.7.something recently, but i did NOT update itunes, still running version 10.4.1. now i wanted to open itunes but it tells me, that my iTunes Library.itl was created by a newer version of iTunes - which i never used!
    its annoying since i dont want to be forced to download a 720MB pckage of itunes every month - even more so, if the system start "lying" to me.
    or is it another problem? anyone got the same? any solution? maybe an erratic prompt?
    thanks, florian

  • My iTunes won't open on my laptop. Error message says The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes. Help Please!

    My iTunes won't open on my laptop. Error message says The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes. Help Please!

    See Empty/corrupt iTunes library after upgrade/crash.
    tt2

  • Installed iTunes 64 on Windows 7 (home) HP and received this error message.  The file iTunes Library.itl cannot be read because it was created by a newer version of iTunes.  Please help.

    I installed iTunes 64 on a Windows 7 (Home) HP Pavilion and received this error message.  the file iTunes Library.itl cannot be read because it was created by a newer version of iTunes.  Please help! 

    The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes".
    Try the following user tip:
    Empty/corrupt iTunes library after upgrade/crash

  • Error message "cannot locate file"

    I purchased a new computer and used Detto Intelli Mover to transfer all my music files. When I opened the library, they all appeared to be there, but when I try to plan anything I get an error message "cannot locate file" This happens with all of my 1,200 songs. The error message also says "would you like to look", but I am unable to locate then. Can anyone help with this?

    Have you added all the songs to the library? Just by dragging and dropping?

  • Since downloading Yosmite on my MAC I have not been able to download photos to LR 5. Error message: "the following files were not imported because they could not be read (335).I have been working with several forums and have dtried going into preference

    LR 5 - using it on a MAC-
    Error message: "the following files were not imported because they could not be read (335).
    I have been working with several forums and have tried all recommendations and none have worked.
    I have tried reloading new LR 5 - and it worked for a short time and then stopped.
    Very frustrated that I cannot talk with someone at Adobe.
    The folks that have made recommendations are great but once their suggestions dont work they drop the link,
    Is there someone or someplace I can take my computer to fix this issue.
    It seems to be a problem between LR and Yosemite.

    The permissions have been changed on the destination folder where the photos are to be copied into.
    You must make sure that the permissions are set to Read and Write.
    Or perhaps the destination folder has been changed accidentally to something else, and you need to change it back to whatever it used to be.

  • HELP! ERROR MESSAGE: Missing PDFMaker Files

    Hello-
    My Adobe Acrobat Professional 7.0 has been running perfectly fine for over a year now. However, today I went to create a pdf. and I received the following error message:
    Missing PDFMaker Files
    Do you want to run the installer in repair mode?
    So I said yes, and then restarted my computer. That didn't fix it.
    I uninstalled Adobe Acrobat Professional and re-installed it. That didn't fix it.
    I really have no idea what to do. It's extremely frustrating because I have CS2 and the phone support people said they couldn't help me because I don't have the newer version. I'm looking for any sort of solution to this problem because it makes this program virtually useless.
    Thanks in advance for your help.
    Chris

    ok i just got mine working. you have 7 i have 8, but its still worth a try. here are the steps i took. i hope this helps good luck
    i did this in excel, so ill use excel as the application, otherwise its outlook or word or whatever your application name is ok oh i have 07 office
    - open excel
    - click the office button (the big yellow button at the top left)
    - click excel options button (at the bottom)
    - click add ins on the left side dialog box
    - do one of the following
         - if pdfmoutlook or acrobat pdfmaker office COM addin is not listed, choose COM Add ins form the manage pop-up menu (at the bottom) and click go
         - if pdfmoutlook or acrobat pdfmaker office COM addin is listed under Disabled Application Addin, select disabled items from the manage pop up menu and click go
    - select pdfmoutlook or acrobat pdfmaker office COM addin and click ok
    - restart your application (again i was in excel)
    i choose acrobat pdfmaker not outlook
    i googled
    activate PDFMaker in Microsaoft Office and clicked on the one that says
    acrobat 9 pro extended convert a file using pdf maker
    for some reason (im not very good with these forums) i cant copy the link into this wondow and its extremly long
    it begins
    help.adobe.com/en_US and so on....so google that and click on that link
    let me know if this owrked ok

  • I am unable to open a project that I have worked on and saved.  I get an error message that the file is damaged and cannot be opened.

    I am unable to open a project that I have worked on and saved.  I get an error message that the file is damaged and cannot be opened.

    Leslie Tanaka
    Travel and detours have kept me from following up sooner. If the problem that you wrote about still persists.....
    Let us go back over that Adobe document regarding troubleshooting damaged projects.
    3. Delete the Application Preferences
    Where you able to follow that path and delete the Adobe Premiere Elements Prefs file at the end of the path? And, after you did, did the saved/closed programs still refuse to open? If you could not carry out this procedure, what were the limiting factors that kept you from do
    7. Test to see if individual media files are causing the problem.
    That is an important one. How far did you get into following the instructions given in the document? If you could not complete the test, what was the major block that prevented you from doing so?
    I want to make sure that we have gone through everything in that document and ruled all factors there in or out. If it was a matter of you not understanding the instructions, I am hoping that the above will channel you questions to me so that I can clarify anything that you did not understand in the Adobe document instructions.
    I do not recall if I asked previously. Even if you cannot open all your saved/closed projects, can you still open a new project and save/close it? Maybe even reopen it?
    Please review and consider.
    Thank you.
    ATR

  • After editing a photo, I sometimes get an error message that the "File is empty".  Can revert to original and start again, but file disappears after editing.

    So frustrating!  I open the photo.  Edit by cropping, adjusting color, etc.  It's perfect.  I click DONE and move on to the next.  When I come back, the first photo is gone.  I can see it in the album but cannot open it.  When I look at the file information, it shows zero KB.  If I move it to the desktop and try to open it, the error message says the file is empty.  I can revert to original and there it is.  Edit again, and again it disappears.  What am I doing wrong?  I am using iPhoto 09

    You shooting with a Nikon? We've seen a few examples of this bug with Nikons on 09 and 10.6, with no solution except to upgrade.
    Regards
    TD

  • Error message c:\program files (x86)\itunes\ituneshelper.exe   r6034

    can not log into itunes, get the following error message:  c:\program files (x86)\itunes\itunes help.exe
    R6034
    I have uninstalled and reinstalled and still unable to login

    Apple's advice on this issue can now be found here: TS5376: iTunes 11.1.4 for Windows: Unable to install or open.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See the user tip Backup your iTunes for Windows library with SyncToy for a suggested strategy.
    If you have difficulty downloading the iTunes setup file try clearing your browser's cache or using an alternate browser.
    If content is missing from the library following the repair see Empty/corrupt iTunes library after upgrade/crash.
    For device connectivity issues following the repair see TS1538: iOS: Device not recognized in iTunes for Windows, in particular section 5.
    MobileMe is a discontinued service and should be removed if present. See HT2992: MobileMe: Uninstalling the MobileMe Control Panel for Windows for details.
    tt2

  • Download error message - "Cannot Create File"

    Recently I developed a problem and am unable to download anything (files, software, etc) from any website. I begin a download, the download manager comes up and it shows an error message "Cannot Create File." I am using the default manager that is incorporated in OS X 10.3.9.
    I never had a problem until a week or so ago when I downloaded a software demo. I decided to get the full software package and trashed the demo files per the company's instructions. I got the error message when I tried to download the full program and now get the message no matter what I attempt to download. Might I have trashed a file I wasn't supposed to trash?
    I tried installing 10.3.9 again on my main drive but still have the problem. If I use an external hard drive with spare copy of 10.3.9 and make that my start up drive, I can download files successfully.
    Any help would be greatly appreciated.
    Dave
    2002 DP 1GH Quicksilver   Mac OS X (10.3.9)  

    Recently I developed a problem and am unable to
    download anything (files, software, etc) from any
    website. I begin a download, the download manager
    comes up and it shows an error message "Cannot Create
    File." I am using the default manager that is
    incorporated in OS X 10.3.9.
    I never had a problem until a week or so ago when I
    downloaded a software demo. I decided to get the full
    software package and trashed the demo files per the
    company's instructions. I got the error message when
    I tried to download the full program and now get the
    message no matter what I attempt to download. Might I
    have trashed a file I wasn't supposed to trash?
    I tried installing 10.3.9 again on my main drive but
    still have the problem. If I use an external hard
    drive with spare copy of 10.3.9 and make that my
    start up drive, I can download files successfully.
    Any help would be greatly appreciated.
    Dave
    2002 DP 1GH
    Quicksilver   Mac OS X (10.3.9)  
    I have the same problem ! Not being able to download a file from the Adobe site. I need Reader 7 to download some files from exact exams but can't do it. Just keep getting the Cannot Creat File message in the download window. Can anyone help?
    eMac 1.25 & G4 800 iBook   Mac OS X (10.4.5)  
    eMac 1.25 & G4 800 iBook   Mac OS X (10.4.5)  

  • I keep getting the error message "Missing PDFMaker files. Do you want to run the installer in repair mode"

    I keep getting the error message "Missing PDFMaker files  Do you want to run the installer in repair mode"when I try to convert a file into a pdf.  I have tried uninstalling then reinstalling but I continue to get the message.  I am able directly print file, but there are some errors in the pages, but some of them have font errors. Please advise.

    Hey Suzanne,
    Could you please let me know what Acrobat version are you using and what kind of file are you trying to convert to PDF.
    If you are using an MS Office application, then PDF Maker has to be an active plug-in for the PDF conversion.
    Have you tried using Print to PDF option from the File menu for the same?
    Please check and then let me know.
    Regards,
    Anubha

  • Error message saying "new itunes library"

    downloaded the latest itunes now when i try to open itunes just get error message saying "new itunes library"

    Try this approach:
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    If that doesn't work go into the Control Panel for progams and try to repair the iTunes installation, or remove it and then reinstall.
    tt2

  • I get the error message "Missing PDFMaker files" when trying to convert a microsoft word document(.docx)

    When I right click the word file and select Convert to Adobe PDF, I get the error message "Missing PDFMaker files".
    Im using Windows Vista Home Premium, Service Pack 2, 32 bit operating system.
    Im using Microsoft Office Home and Student 2010
    I have Adobe Reader X installed
    Thanks

    Hi RhodaMcP,
    You might want to check the KB: http://helpx.adobe.com/acrobat/kb/troubleshoot-acrobat-pdfmaker-problems-office.html
    Regards,
    Rave

Maybe you are looking for