How can you read datalog files in LabVIEW?

I have a VI that records time and waveform data and writes them as a cluster to a datalog file. I have been unable to read these files in any way, however. I have been working with the datalog examples in LabVIEW, but I have not been able to figure out how to use the Read Datalog File example effectively. Does anyone have any suggestions on how I can either use this example to read waveforms, or how I can design a VI to read datalog files in another way? Thanks.

Hi,
when you read from a datalog file you have to wire to the datalog type input of the Open File function a cluster of the same type as the clusters when you created the file; each cluster is a record.
In the example Write Datalog File Example.vi you see that each record consists of a cluster containing a string and 1D array of DBL; in the Read Datalog File Example.vi a cluster of exactly the same type is wired to the datalog type inputs.
You can use this example to read your datalog files but you must wire to the datalog type input a cluster containing the time data and a waveform data; pratically you have to tell how the data are saved in your file.
I hope I have been clear enough, eventually if you tell me how you save the time data (string, numeric) I
can modify the example to read your datalog files.
Good luck,
Alberto

Similar Messages

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How can I read a file with ASCII Special Character into a SQL table using SSIS 2008?

    I've tried everything to read this file and am getting no where.   Help how can I read this file and load a SQL table?
    RS - AscII - 30  (Record Separator)
    GS - AscII - 29 (Group Separator)
    Thank you for your assistance - Covi
    Mark Covian

    We can use script component as source/transformation to read the text file and assign the contains to a string. Split the string by chr(30)  i.e RS and finally stored into an array or write to the output buffer of the script component.
    For example on how to use script component refer this link
    http://social.technet.microsoft.com/Forums/en-US/6ff2007d-d246-4107-b77c-624781baab38/how-to-use-substring-in-derived-column-in-ssis?forum=sqlintegrationservices
    Regards, RSingh

  • How can I read text files from LAN if I only know the hostname?

    I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
    <p>1. How can I read text files from LAN if I only know the hostname, or IP address?
    <p>2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.
    (ex. how can I read the 120th line?)
    <p>Please help!
    <p>sorry for the bad english

    I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
    1. How can I read text files from LAN if I only know the hostname, or IP address?You need to know the URL of the file. You need to know the hostname, port, protocl and relative path.
    The hostname is server, not file.
    2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.Use the seek() to get to a random byte.
    (ex. how can I read the 120th line?)The only way to find the 120th line is to read the first 120 lines. You can use other file formats to find the 120th line without reading the whole file but to need to be able to detremine where the 120th line is

  • How can you back up files that are on an external drive?

    How can you back up files that are on an external drive?

    hw999 wrote:
    How can you back up files that are on an external drive?
    Easy way, CLONE IT to another HD
    HD cloning software options:
    1. SuperDuper HD cloning software APP (free)
    2. Carbon Copy Cloner APP (will copy the recovery partition as well)
    3. Disk utility HD bootable clone.
    Methodology to protect your data. Backups vs. Archives. Long-term data protection
    https://discussions.apple.com/docs/DOC-6031
    hw999 wrote:But all I want to do is include the data that I store on an (second) external drive (internal drive getting too full) part of the auto back up process using timemachine.
    BAD IDEA
    You want one backup (ie Time machine) and one (or more) data archive of just all your raw files (drag and drop, or cloned etc.)

  • How can I read a file directly please?

    Hello everyone,
    How can I read a file directly from a script please? I tried the insert into ... values but it does not work. I really have to read the file instead of entering the data via the interface. Does Oracle have a copy command? Each file line is split with tabs for each field in the line.
    Finally how can I subdivide the strings in each field?
    Thank you very much indeed and sorry for the basic questions.
    André Luiz

    SQL> create or replace directory data_dir as '/tmp';or
    SQL> create or replace directory data_dir as 'c:\temp';Where /tmp or c:\temp are directories or folders on the server.
    A full example of importing a tab delimited file is here.
    Re: Using DML order to import a .xls file

  • How can you determine a file creation date and know if it's been altered since the creation date

    I need to know how to determine a file creation date on an ipad.  If someone creates a document/note on an ipad how can you tell when it was created and if it has been altered since?

    Unless you are using a third party app that provides that functionality, in iOS the only thing youcan access is the last edit/save date and time, which is fairly evident in the user interface for documents and notes. Some apps that handle MS Office files may provide that, but ican't say first hand.

  • How can you get your files from outlook onto your ipad2 and keep it in the files?, how can you get your files from outlook onto your ipad2 and keep it in the files?

    How can you get files from your outlook folder from the ipad2 and keep it there for future reference?

    It's unclear what you are asking outlook is a mail, appointment, tasks and contacts
    Programs outlook have no direct contact with files

  • How can I read a file in a jar file and modify it?

    Hi,
    Now, there is a jar file which contains a file that I want to modify. How can I get the file. After I get the file, I will modify it and replace the file in jar file. How can I complete it? Thank you.

    there is no direct method of updateing files in ajar file
    u have to do it this way
    u have to first unjar the file in a particular folder
    using java code java.util.jar package
    than through FileReader and FileWriter class u update ur
    the file whichever u want to update
    and then gain through java.util.jar package
    u create ur jar file again

  • How can you get video files to play properly from a Fujifilm X20

    How can I get movie files  from my Fujifilm X20 to play properly in imovie?

    OS (windows Xp) will not let me.
    Why will it not?  What is the error message?  How are you trying to transfer them?
    There are lots of ways of moving files.
    A simple and popular way to copy files and share files amoung your devices. This will depend on you internet connection speed.
    https://www.dropbox.com/
    Using iTures to transfer files:
    http://support.apple.com/kb/HT4094?viewlocale=en_US&locale=en_US
    Files Connect -- The swiss army knife of remote file connect
    https://itunes.apple.com/us/app/files-connect/id404324302?mt=8
    Windows File server
    http://itunes.apple.com/us/app/filebrowser-access-files-on/id364738545?mt=8
    "In education and business users increasingly expect to be able to access their data anytime, anywhere and from any device."
    http://www.minnow.it/
    This thread has good info.
    https://discussions.apple.com/thread/3708341?tstart=0
    How to transfer files from your iPad to your PC with iPad to Computer Transfer
    http://www.iphone-mac.com/how-to-transfer-and-sync-contents-from-ipad-to-pc.html
    Try the combo of:
    Diskaid on your computer and FileAppPro on your iPad
    Good old FTP
    FileApp and FileApp Pro

  • How can you save a file with CS4 so that it can be opened with CS3?

    I fave a file that I have sent someone, but they can't open it because they don't have CS4. How can I save a file, using CS4, so that the file can be opened with CS3?
    Thanx

    From the help file: http://help.adobe.com/en_US/Illustrator/14.0/WS714a382cdf7d304e7e07d0100196cbc5f-655fa.ht ml

  • How can I convert datalog files from LV5.0 to LV6i?

    I have some datalog files from LV5.0 and I'd like to use them in LV6i, but when although I push convert when asked in the moment of reading the file,it provides input parameter invalid when reading. I'm using the same vi I used to create and read them in LV5, so it's not supposed to be a program mistake. How can I convert them?"

    Hello,
    Thanks for answering my question. I downloaded LV6.02 as you suggested but the problem persists.
    I don't know maybe it's something very simple. I have attached 1 program to read the datalog file and another one that reads it in every version (LV5.0 and LV6.02) in case you can help me.
    Thanks again,
    Javi
    Attachments:
    WriteLV5.vi ‏65 KB
    OpenLV5.vi ‏74 KB
    OpenLV6.vi ‏59 KB

  • How can you tell which files have backed up to external hard drive using Time Machine?

    Hello Mac Users,
    I have Macbook Pro (early 2011) and recently purchased a WD My Passport for Mac external HD. I have completed a back up using Time Machine, however how do I tell what files actually were backed up? I have a ton of audio, documents and photos that I would like on there. Its a 2 TB HD, my memory is 750 GB... Im using 632. At end of back up, the drive still had 1.88 TB left. Any help would be appreciated! Thanks
    Linz19

    This procedure is a diagnostic test. It makes no changes to your data.
    Please triple-click anywhere in the line below on this page to select it:
    tmutil compare | open -ef
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    The command may take several minutes to run. Wait for a new line ending in a dollar sign ($) to appear below what you entered.
    A TextEdit window will open with the output of the command. Don't post all the output; just read it yourself. Each line that begins with a plus sign (“+”) represents a file that has been added to the source volume since the last snapshot was taken. These files have not been backed up yet.
    Each line that begins with an exclamation point (“!”) represents a file that has changed on the source volume. These files have been backed up, but not in their present state.
    Each line that begins with a minus sign (“-“) represents a file that has been removed from the source volume.
    Files that you’ve excluded from backup, or that are excluded automatically, are ignored.
    At the end of the output, you’ll get some lines like the following:
    Added:
    Removed:
    Changed:
    These lines show the total amount of data added, removed, or changed on the source(s) since the last snapshot.
    Caution: Under some conditions, tmutil may falsely flag files as not having been backed up when in fact they have been. It can be confused by multi-linked files, or by files with a modification date earlier than the one in the snapshot. This will not be an issue for most users. If the results of the above procedure surprise you, inspect your snapshots directly.

  • How can I read pdf files in linux?

    I know the pdf files can be read by Adodb acrobat,but i can not find the software for linux,How can I download the similar tools ?
    Thanks for advance.

    You can download AcrobatReader fro Linux from adobe.com like the versions of rother OS'es.
    however if you want a nicer UI than Acrobat consider using gv with ghostscript. They might already be installed on your system, since they are part of most Linux distributions.
    It's worthwhile to upgrade Ghostscript to the most recent version, othervise you will be unable to read pdf files that utilizes the newest fads from Adobe.

  • Can you generate PDF file from LabVIEW?

    Can you generate a PDF file from LabVIEW?

    Hi there,
    I just read this post in passing.
    Heres a fairly detailed forum post on the matter - seems to be a few work arounds, but basically no you can't with just the normal labview.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=259103&query.id=65866#M259103
    Thanks
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

Maybe you are looking for

  • How to define function within for loop pls help?????

    Hi this is the problem i have a class, and within that class there is an actionPerformed function, in this class i also create an instance of another class, this other class also contains an actionPerformed function, which wis executed if a jButton h

  • How to create bookmarks by using J2ME

    Hi! Does anyone knows how to create bookmarks by using J2ME?

  • Optical drive suddenly stopped reading

    I was in the middle of ripping a series of CDs in iTunes when the drive suddenly stopped reading the CDs' contents - I have tried several CDs, including re-trying ones I had already ripped. It does not get beyond track list. Do I need a new drive or

  • I have iphone 4 factory unlock why not active 5.1.1

    i have iphone 4 factory unlock why not active 5.1.1

  • Why isn't my iMac using all of my RAM

    Hi, I've recently upgraded the RAM in my iMac (System details below) from 4GB to 12GB as it was running a little slow, I have found this has made no difference and at times seems even slower. I was doing some work with video files and was converting