How ti save date/time info into .lvm

Hi,
i need to save date/time info (Date:Time) into one .lvm together with my other signals (dynamic data). any suggestions?
it should look like this for example
results.lvm:
date/time signal 1 signal 2 signal 3
01.01.2005/12:00 2.2 3.3 4.4
01.01.2005/12:02 2.4 3.4 4.5
01.01.2005/12:04............
and so on for every loop.
thanx in advance
vedran divkovic

The LVM Express VI was designed to be easy to used. To facilitate this, data formats are fixed and cannot be set by the user in the Express VI. You have several options to get the format you want.
If you don't need all the header information in the LVM file, roll your own code. If you are only saving one line of code at a time, this is particularly easy. You will also need to write your own read code, assuming you are not just using Excel or something similar.
Use the formatting capabilities of your analysis program to create the date code. Excel, for example, is perfectly happy to generate a time/date string based on a simple number. You may have to convert from LabVIEW absolute time to Excel absolute time, but that is fairly trivial. You can make a macro to do this.
If you need the LVM header info, write the file using no data to get the header, then fill in your data with your own formatting. Read-back will be harder, since you will need to write that yourself. However, you can probably get most of the info from the LVM file read (maybe with an error), then read your own formatted data from the end of the file.
WARNING: this one dives into vi.lib code. While you cannot change the formatting in the top level of an LVM file, the subroutines do take formats on a per-column basis. So, you can modify the original code to do what you want. Open the front panel, then search for ex_SignalsToSprdsheetStr.vi. Give it the format string you want and you are off. Note that this format will be in place everywhere you use the LVM code unless you save the entire hierarchy to a different location (using Save With Options->Development Distribution, include vi.lib files). Be very careful with this. You can easily get into cross-linking problems (linking VIs from the wrong location).
One final comment. You can find the specification for the LVM file format in Specification for the LabVIEW Measurement File (.lvm), Version 1.0. It includes everything you didn't want to know about the LVM file format.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • How to save data from form into database

    i nid to save data from form into the new table, @abc.
    got any idea ?
    smtg like oObj = BaseAddOn.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes) this but it is a new object or user data source.
    Thanks

    hi
    i have created UDO i have also done registration  i want to bind item master completely to matrix and then in one column i will set check box to check unchecked and then i want to save it to database
    i have one user defined form and 4 matrix and 4 child tables
    for each matrix i have given 1 form and i have to transfer the data from temp form to main form matrix having large data in matrix on temp form to main form matrix
    to load data on matrix i have used for loop that i want to avoid so how i can bind large data to matrix without for loop
    regards
    amey

  • Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory

    Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory

    Here are a few Links to a helpful Knowledge Base article and a White Paper that should help you out: http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF and http://www.ni.com/white-paper/10435/en/ . The methods for File IO in Real Time are the same for all of the Real Time Targets. The White Paper has best practices for the File IO and goes over how to do it. 
    Alex D
    Applications Engineer
    National Instruments

  • How to extract data from info cube into an internal table using ABAP code

    HI
    Can Anyone plz suggest me
    How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
    Thankx in advance
    regds
    AJAY

    HI Dinesh,
    Thankq for ur reply
    but i ahve already tried to use the function module.
    When I try to Use the function module RSDRI_INFOPOV_READ
    I get an information message "ERROR GENERATION TEST FRAME".
    can U plz tell me what could be the problem
    Bye
    AJAY

  • New help with my mac air and airport extreme time capsule dont know how to save to time capsule and use as a external hd

    new help with my mac air and airport extreme time capsule dont know how to save to time capsule and use as a external hd would like 2 store my home videos and pictures on the time machine (ONLY) as the MAC AIR has storage space limited space please help. THANK YOU.

    See the info here about sharing or using the TC for data.
    Q3 http://pondini.org/TM/Time_Capsule.html
    It is extremely important you realise.. the Time Capsule was never designed for this.
    It is a backup target for Time Machine.. that is the software on the computer that does backups.. it has no direct connection to the Time Capsule.
    It has no ability to back itself up.. unlike all other NAS in the market. It is therefore likely one day you will lose all your files unless you seriously work out how to backup.
    The TC is slow to spin up the hard disk and fast to spin down. iTunes and iPhoto will continually lose connection to their respective libraries.
    iPhoto in particular is easy to corrupt when you move photos over wireless into the library.. once corrupted all is corrupt. A single photo will ruin it all.. so backup is utterly essential.
    Time Machine cannot do backups of network drives. ie the TC. You will need a different backup software like CCC. You will then need another target to backup to..

  • Showing Title and date/time info in exported file

    I am trying to export a group of photos into a file to then compress and e mail. How do I get the title and date/time info for each photo to export as well and be a part of the file?

    You'll need to upgrade to iPhoto 08 or later to write that metadata to the file on export.
    Regards
    TD

  • How to load data from Quikbooks into PeopleSoft General Ledger module ?

    Folks,
    Hello.
    My client's data is currently stored in Quikbooks.
    After install PeopleSoft FSCM 9.0, I need to load the data from Quickbooks into PeopleSoft General Ledger module. But I don't know how to use PeopleSoft Integration Broker to integrate with Quikbooks.
    Can any folks tell me how to load data from Quikbooks into PeopleSoft General Ledger module ?

    Hi,
    If the data load is one time process, then you can use PL/SQL or datamover to load the data to PeopleSoft application.
    If you want to load the data in real time, then you need to create In-bound and out-bound nodes to perform the transaction.
    Thanks
    Soundappan

  • How to save data in ztable after editing in alv report

    how to save data in ztable after editing in alv report?

    Hi,
        Please find the attachment below.This may be usefull to you.
         [http://wiki.sdn.sap.com/wiki/display/Snippets/ALV-Editingandsavingtheeditedvaluesin+Database%28OOPS%29]
    Regards,
    Ramakrishna Yella.

  • How to print date & time stamp on photos?

    How to print date & time stamp on photos?

    Three methods:
    File>process multiple files>labels. Be sure to uncheck "same as source", or the originals will be overwritten. It is best to work on duplicate files, esp. while learning.
    Use the horizontal or vertical type tool to add the information manually to each picture file
    If the same information is to be applied to several pictures, e.g. a copyright notice, use  of a brush made in PSE is very efficient

  • How to print date/time in report page footer?

    Hi
    I have a report which users can print as PDF.
    However, I like to display current date/time in report footer.
    I can see the Page Footer in section but can't figure out how to print date/time there.
    Thanks for help.

    hi movilogo
    Please try this.
    Create hidden item P1_DATE
    Create On load process in page 1 and put this code
    begin
    :P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
    end;
    Open your region in Page 1 put this code in Footer area
    *&P1_DATE.*
    Refresh your page.
    you will get the output like this.
    16-SEP-2009 11:09:17
    thanks
    Mark Wyatt

  • How to save each section report into different excel sheet?

    Hi all
    How to save each section report into different excel sheet?
    I have a report in which there are 4 sections north south west east now i need to save north in excel sheet 1 , south in sheet2, west in sheet3, and east in sheet4. under each section there is list report.
    Please let me know is it possible are not if possible let me no the procedure to be followed.
    Thank you

    If you're running XI 3.1 you might be able to solve this as follows.
    1. Create four users: east, west, north, south
    2. Create a profile that filters on the variable you used for the section/break
    3. Publish the report
    3.1 Set users created above to be the enterprise recipients
    3.2 Add personalization (the profile created above)
    3.3 Check the Deliver objects to each user in Destinations
    (3.4 You could use %SI_OWNER% to get a nice suffix to the report name)
    This should cause four reports to be created, each with its own "personalized" contents.

  • How to Save the "Document Info" Details Action Via

    I saved the "Document Info" details in illustrator manually using "Document Info Pannel". Could you please expain how to save the "Document Info" details through illustrator action.
    Thanks,
    Prabudass

    When in the document info window of a file there is a small triangle in the top right corner from this you have fly out menus to save/delete or show metadata templates. You can use this to save groups of metadata. Once you have a bunch of groups you can quickly use this to set your info. Bridge will also allow you to append or replace metadata from these saved templates too

  • How to save data model design in pdf or any format..?

    how to save data model design in pdf or any format..?
    i ve created design but not able to save it any mage or pdf format

    File -> Print Diagram -> To PDF File

  • How can I import vcard info into numbers 3.0?

    How can I import vcard info into the new numbers 3.0?
    To the old numbers, it is easy ;-)

    If you're trying to bring in information from Contacts, another user (I'll try to find the link) posted a "hidden solution".  In Contacts select as many contacts as you want, command-c to copy, then in a Numbers sheet command-v to paste. A table is formed automatically.
    SG
    Edit:
    Found it. ronniefromcalifornia in this thread.

  • How can I import vcard info into numbers?

    How can I import vcard info into numbers?
    Message was edited by: Clinker1122

    Yes, you should be able to. What have you tried, and what happened?
    Jerry

Maybe you are looking for

  • How can I use same account in 2 iphone with diff contact list?

    how can I use same account number but other all totally diff such as contact list, application, everything ..... I found that it's bad on IOS5. when I used IOS4 .. old verison, I can keep my phone in diff data. Afte upgrade IOS 5, it's bad. Even take

  • Help needed on Servlets and JSTL

    Hi I am using tomcat 5.5 and JDK 1.5. What are the softwares I have to download for compiling servlets and creating JSTL ?. Help needed. Thanks IndyaRaja

  • Have an additional file

    Hi, In my scenario, I would like split a message with key fields.      -> File 1 File    -> File 2      -> File n but with each files, I would like attach a referential file:      -> File 1              (Ref) File    -> File 2 (Ref)          (Ref)   

  • Command line compiler wierdness

    Have been compiling RoboHelp 7 HTML Help projects from the command line without issue, but suddenly no glossary text is displayed in the compiled chms. The .glo file is compiled, but the glossary tab is blank. All required dlls are registered, and su

  • Adobe pdf converter CD

    Hello my name is Lisa Hallman and I'm haveing problems installing my pdf converter from my disk that I bought. I can not find my Regestration code. All I have is the code for the trial. I down loaded from the adobe store. Now I'm trying to install fr