DAQ 6008 and tdms file

Hello,
how can I make a recording an analog input in first .tdms file (for example in 1 second) followed by a recording in another file (for example in 1 second)?

The simplest would be to configure the DAQmx Streaming feature to write your analog reads to a TDMS file.  You can use a DAQmx Read property node to set the number of samples to put into each TDMS file.  A new file will automagically be created once that number of samples have been streamed.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • RunTime Engine and Tdms Files

    Hello,
    I have built a application with Labview 8.2.0, NI DAQmx 8.3 and NI USI TDMS
    Plugin 1.0.
    My appli work very good on my developpement computer, but when I install the
    appli on computer with RunTime Engine 8.2.0, NI DACmx 8.3 and NI USI TDMS
    Plugin 1.0, I have a error. If I use RunTime Engine 8.2.1, NI DACmx 8.5 and NI
    USI TDMS Plugin 1.0, I have a error to.
    The error is 2500.
    How I can use my appli with a run time ????!!
    Thanks

    Hello,
    I suggest you to reinstall everything on the second machine, because what you did seemed to be the right thing to do, you must install the same run-time version as your LV version (what you did at first) and every soft or plugin you VI needs.
    I really think it will work...  (I hope)
    Regards
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

  • NI Daq 6008 and Labview

    hello;
    For the NI 6008 card sampling frequency equal to 10 kS / s and it has 8 analog inputs, but if I will use the 8 analog inputs simultaneously, what is the value of the new échantionnage frequency for each input analog obtained during an acquisition in labview?

    The data sheet also says the maximum sample rate for multiple channels is 10kS/s aggegate.  I take this to mean that the entire channel sweep is done at 10kHz.
    You could always try it and see what happens.  Read all 8 channels as a waveform with the sample rate set to 10KHz and see what the dt is in the waveform.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • TDMS file viewer used in a dialog

    I would like to use TDMS file viewer inside a dialog VI. The problem occurs if I change VI properties -  Window Appearance - Window Behaviour to MODAL (It should be modal).
    When I click the button and run TDMS file viewer both windows (my VI and TDMS file viewer) become modal and "lock" each other: I cannot control any of them.
    Is there a possibility to use TDMS file viewer as a dialog ?
    Thanks in advance,
    Ljubo.
    Solved!
    Go to Solution.
    Attachments:
    Dialog_diagram.jpg ‏23 KB

    Hi James,
    I tried your VI. It works unless I change VI's properties. I would like it to be a dialog VI. Why ? This VI should be a small part of an application which is used to analyze a set of TDMS files. When this VI is called no other window should get focus. User should have a possibility to check briefly all the properties (acquired signals are not so important in that case). Using TDMS File Viewer is the most simple way to do it because it can read TDMS files with different set of properties and because it show all the proerties in a nice "tree structered" diagram.
    So I set VI's properties as it is mentioned in my post: Window Appeareance = Dialog. 
    In that case VI window and TDMS File Viewer window are modal and they "lock" each other.
    Your VI is attached (property "Window Appearance" is set to "Dialog").
    Regards, 
    Ljubo.
    Attachments:
    TDMS Viewer.vi ‏13 KB

  • NI daq 6008 simultaneously analog input

    Hello;
    For the NI 6008 card sampling frequency equal to 10 kS / s and it has 8 analog inputs, but if I will use the 8 analog inputs simultaneously, what is the value of the new sample rate for each input analog obtained during an acquisition in labview?
    best regards.

    Duplicate post - http://forums.ni.com/t5/Multifunction-DAQ/NI-Daq-6008-and-Labview/m-p/3095362

  • How can I read in a TDMS file into Sound and Vibration Assistant

    I have recorded a signal from 2 channels from a PXI 4496 DAQ card. I recorded this signal with the TDMS file format from a VI in Labview. I would like to import these signals into the Sound and Vibration Assistant for freq. analysis. In sound and vibration assistant there is an import logged tdms from signal express but I can not seem to import my original signal?  How can I import this data? 

    Hello All,
    I am trying to read TDMS file using LABVIEW. The TDMS file is created by me for reading data from one wire devices.
    I have created simple vi. attached below which read data from TDMS file. I am able to read other tdms files, I have with this program but not which one created by me. I am not able to attach file with .tdms exentiont. So I have attached it with .xlsx extention. Can anyone please guide me where is the problem in TDMS file? Am I missing anything while creating it?
    Thanks
    Attachments:
    EditTDMS (1).vi ‏14 KB
    data.xlsx ‏17 KB

  • How can I open a tdms file and replace a subset of data then save that change without re-writing the entire file again?

    Hi all,
    Is it possible to open a tdms file and make a small change an an array subset then save the file without having to save the whole dataset as a different file with a new name? That is to say, is there something similar to "Save" in MS Word rather than "Save As"... I only want to change a 1D array of four data points in a file of 7M data points.
    I am not sure if this make sense? Any help is apreciated.
    Thanks,
    Jack

    You can use either one, but for your application, I would use the synchronous.  It requires far less setup.  When you open the file, set both enable asynchronous and disable buffering to FALSE to enable you to use synchronous with arbitrary data sizes.
    Attached code is LabVIEW 2011.
    This account is no longer active. Contact ShadesOfGray for current posts and information.
    Attachments:
    UpdateTDMS.zip ‏20 KB

  • How to combine both DAQ AI signal, write and read file in single VI

    Hi
     I am the new user of LabVIEW version 7.1 for testing automation application. I have to measure 33 signals ( mostly analog like temp, pressure, etc...) from NI USB 6210 DAQ system and write in master file for future verfication.From real data or from master file back up have to write  one more file if only the signal reaches steady state , which will used for analysis and same signals to be read from this file parallely & make a waveform and/or table display format.
    Pl. help me to shortout this problem 
    note: I have plan to ugrade labVIEW version 2011 shortly, so let me know doing parrel acquistion write and read file for data analysis in same VI in version 7.1...... 

    Parallel operations in LabVIEW are very simple.  Just code it in parallel and it will work.
    Try taking a look at some of the examples in the NI Example Finder (Help > Find Examples).  There you will find example for writing to and reading from files, as well as data acquistion in parallel with other operations.
    You might need a producer/consumer architecture is you are acquiring data very quickly.
    Chris
    Certified LabVIEW Architect
    Certified TestStand Architect

  • 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

  • Tdms-files: Is it possible to prevent LabVIEW and DIAdem from creating .tdms_index files?

    Hello,
    is it possible to prevent LabVIEW and DIAdem from creating .tdms_index files when opening/creating/editing a .tdms file?
    I think I have no benefit from the .tdms_index files because our applications create a lot of little .tdms-files (repeat measurements). With the additional .tdms_index files we have unnecessary memory consumption and it takes longer for Windows to open the containing folder. Also it´s confusing when searching for a certain file.
    Best Regards
    Daniel
    Solved!
    Go to Solution.

    Hi Baui,
    I'm afraid there's a direct way to disable creating .tdms_index file now from LabVIEW and DIAdem. You can use TDMS Advacend API in LabVIEW, which doesn't create any index file, or you can just make some simple programming and delete the .tdms_index file after closing the TDMS file. 
    This is a request for a long time, we'll consider to add this feature for TDMS in future releases.
    Yongqing Ye
    NI R&D

  • I write digital port by 'DAQmx Configure Logging.vi​' and receive TDMS file with 8 boolean channels. How can I write to 1 integer channel?

    Hello!
    I want to write 1 digital port from PXI-6536 with streaming to TDMS file.
    I'm writing by 'DAQmx Configure Logging.vi' and become TDMS file with 8 boolean channels.
    How can I write to 1integer channel?
    Attachments:
    1.JPG ‏27 KB

    Hey Atrina,
    The actual data stored on disk is just the raw data (that is, a byte per sample in your case).  It's really just a matter of how that data is being represented in LabVIEW whenever you read back the TDMS file.
    I'm not sure if there is a better way to do this, but here is a way to accomplish what you're wanting:
    Read back the TDMS file as a digital waveform.  Then there's a conversion function in LabVIEW called DWDT Digital to Binary.  This function will convert that set of digital channels into the "port format" that you're wanting.  I've attached an example of what I mean.
    Note: When looking at this VI, there are a few things that the downgrade process did to the VI that I would not recommend for these TDMS files.  It added a 1.0 constant on the TDMS Open function, and it set "disable buffering" on the TDMS Open function to false; you can get rid of both of those constants.
    Message Edited by AndrewMc on 01-27-2010 11:21 AM
    Thanks,
    Andy McRorie
    NI R&D
    Attachments:
    digitalconvert.vi ‏13 KB

  • My daq 6008 wil not drop the 5V after the VI is stopped, i have a digital signal going from the error out on the daq in the while loop to the error in on the daq outside the while loop and a boolean going to the data of the daq outside

    my daq 6008 wil not drop the 5V on a digital output after the VI is stopped, i have a digital signal going from the error out on the daq in the while loop to the error in on the daq outside the while loop and a boolean going to the data of the daq outside, but i can t seemto get it to work

    i attached the block diagram so you can have a look
    Attachments:
    PID Temp control.docx ‏120 KB

  • Peak Detection and Display of TDMS file of 4 channels

    The Peak Detection and Display sample VI in the NI Example finder is exactly what I am looking for but I would like to use a recoded TDMS file as its input. The TDMS file is a 4 channel data file.
    Does someone have an example code on how to do this?
    ERB 

    Hi
    I found an example in exampler finder called Read Channel Groups (TDMS).vi, which seems to plot data for four channels written in a TDMS file.
    Its also attached.
    Kind Regards, 
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!
    Attachments:
    Read Channel Groups (TDMS) forum.vi ‏20 KB

  • How to read and create TDM Files in a Java Applicatio​n?

    Hi,
    I want to read and write TDM-Files in a Java-Application.
    I found the TDMHeaderWriter for Java, that can write TDM-Files, but the reading part is still missing.
    Perhaps anyone knows an equivalent in Java to the TDM C DLL and the TDM C Header DLL?
    Thanks Verena

    Cool 
    Can you please give me feedback on this project if you have finished it?
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • Simultaneous File Save in Jpeg and TDMS

    Does anyone know if it is possible for me to log my Data Acquisition Data in TDMS file, while at the same time able to save my Front Panel Screen in Jpeg?
    If this possible, I would appreciate any kind suggestion on how I can do this.  I used DAQmx for my Data Acquisition Application, and I want to log data in TDMS format and also save my front panel in a jpeg or .png format.
    Thanks in advance.

    It is no problem to get the entire front panel (Use Open VI reference, FP Get Image method), only a bit redundant perhaps.
    You need to have logic for when to save (perhaps not every iteration), and what file name to save to.
    Here is a very basic prototype to get you started. Unfortunately the choice of file format for the built in save to image function is limited. If you wish you can use the Get Image method and send the result to Image to PNG for instance.
    The data for your graph must come from somewhere? It is not the waveform graph in itself you should save to the TDMS file, it is the data that enters the graph.
    Attachments:
    Save chart image.vi ‏23 KB

Maybe you are looking for

  • Unable to Delete the request in ODS

    HI Friends,       I am facing the problem with deleting request in ODS.           I deleted the request in cube (PPV Analysis cube). But I unable to delete the request in ODS.     it is showing the message request is already activated;no further QM a

  • My iphone 4 is not charging and when I connect it on the pc it says device not recognized!!pls help!!

    Hello guys!!Pls help me if someone knows what should I do.my iphone was working perfectly so far but a couple of days ago it stopped charging.its not charging neither with the a/c adaptre nor with the usb through my pc.it says device not recognized..

  • How to prevent Windows Media Player plug-in from overriding sizing in html embed code?

    My html code for embedding Windows Media Player into a frame recently developed problems in Firefox but not IE 8. The player displays properly at first, but then repositions and resizes. It seems my width setting is honored, but not my height setting

  • Can Keynote 3 record narration for slides (like PowerPoint)?

    Does anyone know if it's possible to record narration for selected slides in Keynote 3? Unfortunately, this much-desired feature was lacking in Keynote 2 (it could only play one audio file through the entire presentation). FYI, PowerPoint has this fe

  • TextEdit multiple lines

    Hi, I am working on a requirment where i am using textEdit as a cell in tableView. Every thing is working fine except i am unable to capture the data from textEdit. I have to store the multiple lines entered by user into a z-table column of type XSTR