Request for TDMS files (testing Matlab importing code)

Dear all,
I'm currently working on modifying the example 'ReadFile.m' that comes with the .dll from NI. I have got to a stage that I'm reasonably happy with, imports multiple groups with multiple channels of different sizes. Can import timestamp data, extra file properties.
I will post up the completed code eventually but I wanted your help by sending me random formats of TDMS files, I have tested a few different formats, but mostly of my own concoctions so they may not cause errors that I need to make the code more robust.
Any help appreciated sending TDMS file. Obviously don't send any data that you don't want the world to see.
Many thanks in advance
Pete
Pete
Systems engineer (CLAD LV2013)

Hi Pete,
Not sure if there's anything in particular which you were looking for, but please see attached for a quick TDMS file I put together. It's a pretty basic file with random numbers, but hope it helps.
Attachments:
TDMS File.zip ‏442 KB

Similar Messages

  • Read TDMS file in MATLAB on x64 Windows

    I have read many posts on this forum regarding reading TDMS files in MATLAB, but the DLL available only works on 32-bit windows. Has anyone come up with a 64-bit DLL? I know there is some MATLAB code available to read the file as binary but it would make everything faster for me if there was already a DLL similar to the 32-bit version. Plus, using C code would be better since I want to read the file continously (perhaps every 2 seconds) in MATLAB for real-time analysis.

    As of now, there is no support for 64 bit but it is a possible feature for future releases. Keep an eye on the DLL download page for new versions.
    Sappster

  • How to Read TDMS Files in Matlab in OSX

    Using the example found on the NI website (http://digital.ni.com/public.nsf/allkb/0EEADA99DC​7D00A4862572E30037C3A2), I am able to read my TDMS files into Matlab when using a PC.  However, when I try to read them on my Mac, I receive an error:
    ??? There was an error loading the library "/Applications/MATLAB75/work/TDMS_files/dev/bin/ni​libddc.so"
    Error using ==> loaddefinedlibrary
    dlopen(/Applications/MATLAB75/work/TDMS_files/dev/​bin/nilibddc.so, 1): image not found
    Error in ==> read_tdms at 21
    loadlibrary(DLL_Path, H_Path);
     My best guess for this error is the fact that Matlab operates through a Linux interface on Mac, which I found will open the file type .so and not .dll for this type of library.  Is there some way to get around this in OSX and get it to read the .dll files?  Or is there some way to get the libraries as .so files instead of .dll files?
    Thanks for any help!
    -Shelby

    Shelby,
    You may wish to look at a Matlab script another user wrote since they were having issues with NI's matlab support:
    http://forums.ni.com/ni/board/message?board.id=170​&view=by_date_ascending&message.id=318487#M318487
    The script supposedly converts TDMS files directly in Matlab with no use of NI generated external DLLs.  He was having issues because the NI tools hadn't been updated for the new version of Matlab.

  • Error: 400 "Bad Request" for "deletetree", file "": Unsupported protocol .

    Hi 
    I have an C# application suddenly crashing after months of operation. The application is running on a Windows7 machine and is controlling 2 x NI6602 PCI counter cards through daqmx. The only clues to what when wrong is the following messages in the Windows Application Log.
    Message 1 (occurring first):
    LabVIEW information:  Error: 400 "Bad Request" for "deletetree", file "": Unsupported protocol       .
    Message 2:
    Faulting application name: RecordingStationGUI.exe, version: 1.0.0.0, time stamp: 0x4e3fa214Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaaeException code: 0x80000003
    Does anyone know what is causing this error and/or how I prevent this from happening again?
    Regards,
    mola

    Where you ever able to resolve this issue?  I have a very similar issue

  • Does anyone know how to read in a TDMS file into Matlab?

    I am trying to read a TDMS file into Matlab. Are the two compatible? How can I import this file into matlab?

    A search can turn up wonderful things, such as:
    Reading TDM/TDMS Files with The MathWorks, Inc. MATLAB® Software

  • I can't import MXF files shot on a Canon C300 into FCP 10.1.2.  I have the Canon plug in for MXF file to FCP import but FCPX still doesn't recognize MXF files when I try to import. Premiere works fine importing MXF on the same computer.

    I can't import MXF files shot on a Canon C300 into FCP 10.1.2.  I have the Canon plug in for MXF file to FCP import but FCPX still doesn't recognize MXF files when I try to import. Premiere works fine importing MXF on the same computer.  Any help is appreciated.

    Russ and Luis,
    I did uninstall and re-install Canon XF Utility and the Canon FCPX plug in.   Still no luck.  I checked the CanonXF64.RADPlug folder is on my computer in the Rad Plugins folder in application support  This is where it is supposed to be as far as I can figure out. 
    Another piece of the puzzle is that  footage shot on a Canon C300 in 2013 and  I reimported today and it DOES import into FCP10.1.3.   Footage shot on a different Canon C300 filmed this summer will NOT import into FCPX.  The latter will import into Premiere. But I am trying to work in FCPX, but maybe I shouldn’t be??
    Any ideas?  (screen shots below)
    Thanks.
    Peace, Huey
    FYI Here is what Canon says
      "There is another trick that works sometimes though.  Try uninstalling the plugin and XF Utility.  Then, install the latest XF Utility, followed by the plugin, in that order."
    I did do this but no results.  Otherwise they say I need to wait for a new plugin.
    Here's 2014 Canon C300 files does NOT import to FCPX
    Here's 2013 Canon C300 files does import into FCPX.  I thought it was Contents folder but another set of footage shot on C300 does import and there is no contents folder for that. 

  • Channel count limit for tdm files

    Hello,
    I have not been able to find any documentation listing the maximum number of groups, channels/group for tdm files.  Does anyone know these values, or a document that lists them??

    Hello CAN_man,
    There is a DevZone document on the topic of TDMS files that can be found at the following link: TDMS File Format Internal Structure
    The document contains the answer to your question, and states that:
    "Each file can contain an unlimited number of groups, and each group can contain an unlimited number of channels."
    Please let me know whether you have more questions!
    Kameralina
    Ask NI (ni.com/ask)
    Search The KnowledgeBase
    NI Developer Zone
    Measure It. Fix It. ni.com/greenengineering/
    NI Vision ni.com/vision/

  • Reading TDMS files in Matlab - problems with the example code

    I want to use the TDMS files to store data and do offline analysis in Matlab, version 2009b (either on Mac OS10.6 or Windows XP).
    To test the data import in Matlab I tried the example from http://digital.ni.com/public.nsf/allkb/0EEADA99DC7D00A4862572E30037C3A2 , but without success.
    I tried either with and without the path definition (as explained on the page I referred to before) at the start, and got back the following errors:
    with:
    ??? Error using ==> loadlibrary>deltempfiles at 559
    nilibddc_m.i.
    Error in ==> loadlibrary at 452
        deltempfiles(delfiles);
    Error in ==> Read_TDMData at 7loadlibrary([examplePath '\nilibddc'], hfile);
    without: 
    ??? Error using ==> loadlibrary>deltempfiles at 559
    nilibddc_m.i.
    Error in ==> loadlibrary at 452
        deltempfiles(delfiles);
    Error in ==> Read_TDMData at 36loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path); 
    I found a few messages on the issue, dating from 2006 and 2007, that didn't lead to a satisfying solution and was hoping that, by now, there would be a solution to my problem.
    Thanks a lot
    Remco   
    Solved!
    Go to Solution.

    Hi Musk,
    Thanks for your answer. 
    Unfortunately it didn't help as my problem is not discussed there. I have a problem with this line:
    loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path);
    I said before that I was using 2009b, but I was mistaken, I have R2008a, but the 'loadlibrary' is opened in a 2008b editor (no idea why). On the Mac I have 2009b installed.
    Thanks
    Remco 

  • How to import .tdms file to Matlab running in Unix system?

    I was using DAQmx to acquire 16 channels of sampled data to .tdms format and later on will need to import the data to a Matlab programme. My question is, the Matlab we have is installed in a Unix system. But the tdms to Matlab example given in NI website, as in the link below, has problem when i run it in Unix system.
    http://digital.ni.com/public.nsf/websearch/0EEADA9​9DC7D00A4862572E30037C3A2?opendocument&Submitted&&​...
    Errors occurred in the "loadlibrary" function. I was told that in Unix system, a different file instead of .dll file shall be used?
    Can anyone make an example to read tdms data,  that will work in a Matlab installed in Unix system?

    I have plenty of experience working in LabVIEW and with TDMS however very little in using it in other software. I have downloaded the example code on this end but since I don't have your software installed on my machine, there is not a ton I can do in walking you through it. However, I understand this is a very helpful newsgroup for that environment.
    Since you said you modified the header, to make sure everything is in line prior to entering other program, this is a good resource on the TDMS file structure.
    Logan H
    National Instruments
    Applications Engineer

  • Import tdms file into matlab

    Hello,
    I would like to import tdms file (Labview version 2009) into Matlab (R2012a). I tried to follow a few solution given in this forum, however I couldn't find any that could help me.
    I hope anyone can give guidance on how to import these file.
    Many thanks
    Best regards
    Hafisoh

    fie wrote:
    Thanks to all for the advice.. 
    If you really want to thank them, give them kudos, and mark the answer to the question.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Reading TDMS files in Matlab

    I am trying to read TDMS files directly into Matlab using the NI  nilibddc.dll. I have read most of the posts on here but still have a problem...
    Within Matlab I can open and read a file and get the data but I cant find anything that tells me what the sample interval (between samples) is for a particular file. I guess its in the header somewhere but how do I access it?
    I cant find anything that tells what function to use to get it from the header.
    In fact i cant find anyhting that tells me what the functions are in the DLL.
    I tried opening the CHM help file, this has a list of all the functions but when you click on one in the contents it reports 'the address is not valid'. It seems the link is borken somehow in the help file (this is on XP)!
    any help gratefully receieved!
    mike

    hi mike,
    if your data is stored in form of waveforms, this information can be retrieved from the channel:
    Entity
    Property
    Data type
    Description
    tdm_channel
    wf_xname
    string
    Name of the x-channel of the waveform
    tdm_channel
    wf_xunit_string
    string
    Unit text of the x-channel
    tdm_channel
    wf_start_time
    time
    Time stamp for the waveform
    tdm_channel
    wf_start_offset
    double
    Starting offset (to be added to the time stamp)
    tdm_channel
    wf_increment
    double
    Increment
    tdm_channel
    wf_samples
    long
    Number of samples in one shot (needed by LabVIEW when concatenating
    more consecutive shots). This property is used by DIAdem and DataFinder to decide whether the tdm_channel is a waveform (wf_samples > 0) or not (wf_samples = 0, or not existing).
    tdm_channel
    wf_time_pref
    string
    (enum: "absolute" or "relative") Additional information for LabVIEW to
    determine if the x-channel is treated as time (absolute) or as index
    (relative). (not available in LVM)

  • DIAdem 2012 displaying all channels as "Noname" for .tdm files

    Hi
    I'm experiencing a problem with DIAdem 2012 when opening .tdm files. 
    I've reinstalled all NI software components, and still the problem remains.
    All channels are displayed as "Noname", "Noname_1" etc.
    Even worse, all values are displayed as either "0" or "NOVALUE".
    See attached image for example.
    The attached image is displaying the "Example.tdm" file which is opened by default when starting DIAdem.
    When opening the "Example.csv" file the problem is not there (channels have names such as "Time", "Velocity" and values).
    So what could be the problem related to reading/loading .tdm files? (Note, as I said, I just reinstalled DIAdem from scratch)
    Attachments:
    DIAdem_noname.jpg ‏270 KB

    Hi salte,
    "TDM_DataPlugin" is the default name that the ASCII DataPlugin Wizard would give to a DataPlugin you or someone else created to open files with a "*.tdm" file extension.  I'm betting that's where it came from-- the behavior you see in the Data Portal is also consistent with loading a TDM file as if it were an ASCII file.  DIAdem does not install this DataPlugin, and I highly recommend that you remove it.
    To remove the DataPlugin, go to the DataPlugin dialog, select the the "TDM_DataPlugin" in the list, and hit the red "X" icon or the <Delete> key on your keyboard.  To get to this dialog first start in either the NAVIGATOR or SCRIPT panel, then depending on your DIAdem version select one of the following two menu paths:
    "Settings >> Options >> Extensions >> DataPlugins..."
    "Settings >> Extensions >> DataPlugins..."
    Once you've removed the "TDM_DataPlugin", you will again be able to drag TDM files from the NAVIGATOR tree view into the Data Portal.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Schema (*.xsd) for TDM file format?

    Our application (written in C#) has to...
    - parse the TDM file for specific information
    - edit the content of specific tags on the TDM file
    We use the normal MS XML engines to process the xml information in the TDM.
    Question: Is there an xml schema (*.xsd) available for the xml tags inside the TDM that we can use to...
    - validate the TDM
    - know which values are allowed inside the tags?
    So far I found nothing that would help me during my two day cruise thru internet, zone.ni.com, Online-Help.
    Thanx, Oliver Thost.
    red-ant measurement technologies and services e.k.

    Hello Mr. Romainczyk,
    Thanx for your reply to our post at zone.ni.com.
    My Email: [email protected]
    - We are NI customer in Germany.
    - We bought DIAdem SSP contract to our new DIAdem 9 license.
    - We also have bought LabView Developer Suite 1 year subscription.
    - We program a LV application for PXI 8186 controller.
    I also started a SSP technical query via telephone concerning the same topic but until now there is no answer.
    In our project we need technical information concerning the TDM file format since we will develop an C# application that works with TDM files.
    From the beginning:
    1) Our LV application logs vibration measurement data (multiple channel) into multiple WAV-files that are referenced channels for the TDM.
    2) So DI
    Adem is able to directly read and process the WAV-data via TDM.
    3) The third application (written in C#) has to read the TDM information and�
    - delete one channel or
    - change axis names or
    - change samplerate for one channel or, or, or�
    That�s why we are searching for a complete technical description of the TDM xml-schema:
    - Description of all available tags
    - Summary of all allowed data inside the tags
    and so on
    We already have the description for the DAT format.
    Best regards, Oliver Thost
    red-ant measurement technologies and services e.k.

  • Batch Rename with additional "."s, drops the file extension. Request for "Keep File Extension" option...

    I NEVER name files with extra "." s in the name. I realize that all OS's (even Windows) will recognize it, but I haven't gotten out the old mindset of 8.3 filenaming... Although I do use longer names. So... I was surprised to see that when I was renaming files as per a clients naming preference to add a period within the name, the file extension is removed.
    For example: 
    original file -  2014_10_31_1643.CR2   when batch renaming to "2014.31" + sequence, drops the "CR2" extension.
    but.... if I change it to "2014_31" + sequence, the ".CR2" remains
    Since adding multiple "." is a legitimate naming convention, shouldn't the file extension remain?  Or, possibly this could be made more flexible by adding a check box "Keep file extension"
    just a thought.

    Refer to this stackexchange article:
    http://apple.stackexchange.com/questions/47319/how-can-i-make-os-x-recognize-new -file-extensions
    The finder will only select the filename only for "known" file types.

  • TDMS : How to set the background colour programatically for .tdms file

    Hello every one 
    is there any method to set the background colour of .tdms file programatically
    Thank you
    Raja

    Hi Raja,
    "TDMS" is a file on your harddisc. How should a file have a background color?
    Or the other way around:
    How do you set the background color of a simple text file?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • How do I fill by chunks a clob inside a table while XML is generated?

    Hello everybody: Needed to generate a single XML file from around 50 million rows, where the XML ouput matches not only row data but another default values for another elements and attributes (not from database but using strings and types with defaul

  • Collect data from a dynamic XML file into multiple internal tables

    I need to convert the XML file into multiple internal tables. I tried many links and posts in SDN but still was facing difficulty in achieving this. Can some one tell me where I am going wrong. My XML file is of the following type.It is very complex

  • Problem with SCA check in

    Hello, I am trying to configure the NWDI. I have configured the SLD and have created Domains and Tracks. I am now trying to check in SCAs through the Transport studio but I dont find any SCAs to check in. I read in some of the posts that we need to m

  • How to reduce the number of back-ups

    Is there are any way I can only back-up once a day, rather than every hour? I would like to set TC to backup only once a day, every night at 3 in the morning.

  • Test scenario for payslip testing

    Hi, please send me some test scenarios for payslip by which payslip can be affected. eg. retro. means if retro will run then it will affect payslip. Also send me some unit test cases in case of any payslip requirement. Regards