Storage VIs internal error, TDMS file

I use LabView 8.5.1, DAQmx 9.0.2. and a module NI-USB6216.
I configure on my application a task as follows: 15 channels activated with a sample rate of 1sample/10s (very slow). My acquisition has to run for a few days or more.
Sometimes, I obtain the error  "Storage VIs internal" error (code -2500). then I cannot read my TDMS file (see attached the file) and I cannot treat my data.
Do you know the exact meaning of this error on the case of a TDMS file. Do yo have a solution to treat my data? 
Best regards, Daniel.
Solved!
Go to Solution.
Attachments:
Data.zip ‏436 KB

I tried with LabVIEW 2010 and didn't see the problem when reading your attached TDMS file.
Please download the latest TDMS installer from here:
http://zone.ni.com/devzone/cda/tut/p/id/9995
Please backup tdms.dll on your computer like in c:\program files\national instruments\shared\tdms\ and then run the installer.

Similar Messages

  • Internal error opening file with cs3

    Hi all,
    I can't open .png file created with fireworks cs3 :(
    I have error message (internal error...).
    I delete preferences, uninstall and reinstall software, but
    no solution.
    If someone can open it, thank you very much !!
    I spent lot of hours.
    http://img256.imageshack.us/img256/1935/testpagetu2.png

    quote:
    Originally posted by:
    no-repeat
    I've experienced this same issue twice
    FWIW, the error occurred upon save keystroke. Though I was
    drag/dropping .EPS files and pasting raster images into a .PNG at
    times --nothing unusual was going on when the internal error
    occurred --just pushing pixels and saving my work often.

  • ORA-00600 , Internal Error ,  Trace File and 50% CPU use HTMLDB library

    Hi HTMLDB team
    One HTMLDB allpication processes generated an ORA-00600 error as follows :
    ORA-00600: internal error code, arguments: [kohdtf048], [], [], [], [], [], [], []
    The Trace file is as follows :
    *** SESSION ID:(32.925) 2006-08-01 13:17:07.574
    *** 2006-08-01 13:17:07.497
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [kohdtf048], [], [], [], [], [], [], []
    ORA-06502: PL/SQL: numeric or value error
    ORA-06502: PL/SQL: numeric or value error
    ORA-06502: PL/SQL: numeric or value error
    Current SQL statement for this session:
    declare
    rc__ number;
    begin
    owa.init_cgi_env(:n__,:nm__,:v__);
    htp.HTBUF_LEN := 255;
    null;
    null;
    null;
    null;
    f(p=>:p);
    if (wpg_docload.is_file_download) then
    rc__ := 1;
    wpg_docload.get_download_file(:doc_info);
    null;
    null;
    null;
    commit;
    else
    rc__ := 0;
    null;
    null;
    null;
    commit;
    owa.get_page(:data__,:ndata__);
    end if;
    :rc__ := rc__;
    end;
    Also , this process has been consuming an unacceptable amount of cpu :
    18146 oracle 1 0 0 3924M 1840M cpu/1 167:24 49.62% oracle
    OEM reports the lastest SQL run by this process is the same as above.
    Is there anyway I could upload the trace file for you to have a look at ?
    Thanks
    Indira

    Hi HTMLDB team
    One HTMLDB allpication processes generated an ORA-00600 error as follows :
    ORA-00600: internal error code, arguments: [kohdtf048], [], [], [], [], [], [], []
    The Trace file is as follows :
    *** SESSION ID:(32.925) 2006-08-01 13:17:07.574
    *** 2006-08-01 13:17:07.497
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [kohdtf048], [], [], [], [], [], [], []
    ORA-06502: PL/SQL: numeric or value error
    ORA-06502: PL/SQL: numeric or value error
    ORA-06502: PL/SQL: numeric or value error
    Current SQL statement for this session:
    declare
    rc__ number;
    begin
    owa.init_cgi_env(:n__,:nm__,:v__);
    htp.HTBUF_LEN := 255;
    null;
    null;
    null;
    null;
    f(p=>:p);
    if (wpg_docload.is_file_download) then
    rc__ := 1;
    wpg_docload.get_download_file(:doc_info);
    null;
    null;
    null;
    commit;
    else
    rc__ := 0;
    null;
    null;
    null;
    commit;
    owa.get_page(:data__,:ndata__);
    end if;
    :rc__ := rc__;
    end;
    Also , this process has been consuming an unacceptable amount of cpu :
    18146 oracle 1 0 0 3924M 1840M cpu/1 167:24 49.62% oracle
    OEM reports the lastest SQL run by this process is the same as above.
    Is there anyway I could upload the trace file for you to have a look at ?
    Thanks
    Indira

  • Blu-ray Ojbect: slideshow raams, Error:"internal error 11" (file path not found), Code:11, Note ""

    I have no idea what is going on.  I have 8 slideshows in my Encore cs4 project.  I delete the one it says is bad and redue.  Then it goes to the next one and says this error.  The file that is being imported that is said could not find file path is right were all the other files are.  Any ideas?

    Encore Roxio component problem http://forums.adobe.com/thread/400484?tstart=0
    More on Encore and Roxio http://forums.adobe.com/thread/528582?tstart=0 or direct to
    http://kb.roxio.com/search.aspx?URL=/content/kb/General%20Information/000070GN&PARAMS
    Long File Names Cause Crashing http://forums.adobe.com/thread/588273
    Encore Tutorial http://www.precomposed.com/blog/2009/05/encore-tutorial/
    Also... the more DETAILS, the better... This is aimed at Premiere Pro, but may help
    A link with many ideas about computer setup http://forums.adobe.com/thread/436215?tstart=0
    Work through all of the steps (ideas) listed at http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with the DETAILS asked for in the FINALLY section, the questions at the end of the troubleshooting link... most especially the codec used... see Question 1

  • Editing String in.TDM file

    With Set Properties it is possible to add one or more strings to a .TDM file (or is it to another file that is linked to the .TDM file?). Similarly it is possible to read that string with Get Properties.
    My current impossibilities are:
    - If each measurement is appended to the preceding measurement how do I read a record that is not the last one saved?
    - If one or more strings has to be edited how can the modification replace only the affected strings? This implies a Read VI that is also capable to Write (replace).
    I am not finding much information on this file format and would appreciate knowledgeable insight.
    Regards,

    TDM = 2 Files
    The Storage VIs create a .TDM file (XML-based, for descriptive properties) and a .TDX file (binary, contains waveform / array data).
    One or many channel groups
    Each measurement can be appended to a file as a new channel group, or the values can be appended to channels that were stored earlier (resulting in one channel group per file). Use the "Always create new channel group/channel" switch to decide which way of appending data you want to use. You might want to use the "Data viewer" example shipping with LabVIEW to have a look at the hierarchy of channel groups and channels.
    Note that when appending values to a channel, "Write Data" uses the channel name to find the right channel to append data to.
    Get and set properties on particular channel groups
    To modify data on a particular channel group, you need to obtain a "storage refnum (channel group)" to this channel group. There are two ways of doing that:
    - Use "Read Data", configured to object type "channel group". The "channel groups" output will give you the array of refnums you need (the attached VI shows how to obtain and use these refnums).
    - Wire the "storage refnum (file)" that comes out of "Open Storage" to "Get Properties". The "channel groups" property will be an array of all channel group refnums in your file (the "Write channel groups" and "Read channel groups" examples shipping with LabVIEW show how to do that).
    "Read Data" should be used if you want to apply a query condition or if you are e.g. looking up channels across channel groups. "Get Properties" can give you all channel groups in the order they were stored in, or e.g. all channels of a particular group.
    "Read Data" and "Set Properties"
    "Set Properties" will replace all properties that you have selected and that show up on the block diagram as terminals. All other properties remain unchanged. The properties will be written only to the one file, channel group or channel that the incoming refnum refers to. "Read Data" doesn't write anything by itself, but you can use the output refnums of "Read data" to apply "Set Properties" to whatever you have read.
    Attachments:
    GetAndSetPropertiesInTdmFile.vi ‏115 KB

  • Timing problems reading tdm files

    Hello NI community,
    my first post because of a very annoying problem with the Storage VIs from the File I/O VIs and Functions palette. I spent a long time to create a program for analyzing tdm files and I spent almost the same time trying to fix this problem now
    My program opens a single tdm file, reads in the data and analysis it, displays the result (e. g. 10 DBL values) and closes the tdm file afterwards, then it opens the next tdm file... . 
    The Problem is, that the execution time increases permanently e. g. starting at 50 ms after 4000 tdm files read it takes about 1 s! So it takes days to read in more than 10000 tdm files. Also it takes many minutes to close the program after reading many (e. g. 4000) files!
    Maybe the Storage VIs store the data in the background on a server or something else and do not release this data after closing the tdm file.
    Has anyone an idea how to fix this problem? How to release all resources after closing the tdm file. Is there an alternative method to read in tdm files without using the buggy Storage VIs.
    Converting tdm to tdms does not help, converting time increases the same way.
    Wait time (0,5 s) after closing the tdm file does not help.
    Settings for tdm VIs: open (read only)
    LabView2011 SP1
    Thanks in advance
    Daniel

    Hello Norbert,
    thank you for your reply!
    Attached you´ll find a simplified example for testing.
    It reads the same .tdm file multiple times. The behavior is the same than in my application.
    Copy the files on your computer, select the correct folder for the .tdm file in the VI and press start. You´ll see the execution time for opening the .tdm file, for reading the data and also for closing the .tdm file rising.
    For example "Read data" duration on my computer:
    Loop #:     Duration 2:   Factor to duration at start:     Stopping program:
    1              19 ms                                                ​    < 5 s
    1000         42 ms         2
    2000         63 ms         3
    4000         101 ms       5
    8000         185 ms       10
    10000       222 ms       12                                        > 3 min
    The tdm-files I need to read in are with .bin data files and bigger. Reading lasts about 100 ms for the first tdm-file. The factor is almost the same like in this example. So it takes about 1 s after reading 6000 tdm-files.
    Best Regards
    Daniel
    Attachments:
    Read_tdmFileMultipleTimesTest.vi ‏876 KB
    Read_tdmFileMultibleTimesTest.zip ‏1265 KB

  • TestStand Deployment Error Code 1055 when using LabVIEW Storage VIs

    After a couple of days of playing with the TestStand Deployment. I final tracked down the VI that was causing this Error.
    It was using thethe LabVIEW Storage VIs to save data to a TDM file.
    My work around at the moment is to use a Wrapper VI and call this VI by reference.
    That way the TestStand Deployment can't detect the Storage VIs.
    I'm using LabVIEW 8.6.1 and TestStand 4.1.1 does anyone know if this issue has been address in TestStand 4.2?
    Looks like the upgrade might be worth it.
    Simon Holman
    Software Engineer
    Certified LabVIEW Developer
    Certified TestStand Developer
    measX GmbH & Co. KG.
    http://www.measx.com
    Solved!
    Go to Solution.

    Hi Simon,
    I tested your sequence file in TestStand 4.2 and I didn't get any error! Which version of TestStand do you have? Can you post a screenshot of the complete internal error pop up?
    Usually internal errors can be eliminated with the Clean Reinstall Procedure.doc, where you will remove all NI software and all references to NI software from your computer to start over with a fresh installation!
    I hope these informations help you!
    Best regards
    Suse
    Certified LabVIEW Developer (CLD)
    Attachments:
    Clean Reinstall Procedure.doc ‏32 KB

  • Tdm importer error when opening tdms file

    I am getting a error when trying to open a tdms file that had been opened by labview, written to, and then closed. The error is:
    USI encountered an exception:
    (175):Error while initializing interface
    I can sort of understand this error occuring when I have the file open in labview (actually I consider this to be a bug since there is no reason why another application should not be able to access a file in read only mode even if it is currently open by another application)
    but in my case I am definitely closing the tdms reference and it still will not import unless I stop the top level vi.

    It is a known bug that if you open a TDMS file with an option other
    than "read-only", no other process can get access to that file, even if
    it is just for reading. The issue is filed as CAR#  49794JWJ
    (status: fixed). This only applies if the file is still open, which you
    commented on, but which doesn't appear to be your actual problem.
    Apparently, you are using the Storage VIs to handle your TDMS files,
    otherwise you couldn't get a USI exception. Have you tried opening your
    file with the TDMS File Viewer on the TDM Streaming palette? If that
    doesn't work, please provide us with your TDMS file, and if possible,
    your VI. This would be a problem that we're not aware of at this point.
    Thank you,
    Herbert

  • .tdm file storage vi's slow editing vi's

    I am developing software using Labview 8.5 and have recently added some file storage vi's for the .tdm format for use in DIAdem 10.2.  Upon using the open storage, set file properties, write channel group, write channel, and close storage vi's, the editing has become extremely slow - for any operation I try to perform there is a 10-15seconds delay before it occurs.  If I remove the .tdm vi's from my diagram then the editing goes back to normal and changes/operations occur almost instantaneously as expected.  My project is not large as far as I am concerned (Front panel - 121k, block diagram=1538k, code=0.2k, data=957k, total=2617k, total vi size on disk=389k)
    I saw a similar post to the .tdm storage vi's causing this to occur back in 2005 and was supposed to have  been on the fix list but it does not appear that it has 3 years later.  I am sure many others are using these vi's so not sure what I may have done differently to cause the editing to slow down so much.  
    Anyone with ideas and fix would be greatly appreciated as I cannot afford to sit around 10-15 seconds for every step of my developement.

    Yes, sometimes Storage VIs are slow. But They are Express VIs, supplying the easy configuration for users. If you feel they are too slow, I suggest that you can use TDMS files instead.

  • Error -2500 while writing new channel groups / channels to tdm-file

    I'm creating a tdm-file using the express vis provided by LabView. Everything goes fine in opening the file and setting the file parameters.
    When i'm using the write data-express vi to create a new channel group and setting it's parameters i receive an "error -2500" accompanied with the call chain of the vi.
    I'm setting the parameters by using a terminal on the express vi and by using the value setting in the express vi configuration. Any ideas what might cause this error?

    I solved it. I made the error to begine some of the properties names with a number, eg. 1s for 1 sigma. I renamed them to sigma_1s and it works.

  • TDMS file error occurs after several hours

    I have a compiled LabVIEW 2010 SP1 executable running on a Windows 7 PXI computer that is occasionally producing the following error message:
    "LabVIEW: LabVIEW could not load the TDMS file component.
    The top-level VI <my VI's name> was stopped at unknown on the block diagram of  <my VI's name>"
    This program is interfacing with equipment under test over a number of PXI cards and ethernet connections. It alters inputs to the system based on script commands, while receiving and displaying outputs. During testing, state changes are sent to a TDMS file. The system can run for hours but will usually produce the above error message... eventually.
    The error seems to indicate that a LabVIEW file is missing, but the TDMS files are being created, so I may not be understanding the meaning of the error. Does anyone know what the actual cause(s) of this error message are?

    The code writes to the TDMS file using the "TDMS Write" VI from the TDM Streaming Palette. These write VIs are located in 12 different sub VIs in a program loop within my main VI. Every 50ms they execute, service the I/O,  and write to the TDMS file if data in the particular sub VI has changed state. Some are writing floating point numbers, most are writing strings. There are about 750 total channels being written. I know that posting the code would be more usefull than describing it, but I think posting the source code would be frowned upon by my company. There are over a hundred custom VIs and external hardware connections that are required to effectively run this code anyway.
    Regarding timing, there doesn't seem to be a particular amount of time that has to pass before this issue occurs. I was given a screenshot that shows the error occured after 11 hours of running. I was also told that the same error had occured about 6+ hours into a test once. I can say that this error doesn't seem to occur quickly, as in within the first hour or so. It seems to require long duration tests.

  • Error in open tdms file

    can some one help me why I get data type error when I want to open a tdms file by Read From Measurement File?I can open and view and analyse my file in diadem but I can't use them by labview!

    The Express VIs support only numeric channels, and some time stamp channels. The error you're seeing typically comes from files that contain string channels. You can double-check that by using the TDMS File Viewer from the TDM Streaming palette. The functions on the TDM Streaming palette (e.g TDMS Read) allow for easy access to particular channels, so you wouldn't have any issues with unsupported data types. You can check the "Write/Read Event Data" example VIs for more details on how to handle numeric and string channels in the same file.
    Hope that helps,
    Herbert

  • Error reading TDMS file with inconsiste​nd dt

    Hello all,
    I would like to ask your help to understand how to read a TDMS file which I am opening and closing based on a user input.  As a result the data in the TDMS file does not have a consistent time step, which may be causing my problem, but I really don't know.  I keep getting the error 2501, that I have an invalid reference. 
    Or, if I continue and bypass the error, the extract portion VI gives me an error stating that I need to define an integer multiple of dt.
    I am not sure how to solve the first point as I have the reference wired directly to the read TDMS vi.
    I have attached a screen shot of the error and the portion of the VI with the offending error (it is the code connected to the read TDMS read vi).
    My goad is to extract a portion of the data to do calculations on and display a result to the user.
    thanks for any comments.
    A. Lopez
    Attachments:
    error-2501.JPG ‏198 KB

    I think you open multiple times the same TDMS file, you should open it before the while loop. And I don't see a close tdms function...
    Also check for errors on the open TDMS function.
    Ton
    Message Edited by TonP on 02-14-2007 07:45 AM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • An internal error occurred while writing imported graphics in this document. The file has been saved

    An internal error occurred while writing imported graphics in this document. The file has been saved, but has lost some image data. Please report this error to Adobe Technical Support.
    How do i fix this, there are no images in the document
    thanks
    emma

    We are running FM version 7.2b144 on MS Win xp Pro (32 bit), and I did not notice this until service pack 3 was installed. I believe I have found a work around to the situation and another contributing cause. If graphic files are placed directly in an anchored frame instead of importing by reference, the file somehow becomes misplaced. If you right click the graphic and open the Object Properties dialog box, and see the phrase "no referenced file" below Main Editor: Referenced File: in the lower left hand corner, this has happened. I found if I removed all graphics files without references and imported them by reference, the source file may then be properly saved. I am also using a program called CCleaner, which removes cookies, temp files, browsing history and the like from a system. If the program settings are chosen too aggressively, and the application runs when FM has a file open, this same error will occur, even if all files are referenced properly. I don't know if SP3 has some similar application which is now running in the background and causing this.
    To summarize, if you want to retain SP3, I have eliminated this error by confirming the links to referenced graphics files and avoiding using 3rd party "cleaners" while FM is open.

  • I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a H

    I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a HP ENVY Phoenix, fully loaded, 1 1/2 years old.

    Nevermind I fixed it. Thank you.

Maybe you are looking for

  • Install disk doesn't work with Windows Vista

    I just bought a new HP Color LaserJet Pro MFP M277dw and the install disk isn't compatible with Windows Vista.  Apparently there's no ful feature option for Windows Vista on an HP laptop.  After several hours of work I downloaded several drivers and

  • Basic dreamweaver question: My website looks messed up in certain browsers, help please

    I made what I thought was a great web design in Dreamweaver, I uploaded to a company called Hostmonster and it looked really good on my Firefox browser, however when I looked at in Explorer it was jumbled and even on my friends Firefox page on his co

  • Links in detailed navigation

    how do i add new links in the detailed navigation section? is it added in workset or page?

  • Problem appear after installed os x lion

    I just bought my iMac three weeks ago. This is my first apple's product and i really love it. But after i installed os x lion, my beautiful machine just turn into nightmare. Everytime i am turning on my iMac, i need to restart it. It is because, some

  • Serial upgrade not working

    I just day's ago bought Final Cut Studio 2 to upgrade my Final Cut editor as I primerilly use a G5 as my main machine and a Mac Book Pro for on-the-go editing. So I decided to get a Legal Copy of Final Cut Studio 2 Upgrade.   However now as I go thro