Writing arrays to text data with continious time stamp

Hi Friends,
I have the following problem.
I want to create a text file looking like this:
12,30,10, 10:30:00     12.05.2007
12,31,10, 10:30:00,1  12.05.2007
12,32,10, 10:30:00,2  12.05.2007
12,33,10, 10:30:00,3  12.05.2007
12,34,10, 10:30:00,4  12.05.2007
12,35,10, 10:30:00,5  12.05.2007
12,36,11, 10:30:00,6  12.05.2007
12,37,12, 10:30:00,7  12.05.2007
12,38,13, 10:30:00,8  12.05.2007
12,38,16, 10:30:00,9  12.05.2007
12,39,18, 10:30:01,0  12.05.2007
12,39,18, 10:30:01,1  12.05.2007
12,39,18, 10:30:01,2  12.05.2007
the first 3 values are read from a file ,recorded as array and than plotted in chart.
the beginning time (e.g 10:30:00  12.05.2007) is also read from a file and set as beginning of the chart with a property node. The problem is here , after I set the beginning time to the Chart I have nothing to do with it for the rest values, since samples/sec is also sent to chart.
So how can I write the a txt file including the time stamp with ms incrementations?
Thanks alot for your responces.
john

Hi John.
I would use a Time Stamp and "Format Into String" with e.g. %<%.1X>T.
Syntax details are in the LabVIEW Help - Search for "Format Specifier Examples".
Regards, Guenter

Similar Messages

  • Multiple channel data with different time stamp logging

    I have peaks and valleys from multiple channels with different time stamp but I am not able to log to a single file. Any idea on how to do this?
    Attachments:
    Single Point Peak Valley Log.vi ‏53 KB

    Hi Dennis,
    Sorry for that I have modified the VI.
    Because the peak and valley of every channel will occur at different time and I want to log the peak/valley with the time stamp.
    How can I log them on the same file.
    Attachments:
    Single Point Peak Valley Log_Mod.vi ‏53 KB

  • I have a string 2012-05-22T23:23:42.263-07:00. so i want to convert in date with indian time zone   can any one help me out

    i have a string 2012-05-22T23:23:42.263-07:00. so i want to convert in date with indian time zone   can any one help me out

    What does this have to do with iPhone tech support?

  • CDHDR table entry updation with different Time Stamp

    Hi Experts,
    I'm changing the Contract Partner First Name. The time stamp updation in Change Document Object DEBI is with UTC but the BUPA_BUP Object with Local Time Stamp.
    We want both time stamp with the UTC.
    Time Zone mentioned at SPRO level is UTC.
    Have anyone faced such situation earlier?
    Thanks and Regards,
    Jyoti Shankar

    Jyothi,
    I'm not sure whether this answers your query or not but suggest you to look at these 2 FMs'
    BUS_CUA_VARI_FUNCTION_CONVERT
    BUS_LOCATOR_OKCODE
    Ist FM uses table TBZ4 that uses GUI.
    Probably this is the reason you view object BUPA_BUP in the table with GUI time.
    Rgds
    Rajendra

  • In deleting an i message  the previous message remains on the screen but with the time stamp of the deleted message . how do i fix this?

    in deleting an i message  the previous message remains on the screen but with the time stamp of the deleted message . how do i fix this?

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • CUOM 2.3 sends multiple notifications for Event StoppedGSUPerformancePolling with same time stamps

    Hi Alll,
    I have a CUOM Version 2.3 which shows mutiple notifications per Device for Event StoppedGSUPerformancePolling with same time stamps. The message below is generated from the default All_Events for all devices.
    Does anyone have a solution for that.
    Regards Michael
    This message is generated 8 times with the same time stamp in all messages.
    ** This message is generated from Cisco Unified Operations Manager **
    ALERT ID                = 00012OW
    CREATION TIME           = Sat 30-Oct-2010 16:31:57 CEST
    MODIFIED TIME           = Sat 30-Oct-2010 17:00:58 CEST
    STATUS                  = Active
    SEVERITY                = Critical
    MANAGED OBJECT          = 183.201.141.193
    MANAGED OBJECT TYPE     = VoiceGateway
    ASSOCIATED EVENTS       =
        Cleared:183.201.141.193:Unresponsive
        Active:183.201.141.193:StoppedGsuPerformancePolling
    CUSTOMER IDENTIFICATION = Voice Port
    CUSTOMER REVISION       = Voice Port

    if you get SNMP timeout on multiple devices then the fault usually lies in the path that the polling follows to get to these devices and back to the server.
    The problem obviously lies in the part path they have in common.
    It is not unusual to see the highest backbone loads during the night, due to backups being taken.
    Make sure the most important inter-switch links have no errors.
    I would rather fix this then turn off alerting.
    Cheers,
    Michel

  • Save waveform data with corresponding time array to spreadsheet file

    Hello to all
    I am looking for a possibility to save voltage data acquired and displayed continousely to a spreadsheet file. Acquiring and displaying is not a big problem, but I have troubble to save the data with the corresponding timestamp with more than seconds accuracy. I am acquiring the data at 1000 Hz and read packages of 500 samples. The recording time should not be limited, it will be started and stopped manually. In fact the acquired voltage data first has to be scaled and than saved. If I use the 'WRITE WAVEFORM TO SPREADSHEET' VI the time column is in seconds' accuracy and that is not what I need. If I create my own time array from the waveform parameters I have timing problems. The accuracy in time should reflect the sample rate. I will attach one of my not very successful trials for better understanding.
    please help a newcomer!
    Thanks in advance
    Thomas
    LV 7.1
    Attachments:
    display & record forces v.1.0.vi ‏181 KB

    I usually follow a simple method to generate time stamp
    I keep sampling rate and number of samples to read as equal and do as shown in the attached VI
    I also remember building a VI with a small modification to this time stamp generation logic to cater to acq, where number of samples to read is half/one fourth/one tenth of sampling rate specified, but cannot find that VI.
    Hope this helps
    Regards
    Dev
    Attachments:
    Acq_DAQmx_filesave_time stamp.vi ‏121 KB

  • How to combine sql.Date with sql.Time into one?

    I have a database where I keep dates and times separately, and getting date only and time only out of a java.util.Date is no problem thanks to the classes java.sql.Date and java.sql.Time. However, I need to read these values back in, put them back together, and then do date comparisons with java.util.GregorianCalendar. I tried just adding the millisecond long values together but that didn't seem to work, and I've tried setting the year, month, date, hours, minutes and seconds individually into a GregorianCalendar but I haven't figured that out yet. Certain queries work out better keeping the date and time separate in the database and it takes less bytes than a timestamp, so please don't suggest I use a timestamp!
    Thanks for your help!
    Stephen

    You can add the milliseconds (ms), but you need to use just part of it. For this example, let X be one more than the maximum number of units in time and also the minimum number of units in date. If we were using hours instead of ms X would be 24.
    t = total ms from time
    d = total ms from date
    T = new combined time
    T = ((d / X) * X) + (T % X);Add (the date, rounded to the nearest day) and (the portion of time which is less than a day).

  • File name with Dateand time stamp.

    Hi All,
    I want to generate a file with a date and time stamp.
    For that in File Receiver adaptor i am using option "Add Time Stamp" in File Construction mode. however it is generationg file name as: FileName_20082104_121211_645.txt . In this I don't know what these last three characters "_645" are? And In the File name i only want a file name with datetime stamp . I don't require underscore in between. for eg: FileName_20082104121211.txt (FileName_dateTime.txt)
    Can anybody suggest me the way to achive this?
    Thanks,
    Atul

    @FileName_20082104_121211_645
    The date time stamp in XI's file adapter will be in that format. This is to avoid over writing of files created simultaneously at the same time. So the last 3 digits is a form of an unique id to distinguish between the same.
    In case you want the format as FileName_20082104_121211, use the dynamic configuration and create the file name inside the mapping itself and pass it across.
    To get an idea about the same, ref:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - an usage of the same.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm

  • Help with saving time stamps to "write to measurement file" excel format.

    I am having problems saving the timestamps from my data to the write to measurement express vi for excel.  My incoming data is converted from dynamic data to a 1d array for processing, which I understand you lose the time stamp data. I added a new array for time stamps but this array then cannot be converted back to the dynamic data that is requested to go into the write to measurement file express vi.  I would prefer to leave the data in an array to be saved rather than converting it to a waveform so is there any way to add the time stamps from my 1d array back into the write to measurement file? 

    I set it up to build a waveform now but I am still having issues with it saving the correct timestamp.  The time just incriments for every second (as it did before converting the dynamic data to the waveform). I attached a screenshot.  
    Attachments:
    waveform.png ‏36 KB

  • Date format(UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

    Hello Everybody,
                            I am facing a problem regarding creating an update program. The program will pick up data from a DB table through the RFC: RFC_READ_TABLE and then it will modify the custom DB table present in the system from where the program will be executed. Among the data of the fields to be transfered date field will be present but the format is of UTC Time Stamp in Short Form (YYYYMMDDhhmmss). Data is coming properly inside the internal table of the program, but on encountering a MODIFY or an INSERT statement its giving a short dump with a message: In a statement an invalid request was made to the database interface when accessing table "ZZTTT". What to do to transfer the data for the date field for the above said format. Eagerly waiting for your reply. Enclosed below the domain of the data element used in the table:
    Domain name: TZNTSTMPS(Data Type:DEC, No of Char: 15, Output Length: 19)
    Regards,
    Pulokesh

    data : d like sy-datum.
    CONVERT TIME STAMP tstamp TIME ZONE 'UTC' INTO
            DATE d TIME t.
    Check also fm : 'CIF_GEN3_CONVERT_TIMESTAMP'
    Hope this helps,
    Erwan

  • 0PM_ORDER_ATTR Delta is not working with AEDAT time stamp

    Hi Experts,
    I was trying to do a delta master data load for 0PM_ORDER_ATTR with AEDAT at delta filed with time stamp but its not working for me. The changed records are not comming in the delta load.
    But if i do a full load with with the date selection with the same AEDAT then its working.
    Is there anything wrong with the setting? Is delta supported for 0PM_ORDER_ATTR with AEDAT? M i missing anything?
    Help will be appreciated.

    Hello,
    I have the same problem.
    The safety margin is set to 0. So It should work, but maybe we have to set it to 1. I will test it tomorrow.
    If anybody has an idea, please let us know.
    Regards,
    bBe

  • Append two files with added time stamp

    Hi experts,'
    MY Requirement is I need to pick two files from two different FTP Locations and append them to file receiver FTP Location with Added timestamp.
    How to achive this as with append we do not get option of adding time stamp.
    Other thing is I want all the appended files should be there  in Receiver folder means like if we get two files today they should be appended to one and shld be put in Receiver folder then two files for tomorrow and they shoud be appended as a separate file in Receiver Folder.
    How to achive this??
    Regards,
    Nidhi

    Hi Nidhi,
    >>MY Requirement is I need to pick two files from two different FTP Locations and append them to file receiver FTP Location with Added timestamp
    Use BPM and pick the two files
    >>Other thing is I want all the appended files should be there in Receiver folder means like if we get two files today they should be appended to one and shld be put in Receiver folder then two files for tomorrow and they should be appended as a separate file in Receiver Folder.
    Use variable substitution and create the directory and filename dynamically...
    Use Dynamic configuration module in receiver adapter and do as specified in this blog:
    /people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi-asma-af-module-and-variable-substitution-in-one-shot
    Regards
    Suraj

  • Update table from SM30 with automatic Time Stamp

    Hi,
    I have created a table maintenance generator for updating table from SM30.
    Now there are fields in my table which are CRETING TIME and CHANGING TIME. Both being TIMESTAMP field (datatype: RSDDTZNTSTMPS).
    Is it possible while user updates records/create new record in the table from SM30, these time stamp field to automatically get populated.
    Also is there any F4 help available for TIMESTAMP field?
    ags.

    Hi,
    You need to do two things inorder to get the desired results.
    1) Go to Screen Layout of the Screen created by table maintenance generator and make the date/time columns to DISPLAY ONLY. This will ensure that user is not able to modify the values at runtime
    2) Write the code in PAI of the Module pool program to populate the values at runtime using Sy-datum/sy-uzeit. (Hint : Search for INSERT/MODIFY statements which will show the location before which you need to write your logic)
    Regards,
    Kshitija

  • Saving slow and fast data on the time stamp..

    Hi ! I'm retrieving data fast data from DAQ device  (dt=0,01s) and from GPS resiever (dt=1s) . I need to save all data on common time axis.
    Is there way to put zero in slow data colum if regular data are missing ?
    (sorry for stupid question I'm LV beginner )
    thanks
    Attachments:
    GPS_and_fast_data.vi ‏232 KB

    I tried to make it all day. This attachment demonstrate the way that look to be resolution of my problem.
    Message Edited by CUA on 05-07-2007 08:29 AM
    Message Edited by CUA on 05-07-2007 08:30 AM
    Attachments:
    GPS_and_fast_data_rev1.vi ‏201 KB

Maybe you are looking for

  • Powerbook G4 lcd vertical lines too see my youtube

    http://www.youtube.com/watch?v=6yYWdmUcymo There is a lot of documentation on various websites and discussion boards about 17" Powerbooks with displays that break down after about 15 months of use. I am unfortunate enough to own a 17" powerbook assem

  • Changing font default in P.S.E 5.0

    Could anyone please advise me  as to how I  can reset the default font whilst creating a slide show

  • Preview for MacOS X: pictiure could not be saved

    A .jpg file could not be saved/autosaved/duplicated after editing. What could that be? Is it related to certain .jpg file properties?

  • Protecting SWF files.

    Hi,      Can i know whether there is any way to protect swf files from being decompiling. I have seen that some tools are available for decompiling the swf files. Can anybody help me by providing a tutorial for the same or any ideas. Thank and Regard

  • Error -1101 when trying to login and upgrade client.

    Hello Experts, Recently upgraded SAP 2007 from PL 38 -> PL 47 Most users are fine except for one which i get the following error Internal error - 1101 after looking this error up i found this in the SDK Help - 1101  Data Source - Bad Connection Any i