"Error 7 occurred at Open File +.vi:Open File" when opening a newly built application

Hello,
After successfully building a standalone application in LabView 7.1, I get this error when I try to run my .exe file.  I don't think any files are supposed to open upon execution except for my top level VI, which appears to open just fine, so I'm unsure why this error pops up.  Does anyone have any ideas that might help or has anyone run into this error before?
Thanks in advance!
Jason

Hi,
I have a similar problem. I created a stand alone application using Labview 8.2.  I run a vi to test some electronics and send the results to an Excel spread sheet. I use Labview's New Report vi and I give the location of the spread sheet as one of its inputs. In runs OK on my laptop (windows XP) but when I make it a stand alone application and run it on another PC (Windows 2000)  I get an "error 7 at Excel_Open.vi" that shows an extra path in the directory.
See attached vi -- assuming it stays with this note.
How do I fix this?
Thanks
Ken M
Attachments:
datasheet.vi ‏116 KB

Similar Messages

  • Error 7 occurred at Open VI Reference with Application Builder

    Using Labview 5.1, I am building an application where all the vi's are placed in a single .LLB file. I have one top level vi (with sub-vi's), and one vi that is opened by the Open VI command. The program runs fine with labview installed. I want to make an executable file. I select the top level vi and select the vi that is opened by the Open VI command as a dynamically loaded file. I get an error when I attempt to build the file.
    "Error 7 occured at Open VI Reference in Dist Build LLB Image.vi -> Dist Build App Image.vi -> Build application.vi"

    Dear Sir;
    There are two things that are good to try:
    First, create the application in a folder that is closer to the root directory (e.g., c:\myApp). There is a limit to the length (or depth) of the path name to your application's target directory, so, if you are choosing a too long path you might get an error.
    Second: The Application Builder reads certain information from the VI in order to determine how to build the executable. To avoid possible errors, either in the build process or in the built executable, make sure the VIs are LabVIEW 5.1 VIs. You can convert your VIs to LabVIEW 5.1 VIs by using the Mass Compile feature (File >> Mass Compile) in LabVIEW before you build your executable. The Mass Compile feature will allow you to select either a directory or a LabVIEW
    .llb file to compile.
    Regards

  • Error 7 occurred at open/create/replace file

    Hello,
    I have searched the forum and could not find any useful information regarding my problem, so hope you may shed some light. MyVI can create a new csv (text) file by using the time to name the file, so every time the new file will be created with a different name and file path is not a relative path. I can run the VI in both development environment and stand along executable without any problem. But, 
    One of my colleagues  cannot run the executable exe on her machine because Error 7 occurred at Open/Create/Replace File in xxxx.vi Possible reason: LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
    My question is why only she cannot run this exe on her machine. I have checked a few different PC in my office and all of them can run this exe without problem, so I am pretty sure the code is fine.
    I have already ask her to do,
    Run the executable as administrator
    Save the new file to other drives (not C: drive)
    but she still cannot run the executable. I dont think this is a premission issue, otherwise, LabVIEW would give a different error, Error 8 I believe.
    Both her PC and my PC is running Windows 7 professional 64-bit. The only difference I can see is that she is based in US and I am based Australia. Does anyone have any idea? Please help.
    Thanks,
    Sherman

    I’m not sure but expecting like below,
    As you said, your creating file name with Time. Make sure file name is correct and there is no special characters (like, / or : ). If your formatting time to string with “Format Date/Time String.vi” (while creating file name), based on UTC format, string will change.
    UTC format specifies if the output string is in Universal Time or in the configured time zone for the computer. If TRUE, date/time string is in Universal Time. The default is FALSE.
    Make sure you have access rights to create files into mentioned folder. Try to create new file manually.
    Munna

  • Error 1003 occurred at Open VI Reference in Dist Copy Non-VI Files.vi- Dist Build LLB Image.vi- Dist Build App Image.vi- Build Application.vi

    When trying to build  an application using labview 7.1 and windows XP,  I get the error
    Error 1003 occurred at Open VI Reference in Dist Copy Non-VI Files.vi->Dist Build LLB Image.vi->Dist Build App Image.vi->Build Application.vi
    I've tried the crtl-shift-run as well as  a mass compile and I still get the error.
    Any ideas?
    Thanks,
    Mike

    Hopefully this thread, or this KB article might help.
    It seems like this could come from a lot of things, but there's suggestions in those which might lead you in the right direction
    Message Edited by Day on 09-22-2006 02:07 PM

  • Error 6 occurred at Open/Creat​e/Replace File in NI_Excel.l​vclass:Sav​e Report to

    I have an application that works on LV60 and when run in LV86 I get the following error:
    Error 6 occurred at Open/Create/Replace File in NI_Excel.lvclassave Report to File.vi->SWF001 Test.vi
    Possible reason(s):
    LabVIEW: Generic file I/O error.
    =========================
    NI-488: I/O operation aborted.
    C:\SWF001 IO Files\1_Single.xls
    The application does:
    New Report.vi
    Excel Get Worksheet.vi
    Excel Easy Table.vi
    Excel Easy Text.vi (4 of them)
    Save Report to File.vi
    Dispose Report.vi
    all in a nice chain (errors and report-in/outs) as is typical
    For some reason I'm getting this error. I'm using it with Excel 2003 SP3 and the spreadsheet contains macros (and I get a prompt "should I enable macros:" (I answer yes), that I didn't get with LV60 and the older version of Excel). This is probably not the problem? but deserves mention.
    The file does exist on the system (and it appears the application is writing to it successfully - though perhaps truncated as the error indicates- i can't tell for sure).
    I can open and save the Excel file independently of LV just fine.
    Any clues?
    Many thanks! -David
    Solved!
    Go to Solution.

    Unfortunately, an Error 6 is a catch all category for all sorts of file IO errors that LV doesn't know how to handle. For example, while it doesn't sound like your problem, trying to access a file that resides on a network drive that isn't currently mounted can generate an Error 6.
    Have you tried saving the file to a different location?
    If you restart your computer and run the VI does it generate the error the very first time you run it?
    Can you post your code - or at least a subset of it that demonstrates the problem?
    Is Excel open when you are running the code?
    Also, as a test try modifying your code so it has a unique name every time you save it.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Error 6 occured at open file+.vi:open file

    Hi
    Iam using lab view 7.1 licensed version.But when i create a stand alone application  and install it in a 4gb touchpanel(ADVANTECH TPC 660G B1-E).iTS WORKING PERFECTLY FOR SOME TIME.But after some time i get an error (error 6 occured at open file+.vipen file).Iam attaching the snapshot
    plz help me out
    ekanth
    Attachments:
    untitled.JPG ‏55 KB

    This indicates a problem with your code. Since you haven't shown us any code we can' tell you what the problem is. Are you trying to open a file that's open by another application? Are you trying to open a file that's on a network, and the network is temporarily unavailable? You should know what file it's trying to open - after all, you wrote the app, right?

  • Stand alone application(.exe) : Error 7 occurred at Open File+.vi: Open File (error: L'erreur 7 s'est produite à : Open File+.vi:Open File)

    Dear group members - as i am trying to build a stand alone application , i ran into this problem : "Error 7 occurred at Open File+.vi: Open File" (L'erreur 7 s'est produite à : Open File+.vipen File)
    when i select continue i get this error message: "Error 7 occurred at open/create/replace file in Write spreadsheet string.vi->Write To Spreadsheet File (I64).vi->Mono Com Write ini.vi->mainVI2.vi""   (  "L'erreur 7 s'est produite à : Ouvrir/Créer/Remplacer un fichier dans Write Spreadsheet String.vi->Write To Spreadsheet File (I64).vi->Mono Com Write ini.vi->mainVI2.vi" )
    i didn't get what's the problem with this vi, i have no problem running my VIs  
    Can any one here help me out ? 
    here is the project : 
     

    Neither can I.  When I opened your Project, there were no VIs present on the top level.  The Build Spec refers to a Mainv12, which I finally found buried in the folder Interface 2, but when I tried to open it, there were multiple missing VIs.  I notice you have an Interface 2.llb -- is this the same as the VIs in the Interface 2 folder?  If so, try getting rid of the .llb (at least for the purpose of sharing your code in the Forum) and re-post your code.  As it stands, when I open your Project, virtually every entry is marked "Warning: has been deleted, etc."  The fact that so much is "missing" means that I can't easily see/understand MainV12, hence can't guess where the File Not Found error is arising.  Sorry.
    Bob Schor

  • Error 7 occurred at Open File+.vi:Open File,NI-488: Nonexistent GPIB interface

    I did some clean-up of my computer and have been having issues ever since.
    I'm not the one that did the programming; the person who did is long gone.
    The VI loads fine but when I hit run I get:
    Error 7 occurred at Open File+.vipen File
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488:  Nonexistent GPIB interface.
    All the necessary VIs are available and I've tried changing all the file calls in the VIs to the new locations but the error is the same.
    Any suggestions?
    Thanks.

    Error 7 is a generic file not found.  If it is happening after cleaning up files, more than likely you moved some subVIs called in a main VI to a new location on your computer.  If all the VIs are in a project, a possible solution would be to remove the vis in the project directory and add them back to the project as they may be pointing to a previous location where the files were once stored.  Perhaps this is what Anon123123123 meant by "linking".  Hope this helps.
    Regards,
    Isaac S.
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • Error 7 occurred at Open/Creat​e/Replace File in Open Config Data.vi

    I have a .vi that was working fine with Labview 7.0.  I now have upgraded to Labview Professional 8.0, and I am trying to build a stand alone  executable.  When I build the executable, build an installer, and then try to install it on another computer then run it......... I get the "Error 7 occurred at Open/Create/Replace File in Open Config Data.vi" error.  Any ideas?

    Hello,
    In addition to the LabVIEW Help, there is an Application Note on Distributing Applications with the LabVIEW Application Builder and a knowledge base article What Is The Build Specification Feature In Application Builder? that might be helpful.
    Also, here
    is a knowledge base article on what Dennis has described and it
    provides an example to call an extra Strip Path function. Also, instead
    of using a Match Pattern function, you could use the App.Kind property
    node (use Open Application Reference, Property Node: Application ->
    Kind, and Close Reference) to determine if you are running in a
    Run-time system.
    Good luck and best regards,
    Shakhina P.
    Applications Engineer
    National Instruments

  • Error 5 occurred at Open/Create/Replace File in Write spreadsheet String.vi

    Hi everyone,
    can anyone help me with this problem?
    "error 5 occurred at Open/Create/Replace File in Write spreadsheet String.vi "
    I've been using this part of the program for over a year an suddenly this error occures. But not always, mainly at the very beginning of my tests when the file should not be open.
    Info: I'm using a realtime PXI-System. Maybe the amount of data can cause the problem? (about 2MB)
    Grüße
    Meike
    Attachments:
    writeResults.jpg ‏345 KB
    error5.jpg ‏52 KB

    Hi Meike,
    is the file opened by a different program? Do you try to access it by FTP in parallel to your VI?
    You could use basic file functions instead of WriteSpreadsheetFile. That way you could open the file before starting the loop, keep it open all the time and close it once you're finished - with the added benefit of easier error handling…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Hi, I am getting an 'Error 4810 occurred at Sound File Read Open.vi' for the attached wav file (plus many other wav files). Any ideas?

    Hi,
    I am getting an 'Error 4810 occurred at Sound File Read Open.vi' for the attached wav file (plus many other wav files).
    Any ideas?

    No attachment exists.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • A networking error has occurred: Cannot open file (-3001)

    When I attempt to use Software Update I get the following message: "A networking error has occurred: Cannot open file (-3001)"
    I am connected to the Internet, can connect with iDisk no problem. Manual downloading also works.
    Any ideas? Do I trash a corrupted file or what?
    Many thanks in advance.
    John
    Message was edited by: [email protected]

    I troubleshot this problem with a helpful Apple tech person who provided a workaround:
    Establish a second identity. After you log out of your own identity and into the second identity, you can successfully use software update. He had me trash a number of items deep within the system but nothing else worked. I also ran the Utilities program both off the system and the 10.5 disk with no effect.
    So far then, the only solution appears to be the second identity route or to manually download and apply updates. Quite a mystery I'd say!
    Any ideas out there?

  • Suppressing error 8 occurred at open file dialog box

    Hello,
    I am getting randomly occurring "error 8 occurred at open file" dialog
    boxes every couple of days. This is stopping all of the data collection
    on all of the vi's on the pc. In order to continue all that is needed
    to hit continue. Is there a way to suppress this dialog box?

    There's a vi called Clear Error, in the Dialog and User Interface section of the palette.  If you wire the error out of the offending vi to the error in of the clear error, your problem should be solved.
    Technically I think you can wire the error out to just about anything that ends (as in, to the side of a case structure or loop or something, so long as nothing is connected to it further).  I think as long as LV thinks that you've handled the error (i.e. wired anything out of the error out), the dialog box does not come up.
    Message Edited by Novatron on 07-07-2006 11:02 AM
    Attachments:
    No Error.jpg ‏5 KB

  • Error 1430 occurred at Open/Create/Replace File in NI_Fuzzy_Logic_API.lvlib:FL Load Fuzzy System.vi- Untitled 3 Possible reason(s): LabVIEW: The path is empty or relative. You must use an absolute path. Not A Path how can i copy it in new vi plz help

    when i am copy the vi that is in find example>fuzzy>fuzzyEx with pi control the follwing error occuring 
    'error 1430 occured at open/create/replacefile in NI Fuzzy logic API.LVLIB FL LOAD FUZZY SYTEM.vi
    untitel 3 possible reason the pat is empty or relative you must se use an absolute patth <not apath>
    plz help me i only want that i can copy this vi in new vi but when i do so the above error occur and fuzzy logic cotroller is highlited 

    Hello Nofil,
    This is probably happening because you have made a copy of the VI without changing the name/ location on the disc. I have saved a copy of the VI for you, it is in LabVIEW 2010 SP1, please ask if you want this in a previous version.
    Regards
    Andrew George @ NI UK
    Attachments:
    Fuzzy Tanks with PI.vi ‏31 KB

  • Error 7 occurred at open vi reference in New Report.VI

    Hello!
    I use the report generation toolkit on LabView 7.0 to create a report in Excel. The program works fine until I make an executable version. I the get the error:
    Error 7 occurred at open vi reference in New Report.VI
    I use the New Report.VI, Bring Excel to front.VI and Save Report To File.vi
    Can you pleace help me!!!

    Most likely, you did not include the required libraries in your build script. When building an executable in which you use the Report Generation Toolkit, you must include the _Word Dynamic VIs.vi from _wordsub.llb and _Excel Dynamic VIs.vi from _exclsub.llb as dynamic VIs on the Source Files tab.
    Check this article for more info.
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/86256a47004e16d186256a84004cb883?OpenDocument
    Daniel L. Press
    PrimeTest Corp.
    www.primetest.com

Maybe you are looking for

  • How to create an collection/array/object/thingy from a bunch of objects for eventual export to CSV.

    This is a follow-up to an earlier post (How to output a bunch of variables into a table.) Now that I can ouput data for a single computer I need to to do the same for a list of computers into a CSV. In more general terms how do I get a bunch of $Comp

  • RE:Header and Footer change in CCP ....

    After enable header and footer in Administration ,i can change the header and footer in login and signup page but i can not change those for particular user where they are adding in Organization unit...so i need steps to add header and footer for par

  • How do you update credit card details on itunes account

    at the moment i'm trying to register my new ipod to itunes, but when confirming my year old ID it says my card details are invalid. this is because it is my old card details, how do i update my new ones so i can use my new ipod touch!?

  • Previous and next records in a table

    Let's say I have a table where I have item name sequence customer number I want to select these three fields where name = 'INSPECTION', but I'd also like to grab the record prior to this and the record after this, regardless of the name content. I ne

  • Add a hyperlink to animated button created in Edge.

    Hello, Is there any way to insert an animated button I created in Edge into Muse and add a hyperlink to it. The roll over and roll out work perfectly when inserted into my web page, I just can't attach any actions to it. Thanks.