How to get timestamp to start at zero hours?

Hi.
I'm building a software that logs values to excel.
The user can enter how long the test should run for, and the time elapsed should be set as a string in [hh:mm:ss]
The only problem is that the TimeStamp starts at 01:00:00 (beacuase of the 1904-issue i guess). How can I get the counter to start at 00:00:00, or maybe subtract the one hour in the begining so it starts at zero.
If you run the VI you'll understand what I mean.
Thanks!
Is my avatar the dog from the fraggle rock?
Solved!
Go to Solution.
Attachments:
forum_program1.vi ‏26 KB

Hi auto,
you have to use relative time instead of absolute time - see attachment...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
forum_program1.vi ‏27 KB

Similar Messages

  • Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?

    Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. Also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How to get the date starting from 1 to the current date from the system dat

    Dear all,
    Please tell me how to get the date starting from 1 based on the system date
    and it should come with respect of time also.
    example.
    suppose today is 6 Dec, 2006
    so ABAP report should find the 1 dec. 2006.
    Please help me as soon as possible.
    Regards,

    concatenate sy-datum0(2) '01' sy-datum4(4) into v_firstdate.
    or yo ucan use the fm:
    HR_JP_MONTH_BEGIN_END_DATE
    usage:
        call function 'HR_JP_MONTH_BEGIN_END_DATE'
             exporting
                  iv_date             = sy-datum
             importing
                  ev_month_begin_date = gv_begda
                  ev_month_end_date   = gv_endda.
    Regards,
    Ravi
    Message was edited by:
            Ravi Kanth Talagana

  • I had to restart my mac desktop because it froze now I went to restart it and all its doing is beeping at me. Does any one know how to get it to start again Please help

    I had to restart my mac desktop because it froze now I went to restart it and all its doing is beeping at me. Does any one know how to get it to start again Please help

    Welcome to the Apple Support Communities
    It shows a hardware issue. How many beeps do you hear? See > http://support.apple.com/kb/HT2538

  • Excel time is current, how do I have it start from zero

    I am sending time and temp data to excel.  I want the time to show elapsed time instead of current time in decimal form.  Right now the time displayed is the current seconds that the actual time is when I start the program.  How can I get the time to start with zero everytime?
    I want it to look like this:
                                0.000    21.233
                                0.250    21.256
                                0.500    22.001
                                1.000    21.563
    Thanks for your help!
    Kenny

    Will you take a look at this set-up?  I am getting the data I want, but the columns and rows are messed up.
    0
    0.25
    0.5
    0.75
    23.29717
    0
    0
    0
    22.92344
    0
    0
    0
    23.29717
    0
    0
    0
    21.86387
    0
    0
    0
    This is what I'm getting can I make it give it to me like:
             0           23.29717
             0.25      22.92344
             0.50      23.29717
    Attachments:
    elapsedtc1.vi ‏132 KB

  • How to get a fresh start to successfully install creative cloud for mac?

    I start with install creative cloud for download trials, however, since I'm in China, the creative cloud somehow automatically defaults and installs the software in Chinese version(for example, there is no way that I can choose the language of premiere, then it already been installed in my mac system in Chinese). I thought that perhaps it's because my account is set in China, then I try to uninstall all the trials, and try to delete creative cloud from my mac ios platform, but because I'm not familiar with the IOS platform, I think I didn't delete the creative cloud properly, after that, even I successfully install the English version of PRE, the creative cloud couldn't work. And I couldn't open AE v12.0 with mac IOS v10.9.4 unless upgrade AE to v12.0.1, and since the creative cloud wouldn't work, the adobe application manager is also not working. When I try to open application manager it shows this(even though the creative cloud is already installed):
    And I download creative cloud again from the URL, try to install, after that, creative cloud is running, but it shows still damaged.
    So all in all, how could I fix this crisis circle?
    How could my IOS system get a fresh start to install the creative cloud, it's there some files that I suppose to delete or what? Please try to give me a clear instruction with this, there are similar problems with people around me as well, I want to help them, too.
    And also what is the difference between adobe application manager and creative cloud?
    Look forward to your reply, thanks.

    Hello,
    Please see this link- http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
    ~Deepak

  • How to get Timestamp from NI-XNET hardware?

    Hy All,
    How can I get Timestamp directly from the hardware (NI-XNET) with the format of the timestamp at the 'Raw Frame Format'?
    Thanks for advance,
    Aviad

    OK! I got it: nxReadState.
    Sorry, it's so clear from the documentation...

  • How to get the week start date from ISO week number

    Hi,
    I have a table with the following stucture
    Year    error    Week1     week2   week3 ......week53
    2012       error1     2           4         2             1
    2012       error2    3          0        1                 1I was hoping to get something like select year, error, week1||'Week start date which is a monday of that week' , week2||'Week start date,again monday',....week53 from table
    Any suggestions please?
    Thanks,
    Sun

    Hi, Sun,
    To see when week N started, add 7 * (N - 1) days to the beginning of the year. (By definition, the beginning of the ISO year is the start of week 1 of the ISO year.)
    To see when week 22 of the current year started:
    SELECT  TRUNC (SYSDATE, 'IYYY') + (7 * (22 - 1))
    FROM    dual
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • How to get two date difference in Day/hour/min/secs pl

    First of all,
    Hello to All, i am new to Oracle DB, but i have little experience in Other Database such as Sybase, sql server etc
    please kindly help me
    in DoctorChart table i have DocName,Id#,Citcotype,Medtype,AdmitDate,DischargeDate(both admitdate & Discharge date is date formatted columns)
    so how can i get the below differenceTime (which means Dischargedate-Admit Date in below format i.e, Day,Hours,Minutes,Seconds...)
    DoctorName, ID #, Citco type, MEDtype, DifferenceTime
    ========= === ======= ======= ===========
    Dr. KindaEmesko, 20045, Replace OutCard, ICH, 0 day 9 hours 11 minutes
    Dr. KindaEmesko, 20098, Replace OutCard, ICH, 1 day 2 hours 34 minutes
    Dr. KindaEmesko, 20678, Replace OutCard, ICH, 2 day 23 hours 52 minutes
    Dr. KindaEmesko, 20212, Replace OutCard, ICH, 4 day 1 hours 00 minutes
    Dr. KindaEmesko, 20345, Replace OutCard, BED, 3 days 14 hours 15 minutes
    Dr. KindaEmesko, 20678, Replace OutCard, BED, 9 days 21 hours 52 minutes
    Dr. KindaEmesko, 20015, Signature Overlay, Rest, 0 days 3 hours 29 minutes
    Dr. KindaEmesko, 45678, Signature Overlay, Rest, 0 days 1 hours 29 minutes
    Same way how can i get the Average Time for the above result (without ID columns)
    DoctorName, Citco type, MEDtype, Avg DifferenceTime
    ========= === ======= ======= ===========
    Dr. KindaEmesko, Replace OutCard, ICH, 2 day 1 hours 00 minutes
    Dr. KindaEmesko, Replace OutCard, BED, 6 days 17 hours 15 minutes
    Dr. KindaEmesko, Signature Overlay, Rest, 0 days 2 hours 29 minutes
    Please just tell me how to get the two dates difference as day/hour/minute format
    as well as how to get avg ( two dates difference as day/hour/minute format)
    Please Help me
    Thanks in advance

    Well, instead of all these suggested manipulations you can simply use intervals. Oracle uses day as a unit in date arithmetic, so Dischargedate-Admit Date is number od days between two dates. Built-in function numtodsinterval can be used to convert it into interval. For example:
    SQL> with t as (
      2             select trunc(sysdate) - 2 Admit_Date,
      3                    sysdate            Discharge_Date
      4               from dual
      5            )
      6  select  numtodsinterval(Discharge_Date - Admit_Date,'DAY') Hospital_Stay
      7    from  t
      8  /
    HOSPITAL_STAY
    +000000002 00:01:08.000000000
    SQL>  SY.

  • How to get timestamp in OEG filter ?

    Hi, may I have another question(sorry for pretty much of questions):
    In OEG, how could I get a timestamp(can OEG generate timestamp?) within OEG and assign its value into my SOAP message.
    Thank....
    Cliff

    You can use the Utility > Scripting filter
    importPackage(Packages.java.util);
    importPackage(Packages.com.vordel.common.util);
    var UTC_DATE_FORMAT_WITH_MS = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    function invoke(msg) {           
    var timestamp = SimpleDateFormatPool.formatGMT(UTC_DATE_FORMAT_WITH_MS , msg.get("message.reception_time"));
    msg.put("timestamp", timestamp);
    return true;
    }

  • How to get password off start up?

    How do I get rid of the password at start up?

    Hi John ...
    Open System Preferences > Users and Groups then select the Password tab.
    Click the lock icon (bottom left corner of the pane) to make changes.
    Select your user name from the pop up menu next to:  Automatic Login
    Click the lock.

  • How to get it to start up???

    This has got to be easy!
    OK, I have downloaded the Sun Java software, and can see that it resides in a directory on my c-drive., viz. c:\j2sdk1.4.2_11. Now how do I actually make it start up? Was there supposed to be an icon created on my desktop that I can click on something??? Seems like they tell you everything except how to make it start!!!
    Thanks!
    Bewitched & Bewildered

    Can you please be a little bit more specific? Which software did you download? If it was Java Studio Enterprise - did you install it? If you did - was the installation successful? If it was - what is the error you are experiencing when trying to start it up?
    Thanks,
    Kirill

  • How to Get GPS to Start on Start up?

    I would like to have the GPS service start on start up. I have a location service that only works when the GPS is on. However GPS only starts when I urn on a app that uses the service. I would like to have it turn on when I start my Razr.

    There are multiple apps you can install on the RAZR from the Play Store.
    These would include, but are not limited to, Android Lost, Find My Friends and Lookout Security & Antivirus.

  • How to get users to start with the first episode?

    I checked my stats today and found that the most recent episode of my podcast is the one the has been hit waaay more than any of the others. But I'd really prefer listeners hit the first episode first. Do other podcasters find this? Is it worth re-ordering the dates in the feed to get the fist episode to come up first in the list?
    G4   Mac OS X (10.4.3)  

    Actually, you can change the order of items in the RSS feed without changing any of the dates or other info that is within a given item.
    Select the episode you want first, cut it and then paste it at the top of the list right after the general feed info. Re-order all your episodes this way (oldest at the top, newest at the bottom). This way, if someone double-clicks the name of your feed episode 1 will be the one they get.
    Also, in many podcast lists your episodes are listed in the same order in which you have placed them in your RSS feed
    So you just re-arrange the items, but don't change the info in the items.
    G5 dual 2.7 Mac OS X (10.4.2)
    G5 dual 2.7   Mac OS X (10.4.2)  

  • Windows 7: How to get iTunes to start minimized on boot

    I just got a brand new Windows 7 machine, and installed itunes. I see no option for having it start on boot anywhere in the preferences. I know I can add an itunes shortcut to my startup folder, but this causes the program to start with it's window open. I've tried setting the property to start minimized, but iTunes seems to ignore it.

    Install Windows using Boot Camp Assistant. Register it. Install Parallels and configure it to use the Boot Camp installation of Windows as the guest operation system. Register Windows in Parallels. If the online registration does not work use the telephone registration. It is an automated system that will give you a second registration number. If the telephone system does not work for you call the registration assistance number. They will give you a new key for your Parallels Windows.
    The reason you need to register twice is because Windows uses your hardware configuration to identify what computer it is installed on. When you use Windows in Parallels, Parallels creates virtual hardware that appears different than the hardware used during the Boot Camp installation. So Windows thinks it is installed on two different computers. Once the registration is performed with two different keys (free of course) then you won't have any problems.
    You will need to go through this double registration for Microsoft Office as well if you install it.

Maybe you are looking for

  • Duplicate checking based on the content of the incoming file

    Hi, We have a requirement where in we have to check whether a file has been duplicated or not based on the contents of an incoming file.The threads which I have seen in SDN deal with the duplicate checking based on the filename of the incoming file.

  • Logistics Invoice Verification (LIV) -IR before GR

    Hi All, We're going to post an invoice for a certain Purchase Order (PO) where no goods receipts had been posted yet. Is there any anyone who knows what tolerance key and system message should I need to configured in order for the system to check the

  • How can i make Garrysmod not crash every 5 minutes?

    ive been playing on the mackbook Air (hands down the most awefull peice of machenery with the shame to call itself a computer ive ever been on) and within 5-10 minutes of playing on Garrysmod it will crash the game. Ive only recently been having the

  • How convert to jpg picture into bmp ?

    Hi experts, I am trying to convert my jpg picture into bmp. for this i write one report but showing some TRANSFER WA_MIME1 TO DSN1. HERE IS MY FULL CODE PLZ HELP ME. REPORT  ZSE78_7. DATA: blob TYPE w3mimetabtype,        blob_size TYPE w3param-cont_l

  • Firefox Console says "Unknown property '-rave-layout'.Declaration dropped."

    I'm just wondering because I'm trying to debug some css issues and ran across these. Is this a known problem? Is this innocuous? Is Firefox wrong? I'm using version 1.5.0.1 ..., and while we are at it I also see this other Error Error in parsing valu