Labview 9.0: Error 1 occurred at Write To Measurement File

Hi
Our University recently got the latest version of Labview (9.0 32-bit) which I installed today.The labview file I am using (my6008v6.vi)  used to work fine with the older version (8.5 i think). My write-to-file VI is enabled at certain time intervals in order to log data. As soon as it is enabled for the second time I get the following error:
Error 1 occurred at Write To Measurement File->Copy of murray6008v6.vi
Possible reason(s):
LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
NI-488:  Command requires GPIB Controller to be Controller-In-Charge.
I made a simple file (simplew2f.vi) to test this, with a button which I can press to enable/disable the writing of data. I am able to start writing data and then stop writing data but as soon as I try resume the writing the same error occurs.
This confuses me greatly since this wasn't a problem using the old version and my Labview knowledge is minimal. Any help would be appreciated.
Attachments:
my6008v6.vi ‏214 KB
simplew2f.vi ‏64 KB

So, which VI are you having problems with?  Sounds like both...
Okay... - sigh - where to start....   
Well..  Let's start with a few comments. 
1.  Try to stay away from the Express VI.  I know the Marketing guys at NI will not like me for saying so, but I am saying so.  They are a nice marketing feature that Grumpy Old Men like myself do not like.   They make it easy to write quick code..  And I will limit my comments to that.  (It's not your fault.. )
2.  The wiring on your diagram is not clear or easy to read.  Yes, with additional time and double-clicking each wire I can tell where they are going.  However, a rule of thumb, alway wire from Left to Right.  Never right to left.  And do not run the wires under objects, even the ones you are wiring to.
3.  simplew2f.vi:  You should put a small delay in the While Loop.  I ran it three times and it wrote to the files without error.  And yes, I used LV2009.
4.  my6008v6.vi:  Avoid wiring from the top of the While Loop.  At frist, it looked like the data was coming out of the While Loop because the wires went to the left side of all the index node of the Index Array function.  
You should set your Browse Option for the file path to "Files or Folders" and "New or existing".  I did that and I was not getting the error message you described.
R
Message Edited by Ray.R on 03-03-2010 08:33 AM
Attachments:
pathProperty.PNG ‏13 KB

Similar Messages

  • Error occurred while building the following file

    hi,
    i get an error while compilating my programm. i did not change the vis listed below, they are standard express vi's...
    An error occurred while building the following file:
    C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\express\express analysis\CurveFittingBlock.llb\subCurveFitting.vi
    Error 1003 occurred at ABAPI Dist Chg and Save VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Rule_Editor.vi -> BUIP_Create_Build_Rule.vi -> EBUIP_Global_OnCommand.vi -> EBUIP_Global_OnCommand.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  The VI is not executable.

    I would recommend to update to at least LabVIEW 8.0.1 (free update) and masscompile the vi.lib folder.
    You can download the update here:
    http://digital.ni.com/softlib.nsf/websearch/4C1209D42320BCFD8625711C005FB25B?opendocument&node=13207...

  • I keep getting "error occurred while attempting to import file *******. The disc your are attempting to use is full." I have an external hard drive that I moved files over to, but apparently they're also still on my hard drive? HELP!

    I keep getting "error occurred while attempting to import file *******. The disc your are attempting to use is full." I have an external hard drive that I moved files over to, but apparently they're also still on my hard drive? HELP!

    So you have backed up the content of the computer's hard drive, too?
    That usually is a great idea since it is possible to lose use of the system
    if parts of it have accidentally been removed or get over-written, or the
    main system files get corrupted, when the hard disk drive gets too full.
    If you have not trashed the originals of your created content, that remain
    after you made copies on an external hard drive or other device, then
    that is what you'd have to do to reclaim the capacity still in use by them.
    What are specifications of the hard disk drive? The unused capacity
    verses the used, in GB? If the hard drive has less than 15 to 20%
    free or unused capacity, you could run into trouble. Mine are 40-50%
    unused hard drive space, so ample room is available for automatic
    Virtual Memory to use that capacity as temporary swap file space.
    This is helpful when the computer could use more physical RAM
    memory capacity, but doesn't have it. Or if the RAM is maxxed out
    and you can't add any more. Virtual Memory is part of OS X and the
    system automatically can use as much as is available, but it is better
    to be sure there is plenty of resources available to include chip RAM
    as well as unused or free hard drive capacity for use as VM.
    If for some reason your files in Trash won't go away when you empty
    it, you may have to restart. Be sure you have not included any System
    files in the content in the Trash, or the Mac may not start up later on.
    You may have to boot the computer from the install-restore OS X DVD
    and run Repair Disk from its version of Disk Utility, to be sure it's OK.
    I'm guessing that by now you know enough about the vintage system
    in the older hardware to figure it out, so I won't write about it now.
    In any event... hopefully you can simply trash the files, but check them
    carefully, & you may need to remove (copy to archive first) even more.
    Good luck & happy computing!

  • 7303030 patch - an error occured while generating forms library files

    Hi,
    While applying 12.1.1 upgrade patch, 7303030 i got an error at A1000 phase
    "An error occured while generating forms library files" continue as if it were successful..
    As we can generate forms after completion of the patch, i selected yes .
    Later, i got "An error occured while generating oracle forms files", here also i selected to continue.
    Please tell me is this the right way to continue the patch?
    I didn't find any errors in worker logs files, after all workers have quit, this error was reported.
    After completion of the patch what necessary steps i need to perform.
    Thanks,

    Hi,
    The errors are due to missing of pre-req patch 6400501
    Forms 10.1.2.3 Compilation against an 11.2 Fails with DB PL / SQL ERROR 801 ... internal error [60603] [ID 1065020.1]
    After Applying the patch, successfully gerated forms.
    I applied the patch 6400501 but still with the error internal error [60603], have something more to be done?
    Thank you.

  • API5317: Error occured while writing to archive file

    We have been making daily archives for weeks and then one morning started getting this error:
    API5317: Error occured while writing to archive file f:\OWB\Archives\Daily\backups\Friday\projects\erm_phase1\project.mdl
    We have checked space on the disc, and running the archive from different PCs. Is possible that there is a limit on the archive file? The archive file is in the order of 21M. I am worried about the upgrade to the new version if we cannot make archives. Any suggestions?

    Marlene,
    Which OWB version are you using and what is the database version?
    Regards:
    Igor

  • "An error occurred creating the application.Check file system permission"

    Hi There ,
    I am facing a problem in creating a webcenter portal webapplication.
    I have followed the steps given in Help topics of Jdeveloper,but after performing all the steps i am getting this error
    "An error occurred creating the application.Check file system permission". Kindly help me to get through this error.
    Regards
    Vivek

    Hi Vivek,
    I hope this is the problem with permission.you Don't have Admin permission to access those folder.
    my Suggestion is
    1.use Administrator account(on windows) for develop applications(its give full access to the folder from your system). or
    2 open your JDeveloper as Administrator. (just right click on JDeveloper from you shortcuts or from programs run as Administrator)
    I hope this will be helpful.
    Best Regards
    Siva Sankar

  • An unknown error occurred while discovering dynamically-related files

    This is my first attempt building a wordpress site using Dreamweaver and it's been nothing but unsuccessful.
    I have downloaded and reinstalled Wordpress and Mamp at least 7 times, and even followed Lynda.com (Dreamweaver and Wordpress: Core Concepts) tutorials to ensure my testing server was executed properly, but I still can't resolve "an unknown error occurred while discovering dynamically-related files. Retry". I've rebooted my computer a handful of times and made sure I ran programs in a systematic order, but nothing. I'm running CS5 on a Mac.
    As you can see from the first image, I have the error highlighted in yellow. Below I've added pictures from all the essential settings site setup in hopes I made a mistake and someone will catch it. PLEASE help me resolve this issue. I am so frustrated that I can't figure this silly problem out...

    I looked through both articles again, and in both he notes that if you're using MAMP default ports, it's necessary to reference :8888. I am using the defaults and have included :8888 for that reason.
    "Note: If you are using MAMP on Mac OS X, and decided to use the MAMP default ports, change the value of Web URL to http://localhost:8888/check_php/. Adding :8888 is necessary only if you're not using the Apache and MySQL defaults."
    In any case, I've tried changing my ports to 80 and 3306, not including the :8888 in the URL, and I didn't get different results. For that reason I just returned to the MAMP default settings...
    Thanks again for helping me brainstorm!

  • DW/WordPress "An unknown error occurred while discovering dynamically-related files"

    I am trying to set up Dreamweaver CC 2014 to work with my WordPress 4.0 site on the remote server where it is installed. Server access is fine, tests ok, files all listed and synchronize no problem. But whenever I try to discover dynamically related files I get "An unknown error occurred while discovering dynamically-related files". What's going on? (Permalinks are set to default btw)

    Easily fixed! I just discovered that under my server settings I had both "Remote" and "Testing" ticked. I unticked "Remote" and it works fine. Only tick "Testing".

  • An error occurred while saving the following file

    I want to build an app but I get this message:
    An error occurred while saving the following file:
    C:\Acquire U6 DS&FTP\Acquire U6 DS&FTP.vi
    Nothing more, absolutely nothing more.
    Before that I could build it without problems, now I can't. The file in the message is the main file (by the way it runs fine). I've tried creting a new project but it doesn't work.
    I really hope somebody can help me.
    Thanks,
    JuanM

    What's changed in your code?  Have you tried undoing anything or reverting back to a pervious version?
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • Error encountered: An unknown error occurred while access the upgrade file.

    Hi all,
    I was upgrading my call manager subscriber server from
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    7.1.3.10000-11 build to 8.0.2.41006-1 build, got the following error and the upgrade failed,
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    Status: Error encountered: An unknown error occurred while access the upgrade file.
    While the same upgrade was successful on the pub.
    Need help.

    Brad,
    I've seen that a number of times with 7x upgrade files.  I would like to say it's consistent but it hasn't always been.  I've done a number of upgrades and sometimes I would run across that issue and other times, I would not (there would be multiple files in the SFTP path).  After a few times, I just started always putting my upgrade file in a dedicated folder.
    Good catch...and you're not alone in experiencing it.
    Hailey

  • "Write to measurement file" in labview doesnt show time instants of the waveform

    Hi
    I am trying to write my data into a file. I am using the "write to measurement file"  for this purpose. But, the file shows only the magnitudes of the input waveform and not the time instants.
    Can someone help me with this.
    Thanks
    Vijay Chand Ganti

    Hi
    Thanks for ur reply. I tried using the "unbundle by name", but thats only helpful for a cluster of elements.What i need is to
    get the time instants of an analog signal (to verify its sampling rate).
    I am using the example under NI example finder-->Analog Input R series.
    Mine is an FPGA application and so im using the R series. I am anyways attatching the VI which i modified for my use.
    Attachments:
    Analog Input (Host)2.vi ‏375 KB

  • Write to measurement file pda

    hi, ive been learning labview on v.7.1 and now im trying to create simple programs on labview pda 8.21.
    i want to continually record a signal to text file like an lvm. i was previsously just using the 'write to measurment file' function and connecting my simulated signal straight to it. now when i try to run it in a windows 2003 mobile emulator i get the error 'subVI is not executable'
    what would be the best way of getting around this? as this is a big sticking point for my project.
    thanks alot
    andrew
    Message Edited by lav on 03-17-2008 07:47 AM

    Hi Andrew,
    I hope you are well.  Thanks very much for your post.  I have taken a look at your problem and I think it may be due to some incompatabilities between LabVIEW and the PDA that you are using.  I was wondering if it would be possible for you to post the code on the forum so that I can take a closer look at it to try resolve the problem.
    Thanks very much.
    Kind regards,
    Prashant M
    Applications Engineer
    NI UK & Ireland

  • "Write to measurement file" express VI (TDMS foormat) keeps file opened

    Hello!
    I am trying to use "Write to measurement file" express VI to write TDMS data obtained from DAQmx in LV2011. Each run of the same write function creates new file.
    It seems that last written file remains to be opened until program stops or next file written. It has 0 size and it is not possible to access it from other programs.
    Is it possible to save file immediately and close it?
    Solved!
    Go to Solution.

    It seems, that wiring "DAQmx task" (for AI task) to "Write to measurement file" express VI does not works in my case (only in exe).
    The error is the same as file not found (error code 7), but file is created. Something gets wrong inside express VI. I am unable to debug exe, so I have just disconnected DAQmx task from express VI (really don't specially need it anyway).
    For sure, the same LabVIEW version and drivers are installed on target and VI is working in it as well as at dev machine.
    Debug error which I had encounter is already published in the forums elsewhere. It seems that the problem is in VI without block diagram inside hierarchy. Maybe with Express VI.
    PS test app writing tdms files the same way is working like a charm (without DAQmx task wired).
    So, thank you for yor advices, the problem seems to be solved. Maybe I will have a look in more details about the reason of such error, but can't do it now.

  • Write to measurement file at every n iterations

    Hi guys,
    I would like some help with saving data in labview 2010 SP1 (base development system). I am using a "Write to measurement fil express VI" inside a while loop and the data out from the DAQmn Read is wired to the signal in of the "Write to measurement fil express VI".
    The way I have wired it is the VI saves the data as a text file after it has recorded 100 samples (the nuber of samples to read in this case was set to 100). I would like to know if there is a way to control the rate at which the express VI saves the data. As in, I want the express VI to save the data at specified time interval or at every nth iteration. I have attached the main VI and its 2 sub-VIs for reference. Please let know if anyone can help me resolve this issue. Thank you for your time and inputs in this regard.
    Raj

    Robert,
    First, you must understand that the above code resides inside a loop. The blue square i terminal is known as the iteration terminal. It provides the current loop iteration count, starting from zero.
    The first input (x) to the Quotient & Remainder Function comes from this iteration count (i) terminal of the loop.
    The second input (y) to the Quotient & Remainder Function comes from the control N.
    We wish to write to the measurement file every N iterations of the loop. If we take our current iteration count (i) and divide by our desired N, every Nth iteration of the loop, the remainder will be zero. For all other iterations, the remainder will be non-zero.
    That being said, we check the remainder and compare it to zero. If it is zero, we will send a True value to the Enable terminal on the Write To Measurement File Express VI. Any time a True value is sent, we will write to file. Anytime a False value is sent, nothing will be written to the file.
    The green new_file input on the Write To Measurement File Express VI is used when the "Save to series of files (multiple files)" radio button is selected in the Configure dialog box of this Express VI. When "Save to one file" is selected, this option does not apply, and so it is not included in the input list, which is why you are not seeing this.
    This new_file input is used to tell the Write To Measurement File Express VI when to start writing to a new file.
     

  • Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q with a real time mode but it is not working but when i run it with uploading it into the PXI it save in to the file

    Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q and DAQ NI PXI-6229 with a real time mode but it is not working but when i run it without uploading it into the PXI it save in to the file please find attached my vi
    Attachments:
    PWMs.vi ‏130 KB

     other problem is that the channel DAQmx only works at real time mode not on stand alone vi using Labview 8.2 and Real time 8.2

Maybe you are looking for

  • Move an application from the "users" folder to the "applications" folder

    I downloaded 2 adobe trial applications to the "users" section of my drive due to the fact that I misunderstood the directions - I have not launched them as yet. Is it Possible to MOVE/DRAG the 2 applications to "applications" folder?  I am running M

  • AMule known.met.new No such file or directory

    Today I've seen that Kad doesn't have nodes and this message: 2012-02-06 20:33:07: Connected to Kad (ok) 2012-02-06 20:33:35: Error: Impossible to get permissions for file '/home/user/.aMule/known.met.new' (error 2: No such file or directory) Efectiv

  • How do I make firfox my home page?

    I have tried making Firefox my home page, with a toolbar, favorites, ect. But it won't let me. I have windows 7

  • Customizing PDF reports

    Hi all, How can I customize the PDF reports generated from "Print..." contextual menu? It looks like there's no template on the disk. Thank you, Andrei

  • Create a Invoice List by Bill-to only????

    Hi all- I am trying to create an invoice list per Bill-to rather than at the Payer level (which is where the factory calendar is assigned).  Has anyone had any success creating an Invoice List at the Bill-to level ONLY?  I've researched numerous OSS