"RT Set date and time" does not set seconds in UTC mode

Hallo,
I tried to set the time on my cRio 9012 with the function settimeUTC which is used by the "Set Date and Time" vi. But the seconds I enter are ADDED to the current time and not set as new value.
Even the vi shows this behaviour: I set up a vi in which the time is set in a loop (100ms delay) and read again. When I set local time the clock stops (as expected) but when I set the UTC time the seconds keep on running...
Can anybody help me with that problem???
Thanks
Florian
Solved!
Go to Solution.

Hi Andreas,
well it does not matter if I set a time zone in the MAX or not. In my example I was working on UTC + 0 but even when I set it to my local time (UTC + 1) I get the same behaviour modified by one hour.
My LabView Version is 8.5. In in the MAX under Software-> LabView-RealTime it says that I am using 8.5.0.
I suspect  that the settime.out which is installed on the cRio is probably the root of the problem as VxWorks itself does not offer a function (at least I did not find one) to convert from broken down system time to system time in seconds. There only exist one to convert from broken down local time to system time in seconds ( mktime() ). The reverse function is available for both cases: gmtime() and localtime(). I also did not find a way to find out the offset of the local time. So I have to use the library function settimeUTC() from settime.out.
As I offered I can send you the settime.out file from my cRio for reference or maybe you can tell me how to find out what the version of the file is. It seems not to be an ELF file as I looked inside it to find some timestamp or version info...
Thanks so far 
Florian

Similar Messages

  • The date and time will not set why?

    It keeps saying selecting date and time but never does. I tried signing in with my apple ID and it says to set date and time first and the only thing it lets me select is state.

    Welcome to the Apple Community.
    Assuming this is not the first time you have used your Apple TV
        1.    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
        2.    Also try restarting the router.
        3.    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If this is a new Apple TV, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • The setting date and time is not working

    Bought an apple TV, installed it as per instruction, connected to my internet but the seting date  and time is not occuring and the activation cannot occur either.  Spent 1 hr on the phone with Apple support staff - they told me it may be a router blockage and to contact my internet provider.  contacted internet provider , they tell me everything is working from their end so must be the apple TV device.  I was told this was easy techonology and that I would not have issues - I have spent 3 hrs on this and truly frustrated as its not working .  any suggestions would help!

    That would be a network issue as you were initially advised. When the date and time can not be set it means it is having trouble connecting to the network.
    Make sure router is up to date, reboot router and ATV. Make sure location is set correctly via ATV and also DNS (settings - general - network - configure DNS - automatic)
    Make sure your router allows access over port 123.
    Failing that try a restore on the unit

  • Adjusting date and time does not work for pictures from one camera.

    I have a set of pictures taken with a Casio EX-Z20 camera in my Aperture 2 library. Because the clock of this camera was off by a few hours I changed them all at once with the option "Adjust date and time...". This worked well and when I sorted the images from different cameras by date in Aperture they were in the order.
    When exporting all the images as JPEG the images in the set from this camera was reset to it's original.
    That was very strange, I decided to try and change the date of these images in the master files as well by checking the checkbox "Also change master files".
    When I change the date from 15-10-2008 18:34:44 to 16-10-2008 10:34:44 (+16 hours) the date of the image changes to 16-10-08 01:36:43 GMT+02.00 (+9 hours, 1 minute, 59 seconds).
    When I change the date from 16-10-08 01:36:43 to 16-10-2008 19:36:43 (+18 hours) it ends up as being 16-10-08 10:38:42 (+9 hours, 1 minute, 59 seconds)
    When I change the date from 16-10-08 10:38:42 to 16-10-08 10:48:42 (+10 minutes) it ends up as 16-10-08 01:50:49 GMT+02:00 (-8 hours, 47 minutes, 7 seconds)
    I have worked around this problem by adding some hours to the desired time and eventually got it about right, but this is still a very annoying problem. Has anyone else encountered it or know of a way to avoid it?

    {quote:title=JohniBook wrote:}
    Has anyone else encountered it or know of a way to avoid it?
    {quote}
    I certainly have had issues regarding wrong dates, time stamping and DNG's in Aperture. There have been posts here from others as well with the same kind of date problems.
    I have reported the bug to Apple and hope for a solution to the issue in a near future.
    Regards
    Paul K

  • "Set date and time automatically" not working on my new unibody macbook

    my digital time display shows wrong time, 6 hours +, but my analog clock shows the right time on my System Preference window. My system recognizes the digital time. I tried manually setting but if I get the digital time right my analog is wrong. Is anyone experiencing the same problem? What can I do?

    found this:
    http://discussions.apple.com/thread.jspa?messageID=8340794&#8340794
    deleting the "localtime" folder helped me.

  • Setting date and time is not working

    , I have restarted, and tried Network Settings, but still it just keeps thinking. What should I do?

    Hello dad1000,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Apple TV: TCP and UDP ports and protocols used
    http://support.apple.com/kb/ht2463
    TCP port 123 is used to communicate with a network time server.
    Make sure you dont have any firewalls, or antivirus, or router blocking this port.
    Best of luck,
    Mario

  • Set date and time

    I recently updated the apple tv .It was fine after the update although i did not use it as i was on my way out after the update.Days later when i put in on it cant seem to open itunes.reason being network time cannot be updated.i tried sighning out and now i cant sighn in.I tried reset that just brings me to a halt on screen that says activating setting date and time.Does any one know whats going on.Is the time server down ? Or something .Itune store sighn in works well in my pc ,ipad and other devices no problem.
    And i tried putting off all firewalls in router but no luck.
    Its connected wirelessly to the same router which normally works
    Any idea guys

    HI
    I have tried everything possible such as router firewall settings changing DNS servers using WIFI and ETHERNET nothing works.Waited for more updates nothing so far.The only solution is to down grade the firmware through itunes .Using now 5.0.2 works like a charm .Don't wait any longer just search apple forum for procedure and follow.Use a mac better.It takes only 5 minutes for the process.All you need is a mac or windows pc,usb cable,the type that goes behind the apple tv,(I used a blackberry bold 9900 original cable),software known as ipsw.YOU DONT NEED TO POWER THE APPLE TV WHILE DOING THIS.IT WILL LIGHT THE LED FROM PC POWER.GO TO https://discussions.apple.com/thread/4419016?start=0&tstart=0  Read procedure written by cwlown .JUST MAKE SURE FOR MAC HOLD OPTION KEY DOWN THEN CLICK RESTORE .POINT TO THE DOWNLODED ipsw AND RUN.FOR WINDOWS HOLD SHIFT THEN CLICK RESTORE .POINT TO Ipsw download and run.There is no neen to unzip or extract ipsw.I had a problem when using windows xp ipsw did not show up as an upgradeable firmware therefore could not run it.I did not want to waste time and used the mac instead.I think renaming the ipsw in windows could have cleared the problem.Another thing is after the downgrade itunes will say that your APPLE TV is restored to its factory defaults don't worry the job is done ,check your software on the APPLE TV THROUGH your tv LOCATED at general then about.SETTING up the ATV first connect the wifi or lan cable select location first THEN sign in.

  • APPLE TV 2 HD model and updated to latest version 6.1.1 since doing that it won't set date and time and tells me my Apple ID and password are incorrect and I know there not. What do I do?

    It connects to internet fine. I have tried restoring back to factory condition and hard wire update by connecting it to my Mac mini .
    The date and time won't set. And won't acknowledge my Apple ID and password......... I am usually tech savy but this has caused me grief .
    Do I need to downgrade my update....
    But can't get any menus until I log in my apple account...
    It can't log into my iTunes account until time and date have been set.
    When I did the hard wire restore connected to Mac mini it wouldn't go past the date and time screen as it wouldn't when I did the wifi update too.
    it just would get past that screen.
    Anyone help!!

    This is the result of a network issue.  Ensure port 123 on the router is open.

  • Can not set date and time

    i can't not set date and time i live in florida and i am visiting hawaii.Brought my apple tv and airport express , created my own network to watch my apple tv but unable to set date and time on my apple tv.Pleas help.

    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router.
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If restoring from the Apple TV doesn't help, try restoring from iTunes using a USB cable.
    If this is a new Apple TV, in addition to trying the above, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • The date and time is not working after setting it to current date and goes back to may,26 2011

    the date and time is not working after setting it to current date and goes back to may,26 2011; 2 PM . I bought my ipod tocuh 4th gen on july 18th

    On the iPod, make sure your Calendar is set to Gregorian (Settings > General > International > Calendar).  Also make sure your date and time on your computer is correct as well as the Time Zones on both.

  • Can not set date and time on a new Apple TV

    can not set date and time in a new appletv

    Hello lfsalas55,
    You may need to verify that TCP port 123 on your router is open and available for use by your Apple TV.
    Apple TV: TCP and UDP ports and protocols used
    http://support.apple.com/kb/HT2463
    Cheers,
    Allen

  • My iMessage and Facetime won't activate, says waiting for activation. All photos and contacts are restored, using email and wifi only, no service. Only issue is date and time will not automatically set.

    My iMessage and Facetime won't activate, says waiting for activation. All photos and contacts are restored, using email and wifi only, no service. Only issue is date and time will not automatically set.

    Howdy eewebe13,
    So you have no cellular service but are on Wi-Fi yet iMessage and Facetime are waiting for activation.
    Please step through this article for that scenario.
    If you get an error when trying to activate iMessage or FaceTime - Apple Support
    Thank you for visiting Apple Support Communities.
    Nubz

  • My apple TV not able to set date and time

    Pl let me know how to signin in iTunes in apple as date and time is not working

    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router. (Also try removing it’s power cord for at least 30 seconds)
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If restoring from the Apple TV doesn't help, try restoring from iTunes using a USB cable.
    If this is a new Apple TV, in addition to trying the above, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • Not able to set date and time

    I have a problem with automatic date and time will not initiate. I have wireless connection verified; my DHCP is properly configured, the latest i-Tunes software update, homesharing ID matched with computer and security firewall verified configured properly for allowing all incoming connections. Second Apple TV 2 bought in past two days where it will not update wirelessly. Is this a port problem, NTP, or related to software update that went wrong?
    Contacted router vendor to troubleshoot their device. Verified with my computer, the wireless router works. Has anyone seen this problem before?
       Thanks!

    Welcome to the Apple Community.
    If you have previously been able to use your Apple TV without this problem, you might try restarting the Apple TV by removing ALL the cables for a 30 seconds. if this doesn't help try a restore.

  • What happened to the Get/Set Date and Time utilities from RT 7.1?

    I'd like to use the Get/Set Date and Time utilities that were available in 7.1, but disappeared after that. I see that the 7.1 utilites  call a dll that does not appear to be installed with LabVIEW RT 8 and later. What do I need to do to use the utilites from 7.1 that do not appear in later versions?

    In Labview 8.2 and later there are two directories for vi.lib. settime.dll is located in National instruments\Labview 8.2\Targets\NI\RT\ vi.lib
    This is the dll you want to use in order to call it use the same Vi as in 7.1 (RT set date and time.vi) and link it to the correct dll.

Maybe you are looking for