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

Similar Messages

  • 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.

  • 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.

  • 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

  • How does DIADEM import TDMS files? How gets every channel his number and groupindex? How can I determine which channel has which groupindex and number?

    I store different channels in a TDMS file.
    I like to have a time channel at the first position with group index 1 and number 1.
    When I read the TDMS file with DIADEM the time channel (Float64) is on a differernt position, and the channels are not sorted alphabetically.
    Here are my questions:
    How does DIADEM import TDMS files?
    How gets every channel his number and groupindex?
    How can I determine which channel has which groupindex and number?
    Best regards
    Joerg

    Hi Jörg,
    i suppose that you´re programme whose create the *.tdms file is writing on false position. Try to create datas with timechannel on first indes in diadem, then save it and then open it again. you see that all is correct. So please tell me what programm in what version do you use and please attache it here.
    Did you use the library for creating *.tdms files like in the link ?
    http://zone.ni.com/devzone/cda/tut/p/id/6471
    Here you find the gtdms_8.x.zip - when you extract it and opened the *.llb you find vi´s for all functions e.g. writing 2d array of strings to *.tdms file
    when you open the subvi´s then you see how created and writing datas/structure to *.tdms files. Because *.tdms is binary you can´t see structure with open it in editor.
    When you don´t have Labview you can use the 30 days test of current version 8.5 under following link
    german version download link
    https://lumen.ni.com/nicif/d/lveval/content.xhtml
    english version download link
    https://lumen.ni.com/nicif/us/lveval/content.xhtml
    Hope it helps
    Best Regards

  • How to import MXF files to Final Cut Pro with smooth editing

    Summary: Follow this tutorial to learn how to import and edit MXF files in Final Cut Pro by converting MTS to FCP native format.
    If you have a Panasonic P2, Canon XF or Sony XDCAM series camcorder,
    you may be familiar with Material eXchange Format (MXF). Though MXF is a
    great video format to record high-definition videos, it is not easy to
    use in that they are not natively supported by most NLE systems like
    Final Cut Pro. In order to import MXF to FCP for editing, the easy workaround is to transcode MXF files to FCP compatible video formats.
    Along with some help from a top MXF Converter, it can be done. To
    help those who wanna edit MXF files in FCP without problems, here I
    share with you a simple guide on how to convert MXF files to edit in
    Final Cut Pro 6/7 or FCP X.
    First of all, downloading the App- Brorsoft MXF Converter for Mac
    Overall, the program is a professional yet easy-to-use MXF Converter
    on Mac (Mavericks included) which can not only convert XF100, Canon
    C300, XF105 and XF305, Panasonic P2 recorded MXF files, but also provide
    simple video editing functions for you. The MXF to FCP Converter not
    only can convert MXF to ProRes for FCP, but also can transcode MXF
    videos for editing in Avid MC, Adobe Premiere Pro, iMovie, FCE, etc.
    Just download it and follow the tutorial below to get the work done.
    Transcoding (P2) MXF files to ProRes for Final Cut Pro 6/7/X
    1. Import MXF files to the converter
    Launch the best MXF to FCP Converter, and then click the “add files” button to browse and import MXF videos from your camcorder or hard drive.
    2. Select FCP editable format
    Click the Format bar, and move mouse cursor to choose “Final Cut Pro > Apple ProRes 422 (*.mov)” as output format.
    Tips:
    a. Settings- click to set video
    resolution(1920×1080/1440×1080/1280×720/720×480), bitrate (from 1Mbps to
    20Mbps), frame rate (24p/30p)
    b. Editor (next to “Add” icon)- click to set deinterlace, trim, crop, add effect, attach subtitles, etc
    3. Start transcoding MXF video to FCP
    Click “Convert” button to start converting MXF files to Apple ProRes
    MOV for FCP 6/7/X under Mac OS. Once the MXF to ProRes 422 conversion
    is done, you can transfer MXF footage into Final Cut Pro (X) for editing
    smoothly on Mac with ease.
    Source:How to import MXF files to Final Cut Pro with smooth editing
    [quote] jacknjchn.tumblr.com/post/76914947404/cant-import-mxf-footage-to-fcp-transcoding-mxf-to-fcp [/quote]

    You may refer to this step by step guide on how to convert MXF to Final Cut Pro more supported Apple ProRes or DV at http://www.idealshare.net/imovie-fcp/mxf-final-cut-pro.html
    It also applies to convert MXF to other video or audio format. It even applies to convert other videos like AVCHD, MOD, TOD, AVI, and MPEG etc to FCP format.

  • How to import WAR files in NetBeans 6.1?

    Please any one tell me how to import WAR files in NetBeans 6.1?

    I have been using NetBeans for so many diff project but till now i didn't get chance to import WAR. But there i tried one wat as follows:
    New Project -----> Enterprise ----> package Archive ...... it shows me creating project bar at right bottom bur i cannot see any such project at project window as weel as specified location pecified at the time of creation.

  • How to import .pdf files into iBooks?

    How to import .pdf files into iBooks?

    Or send the file from your computer to your ipod by emailing yourself the pdf. Then if you open the Mail client and you open the pdf there is an option to select open in ibooks. It will save it to your device for remote viewing.

  • How to import DivX files???

    How to import DivX files??? File format not supported... Adobe Premiere Pro CS4.

    I am with you, as I get handed all sorts of "stuff." I have a normal workflow, with about anything but DV-AVI (I only do SD for now), and that is do a batch conversion with DigitalMedia Converter. I have also found that some other NLE's are more lenient, regarding odd CODEC's. I have used PrElements, CyberLink PowerDirector (does DivX pretty well, with the CODEC installed) and Magix MovieProducer Pro.
    Still, PrPro is my NLE of choice by a great stretch, and I just use the others as tools to get the media in the proper form. I have been amazed at the spectrum of formats/CODEC's that people come up with, but also by how well (when you factor out those heavily compressed deliver-only format/CODEC's and the quality loss) I can convert, and then edit some of this stuff.
    It's just the way that it goes. It's like the client, who comes in with a DVD, created in some DVR unit, and wants it edited and shipped off on another DVD. Quality loss with 2x MPEG-2 Transcodes, and the first VOB is going to also have cr*p Menus and navigation, that I have to rip around. Still, the job gets done.
    With the Moyea FLV Importer for Premiere, I can even edit that junk, when they pull something off of YouTube (only if the © issues can be handled).
    Good luck, and sorry for the bad news. PrPro is very sensitive to the CODEC's that it will edit with. Others, well not so much, but who would want to edit with them?
    Hunt
    [Edit] PS - I have never been able to Export to Xvid, though I can Export to DivX just fine. Xvid hangs PrPro, and PrE too.
    Message was edited by: Bill Hunt - Added [Edit]

  • How to import multiple files to the frame area?

    How do I import multiple files to create animated GIF's. I
    know how to import multiple files into the Fireworks, but if I'm
    trying to create an animated gif that has alot of files, How do I
    get them into the frames area. It is really a pain importing each
    and every file one at a time frame by frame

    merry1
    after you bring in all your images to the canvas, select all
    and in the
    Frames Options drop down, select Distribute to Frames.
    You can bring multiple images onto the canvas by copy and
    pasting from
    the folder(s) where they exist.
    alex
    merry1 wrote:
    > How do I import multiple files to create animated GIF's.
    I know how to import
    > multiple files into the Fireworks, but if I'm trying to
    create an animated gif
    > that has alot of files, How do I get them into the
    frames area. It is really a
    > pain importing each and every file one at a time frame
    by frame
    >

  • How to import *.dmp file Through Oracle SQL Developer (3.2.20.09)

    hi
    how to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ?
    how to do it ?
    thanks

    You do not.
    .dmp files are created from our Export and Data Pump database utilities and are proprietary files. You use the corresponding Import (or Data Pump) utility to import the data.

  • How to import WMV file for use in adobe programs, especially After Effects and/or Premier?

    How to import WMV file for use in adobe programs, especially After Effects and/or Premier?

    I have the latest adobe creative cloud and i'm using Mac 10.8.2
    My client gave me a wmv file that she wants some people blurred out in the background but when I go to import the media, it's greyed out. I'm assuming that After Effects will be the best solution for this, but maybe there is another way.
    I can purchase a video converter and convert it to .mov but that costs extra money that I don't want to spend just to do this one project.

  • How to Import .txt files in ORACLE having 300 thousand records

    How to Import .txt files in ORACLE having 300 thousand records. Kindly help me in that context

    You can make use of Sql*Loader utility and You can also use External table technique for this puspose.
    For external table go through this link.
    http://www.oracle-base.com/articles/9i/ExternalTables9i.php
    Regards

  • How to Import AVCHD Files?

    I recently purchased a Sony HandyCam HDR-SR10 Camera. I love the camera overall but now i have video files that i need to put on my computer. After speaking with Sony Support they said that in order to transfer files i must use the camera as a hard drive basic stuff just click and drag. However i ran into the problem that all of my AVCHD Files were not able to be opened by any program. After reading up and looking around i found that it seems Final Cut Express 4 now has the ability to import AVCHD files DIRECTLY from the camera to Final Cut Express... I really would like to know how to do this in Final Cut Express.... Any Help, Insights, or Tutorials, would be GREATLY appreciated. I really just need to know how to import the files to my computer and be able to edit them.....
    -- thanks in advance.... charlie

    For starters, watch the FCE4 Built-In AVCHD Quicktour
    There are tutorials also.

  • How to Import Transport Files to SAP System

    Hi Experts,
    I have installed BO XI R3.1 SP3 Integration tool kit for SAP Solutions with Java Connectors.Now i can able to see SAP after login into the CMC. I have installed prerequisites like SAP GUI,Xcelsius,BO XI 3.1 Enterprise.
    1)Can you please tell me how to import transport files to SAP System?So that i can connect to BW to Bo environment.I am unable to understand the process to do above task form pdf.

    Hi Venkat,
    in case you have never done that before I would suggest you talk to the basis admin person and let him do it.
    ingo

Maybe you are looking for

  • Open,cleared,all items

    hi in SD related reports i was asked to create a new development based on fbl5n and the selection screen shud remain the same, in that way there are many options for status like,open item, cleared item,all items and type like ,normal,g/l ,noted,parke

  • Xml report getting errored out

    hi friends i have one custom xml report with ten parameters whenever i submiteing concurrent program with mandatory paramas it will getting succesfully completed without requirement out put. Again whenever i submiteed program with mandatory params an

  • Hard drive problems on B575

    I bought a B575 around Christmas time. Everything has been working great up until today. I ran the OneKey Recovery, and everything worked as expected. I shut the computer down after it was finished and I was at my Windows desktop. A couple hours late

  • How do i get itunes to download on my external, and not my desktop?

    I've been trying to get iTunes to download in my external hard drive instead of on my desktop; but every time I download iTunes it starts downloading automaticly onto the desktop. I don't have enough memory on my desktop to transfer all my music onto

  • Building AS3Crypto Question

    I am trying to build Crypto using the instructions in the readme file, but I think I might be missing something. I unzipped the OpenSSL library to my temp drive, opened cygwin and navigated to the directory. The instructions start with: You should co