Would like to store data in file for timing purposes

I have written this code in labview and is working like it should. It takes data of two transducers (analog signals) mounted 1.5 m apart.
The goal is to find out a precise time between the two rising edges. (attached pic)
I have collected two waveforms, one from
transducer 1 and one from transducer 2.  Element 0 of the waveform
array is the data from transducer 1.  Element 1 is the data from
transducer 2.
Both waveforms contain timing information as
part of their datatype.
I have tried to store the data as a txt file, but it only stores the last result of each transducer.
I would like to store the data, and process it in matlab to find a precise time between the rising edges or can this be done in the same VI I have created? 
Any help is appreciated. 
Attachments:
FinalShockSpeed.vi ‏32 KB
Picture1.jpg ‏25 KB

Use the "Write to measurement file.vi" and "Read from wavefrom file.vi "found in the "Programming->Waveform->Waveform file I/O pallete" for saving and retrieving the acquired data.
note that the file hence created will not be in the human readable form.
The precise rising time computation can also be done using labVIEW. Apply the same logic that you have done in matlab to create a subvi in LabVIEW\
Guru
Regards
Guru (CLA)

Similar Messages

  • I would like to store my music files on a external harddrive  when using itunes instead of using my internal drive but cant seem to configure the macbook to do this. can someone tell me how ?

    I would like to store my music files on a external harddrive when using itunes instead of my internal drive but can't seem to configure the computer to do this. can someone tell me how ? .

    Copy the entire /Music/iTunes/ folder to teh external.
    Hold Option and launch iTunes.
    select Choose library... and select the iTunes folder on the external.
    Make sure the external is connected and ready before launching iTunes.

  • Pb labview 2009 Number and string store data in file

    Hi,
    I m using labview 2009 in order to save data from instruments of mesure. My program generate Charts of string data that i would like to store in a file of table data. But when i read the file i don't see the digit after the digital point. So i forgot a part of the information which are very important for me.
    Futurmore before the instalation of labview 2OO9 the program was ok with labview 8.5;
    What can i do to solve this problem?
    Have any modification with labview 2009?
    Thanks in advance for your answer.
    Attachments:
    Image12.png ‏24 KB

    HI,
    In attachment file you will find the data before the saving operation in data file.
    We see in the file after the result. We have forgot all data after the decimal point, so we forgot a part of infortion that are very important in my application.
    Thanks in advance for your help
    Marc
    Attachments:
    AFTER.txt ‏1 KB
    before.txt ‏1 KB

  • High sample rate data acquisition using DAQ and saving data continuously. Also I would like to chunck data into a new file in every 32M

    Hi: 
      I am very new to LabView, so I need some help to come up with an idea that can help me save data continuously in real time. Also I don't want the file to be too big, so I would like to crete a new file in every 32 mega bytes, and clear the previous buffer. Now I have this code can save voltage data to TDMS file, and the sample rate is 2m Hz, so the volume of data increase very fast, and my computer only have 2G ram, so the computer will freeze after 10 seconds I start to collect data. I need some advise from you briliant people.
    Thanks very much I really appreciate that. 
    Solved!
    Go to Solution.
    Attachments:
    hispeedisplayandstorage.vi ‏33 KB

    I am a huge proponent of the Producer/Consumer architecture.  But this is the place I advise against it.  The DAQmx Configure Logging does all of it for you!
    Note: You will want to use a Chart instead of a graph here.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    hispeedisplayandstorage_BD.png ‏36 KB

  • I would like to disable the phone jack for my mac book pro, it is a disappointment that this feature is not currently accessible . hopefully it will be with the following os x system software up date but until then is there anyone that could help me ?

    I would like to disable the phone jack for my mac book pro,
    it is a disappointment that this feature is not currently accessible .
    Hopefully it will be added with the following os x system software up date.
    until then is there anyone that could help me ? please and thank you ...

    John Galt wrote:
    Have you checked System Preferences > Sound > Output?
    Or are you interested in a phone modem adapter?
    http://www.amazon.com/Apple-MA034Z-External-V-2-Modem/dp/B000C6TLDO/
    ds store wrote:
    It's a Ethernet port, not a phone jack.
    Two good points, in which case I believe the ethernet port can be disabled, (it can on my Pro);
    System Preferences> Network> Ethernet>.........
    Highlight the Ethernet option and click the gear icon at the bottom of the panel. There should be an option to, Make service inactive.....

  • In Address Book, I would like to have a field "File As". So, l can list "Joe Smith", as "The Smith Family". I will use this when I print labels for Xmas cards and such. Thanks!

    In Address Book, I would like to have a field "File As". So, l can list "Joe Smith", as "The Smith Family". I will use this when I print labels for Xmas cards and such. Thanks!

    In Address Book, I would like to have a field "File As". So, l can list "Joe Smith", as "The Smith Family". I will use this when I print labels for Xmas cards and such. Thanks!

  • I would like to mark data on my iPhone / iPad as private or hide it. Is it possible? I could do it on my Palmpilot. Any data - addresses, calendar entries, files, anything could be hidden on the palm pilot. It'd be great to see this facility on apl pdts

    I would like to mark data on my iPhone / iPad as private or hide it and only unlock it with a different password. Is it possible? I could do it on my Palmpilot. Any data - addresses, calendar entries, files, anything could be hidden on the palm pilot. It'd be great to see this facility on apple products.

    I know what you meant. As I said, it's not possible to do so on the iPhone. Of course Apple could add such a feature to a future version of iOS, it's only software, but so far they haven't. You can suggest such a feature to Apple here: http://www.apple.com/feedback/iphone.html

  • I would like to combine my word files to a pdf and i get errors for pdfmaker

    i would like to combine my word files to a pdf and i get errors for pdfmaker

    is it 32 bit or 64 bit. you can check it by following the steps mentioned below
    In the program in which you want to verify the version, click the Microsoft Office Button, and then click Program_Name Options.
    Click Resources, and then click About.
    To locate the About Microsoft Program_Name dialog box in programs that do not use the Ribbon user interface,  click About on the Help menu.
    Thanks,
    Vikrantt Singh

  • I would like to get data analysis for solving statistic and making graphs, but this function is not in add-in. How should I do? I also set up microsoft office for mac 2011.

    I would like to get data analysis for solving statistic and making graphs, but this function is not in add-in. How should I do? I also set up microsoft office for mac 2011.

    Microsoft didn't include that with the 2011 version.
    There is a third-party application that substitutes for the add-in: http://www.analystsoft.com/en/products/statplusmac/
    They also have a limited, free version.

  • I would like to read a ASC11 file ?

    I would like to read a ASC11 file ? i would like to read the ASC11 file but there is a 2 lines header in this file.and i dont wanna read this header.this ASC11
    file has 12 columns and then i wanna convert them to
    binary file.
    any example would be great.
    thanks

    i am sorry that you are getting upset due to my repetitions of question.
    well i have looked into example read from text file
    and tried with this but it did not solve my problem.
    in this example this function is reading data line
    by line and i dont want to read the data line by line.
    for this reason i removed the inner while loop.
    to skip the 2 lines header when i call read file
    function 2 times. i still get the header in my result file.
    when i write the data of 12 columns and N number of rows by calling write to binary function,i tried to read this binary data with the help of Matlab. i get
    only one column and it look likes that it is transposed.the output of the read function is 2 dimensional array. i try to write this 2 dimensional
    array by call
    ing write to binary function and i also
    want to display the 2-Dimensional data in 2 dimensional
    indicator array.
    this all things i tried already but could not get the
    desired result. therefore i wrote again.
    any way if you are upset then take my questions back and thanks for your tips.

  • I have a 1st genoration ipod and would like to up date how can i do this

    I have a 1st genoration ipod and would like to up date, how can i do this

    To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Vintapps 3.1.3 - paid app.
    Apple Club - filter apps by iOS version.

  • I have an apple account but would like to create a new one for my mum on my computer how do I do this ?

    I Have my own Apple ID on my computer and would like to create a new one for my mum on my computer so I can transfer all her contacts etc. How do I do this ?

    You can create a new iTunes account on your computer's iTunes or you can do it via http://appleid.apple.com : iTunes: How to set up an Apple ID within iTunes
    If you don't want to give credit card details before the account can be used in the iTunes store then follow the instructions on this page : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method

  • I would like to read a text file in which the decimal numbers are using dots instead of commas. Is there a way of converting this in labVIEW, or how can I get the program to enterpret the figures in the correct way?

    The program doest enterpret my figures from the text file in the correct way since the numbers contain dots instead of commas. Is there a way to fix this in labVIEW, or do I have to change the files before reading them in the program? Thanks beforehend!

    You must go in the labview option menu, you can select 'use the local
    separator' in the front side submenu (LV6i).
    If you use the "From Exponential/Fract/Eng" vi, you are able to select this
    opton (with a boolean) without changing the labview parameters.
    (sorry for my english)
    Lange Jerome
    FRANCE
    "Nina" a ecrit dans le message news:
    [email protected]..
    > I would like to read a text file in which the decimal numbers are
    > using dots instead of commas. Is there a way of converting this in
    > labVIEW, or how can I get the program to enterpret the figures in the
    > correct way?
    >
    > The program doest enterpret my figures from the text file in the
    > correct way since the numbers contain dots instea
    d of commas. Is there
    > a way to fix this in labVIEW, or do I have to change the files before
    > reading them in the program? Thanks beforehend!

  • I would like to upload a excel file using jsp

    Hi,
    I would like to upload the excel file using jsp in my netbeans ide. Please help.
    I don Know what is the error in this jsp file. It is not showing any thing and the file is also not getting uploaded.
    Please gothru the code below.
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ page import="java.io.*" errorPage="err.jsp"%>
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="<html:rewrite page="/design.css" />" rel="stylesheet" type="text/css">
    <title>Upload Page</title>
    </head>
    <body onKeyDown="DisablingBackFunctionality()" onLoad="DisablingBackFunctionality()">
    <html:form action="download" >
    <div style="position:absolute; left:100;top:200;">Select an excel File :<input type="file" name="uploadfile"></div>
    <div style="position:absolute; left:190;top:250;"><input type="submit" name="Submit" value="Read"></div>
    <div style="position:absolute; left:336;top:250;"><input type="reset" name="Reset" value="Clear"></div>
    mainmenu
    </html:form>
    </body>
    </html>
    <%
    String contentType = request.getContentType();
    if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) {
    DataInputStream in = new DataInputStream(request.getInputStream());
    int formDataLength = request.getContentLength();
    byte dataBytes[] = new byte[formDataLength];
    int byteRead = 0;
    int totalBytesRead = 0;
    while (totalBytesRead < formDataLength) {
    byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
    totalBytesRead += byteRead;
    String file = new String(dataBytes);
    //out.println("<br> file :"+file);
    String saveFile = file.substring(file.indexOf("filename=\"") + 10);
    //out.println("<br> savefile :"+saveFile);
    saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
    //out.println("<br> now file1 :"+saveFile);
    saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1, saveFile.indexOf("\""));
    //out.println("<br> now file2 :"+saveFile);
    //out.print(dataBytes);
    String ext = "";
    if (saveFile.indexOf(".") != -1) {
    ext = saveFile.substring(saveFile.lastIndexOf("."));
    int lastIndex = contentType.lastIndexOf("=");
    //out.println("<br>lst index of"+lastIndex);
    String boundary = contentType.substring(lastIndex + 1, contentType.length());
    //out.println("<br> boundary"+boundary);
    //out.println("<br> file :"+file);
    int pos;
    pos = file.indexOf("filename=\"");
    //out.println("<br> now 0 :"+pos);
    pos = file.indexOf("\n", pos) + 1;
    //out.println("<br>now 1 :"+pos);
    pos = file.indexOf("\n", pos) + 1;
    //out.println("<br>now 2 :"+pos);
    pos = file.indexOf("\n", pos) + 1;
    //out.println("<br>now 3"+pos);
    int boundaryLocation = file.indexOf(boundary, pos) - 4;
    int startPos = ((file.substring(0, pos)).getBytes()).length;
    int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
    FileOutputStream fileOut = new FileOutputStream("D:\\" + saveFile);
    //FileOutputStream fileOut = new FileOutputStream(saveFile);
    //fileOut.write(dataBytes);
    fileOut.write(dataBytes, startPos, (endPos - startPos));
    fileOut.flush();
    fileOut.close();
    session.setAttribute("fil", saveFile);
    //out.println("File saved as " +saveFile);
    %>
    <script type="text/javascript" >
    function DisablingBackFunctionality()
    var URL;
    var i ;
    var QryStrValue;
    URL=window.location.href ;
    i=URL.indexOf("?");
    QryStrValue=URL.substring(i+1);
    if (QryStrValue!='X')
    window.location=URL + "?X";
    </script>
    Please let me know the result as soon as possible. Its my very urgent.
    Thanking Yu,
    Muthu Kumar.R

    No.
    Mylenium

  • Would like to move iPod touch files to my new Windows 8 computer -- but can not see hidden files

    Would like to move iPod touch files to my new Windows 8 computer -- read on how to do this, but this involves being able to see the hidden fiels -- but can not see hidden files...any suggestions. Would like to transfer these files from iPod Touch to new laptop without software -- is that possible -- if not can anyone recommend a good free software to use?

    There is no way to do so without software. I recently had a similiar task and was suggested to use iExplorer. It worked like a charm. 
    Refer to this page for iExplorer
    Here is the page I was helped with on this task for reference: Export Songs
    Hope this helps!
    PSkilton

Maybe you are looking for