CRIO 9076 Time Sync

If this is true NTP synchronization does a large correction of the date-time on boot. After boot, it adjusts the processor clock to account for drift.  The algorithm has an error tolerance but if you exceed that tolerance (i.e. if you are too far out of synch) it will stop trying to adjust the processor clock to synchronize. Calling the Set Date & Time VI typically causes the clock to move beyond the algorithm error tolerance. Is there an error tolerance on the large correction also? I am not able to get my system to sync on boot so if the controller resets, I lose my time. Is there a VI to query the sntp server during initialization and set the time there? 
Solved!
Go to Solution.

I must be doing something wrong then.
I have a PC and the crio in a mini switch which is connected to out network switch so they are both running through the same network gateway.
Our Time Server is the same machine as our DHCP server and the DHCP is providing an appropriate IP.
On the Web Based config page of the crio I am getting "Failed to Receive Response from SNTP server" at the 60 second polling interval.
I have installed NI-TimeSync 1.1.2 on the cRIO. Below is my ni-rt.ini
[SYSTEMSETTINGS] Comment=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Comment_Format=512 Host_Name=ELO-VTShed Protect_Reboot=FALSE
[TCP_STACK_CONFIG] DNS_Address=USE_DHCP Gateway=USE_DHCP IP_Address=USE_DHCP Subnet_Mask=USE_DHCP
[TIME SYNC] source.sntp.address=192.168.150.44 source.sntp.enable=TRUE source_priority=sntp;rtc; source.sntp.interval=60 source.sntp.port=123 source.sntp.verbose=True source.sntp.log=False
[LVRT] memoryChecking=False LABVIEWRTDir=/c/ni-rt/system CDIntervalTicks=55 WebServer.Enabled=FALSE RTTarget.VIPath=/c/ni-rt/startup RTTarget.IPAccess=+* RTEnetRcvMode=2 RTCPULoadMonitoringEnabled=True RTTarget.ApplicationPath=/c/ni-rt/system/startup.rtexe WebAppServer.Enabled=True StartupDlls=nisysrpc.out;NiRioRpc.out;nidp_target_end.out;taggerrt.out;niserial.out;NiViSrvr.out; PATH=/c/ni-rt/system/;/c/ni-rt/;
[MODULE VERSIONS] criosd.out=6.3 niriompc5125k.out=6.3 nivirio.out=6.3 niriosrv.out=6.3 niriorpc.out=6.3 NiFpga.out=6.3 NiFpgaLv.out=6.3 niriosae.out=6.3 nisysapi.out=6.3 nisysrpc.out=6.3 nirpcs.out=6.3 lvanlys.out=6.3 lvblas.out=6.3 goopsup.out=6.3 rendezvs.out=6.3 semaphor.out=6.3 nbfifo.out=6.3 settime.out=6.3 lvalarms.out=6.3 lvuste.out=6.3 nisvcloc.out=6.3 rtvarsup.out=6.3 lvrt.out=6.3 tsengine.out=6.3 ni_emb.out=6.3 vxfpsup.out=6.3 nirtdm.out=6.3 nipci.out=6.3 libexpat.out=6.3 registry.out=6.3 ftpserve.out=6.3 crio_ce.out=6.3 NiViEnet.out=6.3 NiEnAsrl.out=6.3 NiViRpc.out=6.3 NiViSrvr.out=6.3 niserial.out=6.3 taggerrt.out=6.3 TgrDD.out=6.3 bb_lib.out=6.3 crio_expert.out=6.3 nNIBlueBus_nCrioFixed_nRefnum.out=6.3 lvpidtkt.out=6.3 NiViUsbj.out=6.3 nitaglv.out=6.3 mxssvr.out=6.3 mxsdb.out=6.3 mxsutils.out=6.3 mxsdd.out=6.3 mxsin.out=6.3 mxs.out=6.3 nilvce.out=6.3 lvceconfig_handler.out=6.3 nilvicv_deployhandler.out=6.3 nilvicv_runtime.out=6.3 niScanEngineConfigIntf.out=6.3 nidp_target_end.out=6.3 nidp_host_end.out=6.3 dmRIOBus.out=6.3 NiViSv32.out=6.3 NiViAsrl.out=6.3 visa32.out=6.3 NiViSys.out=6.3 nisysapisvc.out=6.3 niSysNetCfg.out=6.3 niDiscSvc.out=6.3 niDiscExp.out=6.3 ws_runtime.out=6.3 nilwpce.out=6.3 logosrt.out=6.3 nilxtcor.out=6.3 nipspxts.out=6.3 ni_traceengine.out=6.3 nigmp.out=6.3
[SUPPORTED LOCALES] english=L1
[STARTUP] MainExe=/c/ni-rt/system/lvrt.out DisplayStartupLibProgress=TRUE EarlyStartupLibraries=nirtdm.out;nimdnsResponder.out;vxfpsup.out;tsengine.out;nisvcloc.out;RTWebServer.out;niDiscSvc.out;mxssvr.out;
[MDNSRESPONDER] mDNSDisableAnnouncement=0 mDNSDisableDiscovery=0
[DEPENDENCIES] lvrt.out=ni_emb.out;libexpat.out;niCPULib.out;libappweb.out;libappweb.out; crio_ce.out=bb_lib.out;nilvce.out; NiViRpc.out=nirpcs.out; NiViSrvr.out=nirpcs.out; ni_httpClient_nossl.out=nigmp.out; taggerrt.out=logosrt.out;mxssvr.out; bb_lib.out=NiRioSrv.out;libexpat.out;nilvce.out; crio_expert.out=NiRioSrv.out;bb_lib.out; nitaglv.out=logosrt.out; mxs.out=mxsutils.out; mxssvr.out=nirpcs.out;mxsutils.out;mxsdb.out;mxsdd.out;mxsin.out; criosd.out=niriosrv.out; niriompc5125k.out=niriosrv.out; nilvicv_deployhandler.out=nilvicv_runtime.out; nilvicv_runtime.out=logosrt.out;nilvce.out;libexpat.out;nilwpce.out; lvceconfig_handler.out=nilvicv_runtime.out; niScanEngineConfigIntf.out=nidp_host_end.out;nilvicv_runtime.out; nidp_target_end.out=libexpat.out;logosrt.out; nidp_host_end.out=libexpat.out;logosrt.out; dmRIOBus.out=bb_lib.out; visa32.out=NiViSv32.out; NiViSys.out=nisysapi.out;visa32.out; NiFpga.out=niriosrv.out; NiRioSrv.out=libexpat.out;nirpcs.out;lvrt.out; NiRioRpc.out=NiRioSrv.out;nisvcloc.out; NiViRio.out=NiRioSrv.out; niriosae.out=nisysapi.out;niriosrv.out; NiFpgaLv.out=NiFpga.out; nisysapisvc.out=nisysrpc.out;nisysapi.out;nimdnsResponder.out;ws_runtime.out; niSysNetCfg.out=nisysapi.out; nisysrpc.out=nirpcs.out;nisysapi.out; niDiscExp.out=nisysapi.out;nimdnsResponder.out;niDiscSvc.out; niDiscSvc.out=nimdnsResponder.out; ws_runtime.out=nilwpce.out; RTWebServer.out=libappweb.out; libniauthModule.out=nigmp.out; nilwpce.out=logosrt.out; niauth.out=nigmp.out; nipci.out=nirtdm.out;
[NVE] MessageQueueUpperBound=1000000
[NIDP_HANDLER_LOAD_ORDER] nilvicv_deployhandler.out=crio_expert.out; lvceconfig_handler.out=nilvicv_deployhandler.out;
[LOGOSXT] Heartbeat_AbsenceDetectCount=10
Any ideas? Thanx

Similar Messages

  • Problem in data acquisition for cRIO-9076 wth c series drive interface module 9516

    I am using LabVIEW for my project i.e., the speed control (using PID) of a motor and want to create a vi for the same.
    The specifications of the products being used are as follows:
    1) Motor: AKM24F (dc motor)
    2) CompactRIO: cRIO-9076
    3) C Series Servo Drive Interface: NI-9516
    I am facing problem regarding the real time interface between the motor and PID block in labVIEW i.e. in the data acquisition part to be specific. Please suggest a way in which I can successfully acquire the analog data(speed) from the motor and vice versa in the vi.

    What is the priority of the VI you're running?  I'd be concerned that maybe you've starved out the ethernet transmit thread or something.
    -Danny

  • New to NI cRIO 9076

    Hello everyone!
    i am completely new to interfacing NI modules with labview. i interfaced cRIO 9076 through ethernet, installed all the softwares (NI RIO, NI RT etc). it is getting detected in NI MAX. but  all it shows is "cRIO is in safe mode( no softwares installed)" and status LED blinks two times indicating trouble with software. 
    how do i configure the device. what are the things to be done to use cRIO.?
    PS:i also have gone through the getting started guide from this link
    http://www.ni.com/gettingstarted/setuphardware/compactrio/
    Thank you!

    i have installed everything from the LabVIEW evaluation CD. i have also checked that all the necessary cRIO softwares are installed. 
    i use 2013 version of FPGA,NI MAX and RIO
    OS is Windows 7
    when i check the NI distributed system it says i have attached modules at port 1&4(in screenshot). so i guess there is no problems with the cRIO.
    Attachments:
    Distributed system.JPG ‏67 KB
    national instruments softwares.JPG ‏123 KB

  • Combine cRIO 9076 and cRIO 9081

    I have two FPGA real time controllers: cRIO 9076 and cRIO 9081.  Due to not having the latest version of LabVIEW (2011), I am unable to use cRIO 9081.  Since cRIO 9076 has only 4 slots for the modules, I am thinking of using cRIO 9081 as a slave just to add more modules on its slots.  Will this work?  If so, how can I connect cRIO 9081 to cRIO 9076. Any suggestion is appreciated.
    Solved!
    Go to Solution.

    Hello ExcelX,
    Unfortunately, there is no meaningful way to interface with the 9081 without having the correct versions of LabVIEW (at least 2011) and NI-RIO (at least 4.0). It does run windows, so you could in theory boot it up in Windows and attach a monitor to it, but you wouldn't be able to run any code on it.
    You could download the trial version of LabVIEW 2011 and use it with your 9081 for thirty days. But I recommend just upgrading to LabVIEW 2011 - the 9081 is a powerful (and expensive) CompactRIO.
    Colden

  • CRIO 9076 AI Sampling Problem

    Hi,
    I have a question about the NI 9223 samping rate in our cRIO 9076 system.
    Since we are hoping to samping at a rate up to 500K or 1M,  we are now using the user controlled I/O sampling.
    Right now, we are sampling at 500K (2us). But I got a tick count of 99 ticks (around 2.5us) for the sampling node only.
    Should I be expecting so many ticks for the sampling block? Did I do anything wrong?
    Thank you so much!
    Solved!
    Go to Solution.
    Attachments:
    problem.JPG ‏399 KB

    Hi hang-up,
    It looks like you are specifying the loop rate for the entire while loop you are in, and not just that one specific part of code.  Because you have your loop timer controlled by an front panel object, it is possible that the code compiled, but if you change the loop time to a low value, the code cannot complete in time.  I would suggest that you isolate the acquisition you are trying to do in it's own loop so that it can run at full speed.
    Additionally, in order to get the full MS/s acquisition, you are going to need to architect your acquisition.  I would encourage you to check out the example code in our Example Finder for the NI 9223 User Controlled II Compositionally for the best way to get these maximum acquisition rates.  Additionally, depending on how you are going to be exporting this data from the FPGA, your ART controller may not be able to handle a sustained MS/s throughput.
    To explicitly answer your question, I suspect that because you are trying to complete a large loop in a short amount of time, the FPGA cannot complete the task in time, so it defaults to a rate that can be better handled.  For the control you are looking for, I would encourage you to move your application over to the architecture found in the example project to get the behavior you are looking for.
    Ben N.
    Applications Engineering
    Certified LabVIEW Developer

  • CRIO 9076 disconnect​ing

    I am attempting to use a cRIO-9076 with the NI 9512 and the NI P70530 stepper driver. However, I am having difficulties keeping the 9076 connected to my host PC. I've read the forums on this problem before, but those answers did not help solve my problem. The cRIO will connect when first powered on or reset, and will be visible in MAX, but when I try to view the attached devices in MAX (e.g. NI-9512 module), the cRIO will disconnect. 
    I also cannot connect to the device in LabVIEW at any point.
    I am using LabVIEW Real-Time 11.0.1 on the cRIO, and also Real-TIme 11.0.1 on the host PC (LabVIEW 2011 SP1 f2).
    Any suggestions are appreciated.
    Thank you,
    Enan

    Hey Enan, 
    Thanks for posting on our boards. You posted on the LabVIEW boards which is good, but I think you will probably get more responses if you post on the boards that are for the cRIO and RealTime stuff. 
    Here is that Board: Real-Time Measurement and Control [cRIO, R Series, FlexRIO, sbRIO, GPIC]
    That board is frequented by more people that interact with the cRIO and RT more than just the LabVIEW board.
    When you post there, I would also add what your OS is and what bit OS you are using. It might be helpful!
    Thanks for posting!
    Douglas C.
    Applications Engineer
    National Instruments

  • CRIO 1588 Software Sync Error [swsync]

    I have 2 cRIO 9074's w/ 9144 ethercat expansions.  The cRIO's are 1588 slaves to a PXI-6682 GPS module.
    I am getting spurious errors (2147137804 - Master is no longer sync'd with the slave device acting as the reference clock)
    that appear as scan engine faults within the Distributed System Manager.
    Could someone please explain the meaning of this error?

    These are the devices present in the network: 
    - sbRIO-9606: http://sine.ni.com/nips/cds/view/p/lang/it/nid/210003
    - cRIO-9076: http://sine.ni.com/nips/cds/view/p/lang/it/nid/209758
    - Switch Catalyst 2960g:
    http://www.cisco.com/c/en/us/products/switches/catalyst-2960-seriesswitches/
    index.html#
    - BAT-C:
    http://www.hirschmann.com/en/Hirschmann_Produkte/Industrial_Ethe
    rnet/news/New_BAT-C_from_HirschmannuE2u84uA2/index.phtml
    - Open-BAT:
    http://www.hirschmann.com/en/Hirschmann_Produkte/Industrial_Ethe
    rnet/BAT-Family/open_BAT_wireless/index.phtml
    - Desktop-PC with a network board, Realtek PCIe GBE Family Controller
    I attached a block diagram that describes the Network Topology. The cRIO is connected by ethernet cable, while sbRIO is connected by WiFi. 
    Both BAT-C and Open-BAT support WiFi 802.11 b/g/n.
    I don't think that the problem could be that the WiFi connection get broken for some reason. Both the cRIO and the sbRIO send a continuous stream of the data to the PC. The stream (6 Mbit/s) coming from the sbRIO, that uses WiFi, arrives correctly without any lost in data also after the loss of PTP synchronization. If the connection was broken, I think that also this data stream would be corrupted.  
    All the devices in the network are setted with a static IP address. 
    Attachments:
    NetworkTopology.png ‏24 KB

  • SbRIo time sync with SNTP server

    Hi!
    I'm syncronizing a sbRIo with a time server as described here:
    http://digital.ni.com/public.nsf/allkb/F2B057C72B537EA2862572D100646D43?OpenDocument
    I've a couple of questions:
    1) what happens if the time server becomes unreachable?
    2) can source.sntp.address be specified as a name address to be rosolved by a DNS? (It seems to me that if the name can't be resolved the board boots in safe mode...)
    thanks in advance for any reply,
    Marco
    p.s. sorry for cross-posting (http://forums.ni.com/t5/Real-Time-Measurement-and/sbRIo-time-sync-with-SNTP-server/m-p/1951123),
    but the problem is quite urgent...
    Solved!
    Go to Solution.

    Hi Marco,
    1) If the SNTP time server becomes unreachable, the cRio will update the local time independently, starting from the last time value get from the server
    2) You are right, it doesn't work properly. The right way to express the SNTP source is using IP address
    Regards,
    Andrea R.

  • Problem with date and time syncing itouch to macbook

    i have a problem with the date and time on ical when i sync my itouch4 w my macbookair. whatever i entered into my calendar in itouch will appear different in my ical( with a 6 hrs advance difference) and the alarm i set on my itouch in the calendar doesnt ring at the right time as set even though it is shown the time that i wanted.
    Both my macbook n itouch are set to the same time zone and i have checked this many many times n the time is the same on both machine. but i just dont understand why is there a time difference when synced and my alarm just dont sound at the time it was supposedly set. it rings hours later n showing a different time that it was set but in the parenthesis the right time that i had set it.
    One time my computer ran out of battery n went into sleep mode and when i open it again, the time n date setting was all off. which im surprised why it had gone off. So did this create the problem i have now with the date n time sync or something else?
    please help!!!!

    Having the same problem, & am running Parallels (which I haven't used for some time) not boot camp. I tick the box labeled "Set time automatically" & lock the "click the lock to make changes". When I reboot, the Lock is unlocked and the "set time...." is unticked. Any ideas. Cheers.

  • I have a domain with 2 DCs (both virtual machines) in different Hyper-V Hosts. Dose this case make any influence on the time sync?

    As title,
    I have a domain with 2 DCs (both virtual machines) in 2 different Hyper-V Hosts, and one of the perform as a PDC Emulator.
    Dose this case make any influence on the time sync?
    i.e. Both of the VMs sync with Hyper-V host, instead the other host should sync with the PDC Emulator?
    I run w32tm command and get the following result:
    C:\Users\Administrator.DOMAIN8>w32tm /query /computer:dc8.domain8.local /source
    VM IC Time Synchronization Provider
    C:\Users\Administrator.DOMAIN8>w32tm /query /computer:hpvzh05.domain8.local /source
    VM IC Time Synchronization Provider
    HPVZH05.domain8.local works as PDC server.
    How can I make DC8 sync with HPVZH05?

    Awesome!
    It looks like your PDC is successfully pulling time from an external source.  DC8 is not longer pulling from Hyper-V so that is good.
    When you set a client to pull from a source ( and in this case DC8 is pulling from NT5DS, which tells it to pull from the PDC), and it CAN'T pull from that source, it will default to Local CMOS Clock.  This is likely an easy fix.
    First, check connectivity:
    - Method one- Download Portqry and run this command: portqry -n HPVZH05 -p both -e 123 and see if the results say listening, or
    - Method two- Run this command from DC8: w32tm /stripchart /computer:HPVZH05
    If you get any kind of error using method two, it's a connectivity issue.  (Maybe you have a firewall that's blocking access?)
    The other cause of this, and probably more likely in your case, is that your PDC isn't properly advertising as a reliable time source, so DC8 isn't 'allowed' to pull from it.
    Try running this command on your PDC: w32tm /config /reliable:yes
    Then go restart time on your PDC, THEN DC8 again.  (net stop w32time & net start w32time)
    Here's an article you can reference: http://technet.microsoft.com/en-us/library/cc794937(v=WS.10).aspx
    - As always, if you find my posts to be helpful, please mark it appropriately.  Thank you :)
    Chris Ream

  • How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    If you synced it many times, you have to have a backup. It's just a question of how old that backup is now. When did you last sync?
    First of all launch iTunes on your computer and go to Edit>Preferences>Devices. Do you see any backups for you iPad in that window? If so, how new is the newest backup? That will be the backup that you will want to use. But remember that if you use that backup and it is one month old, you can only restore from that date back in time. Anything that you did on the iPad in the past month will not be in that backup.
    Turn on the new iPad Minin and start activating OTA via WiFi. You will get to a certain point in the process where you will be given the choice to Set up as new, Restore from iCloud - or Restore from iTunes. You will want to select Restore from iTunes.
    That is the short and sweet version. There are step by step instructions in this article. This applies to the mini as well as the iPad 4 or the iPad 3 for that matter.
    http://www.everythingicafe.com/how-to-set-up-new-ipad/2012/03/16/

  • Large first-time sync fills up C: drive

    I just got a new 80GB video iPod for Christmas. I store a large number of ripped music files, one season of a TV series, and some photos on an external hard drive, and manage them through iTunes. The grand total for all this content was around 60GB. Long ago, I configured iTunes to use the G: drive (the external hard drive) as the location for all my content.
    The first-time sync to the new iPod went fine--automatic, not manual--except that something kept filling up the C: drive. (Again, the music is actually stored on an external G: drive.) I de-installed things during the sync to free up extra GB of space. As soon as they disappeared, iTunes kept filling them up. I'm now out of hard disk space on C:, with no idea what iTunes or the iPod did to fill up this space.
    If there's some cache that needs to be cleared, nothing has cleared it yet, and I have no idea where to find it (or what the consequences of clearing it will be). The process seemed smart enough to use what space was available, but no more. In other words, the sync continued, even after there was no room left on the C: drive.
    I had recently updated iTunes, which for reasons unknown, blew away my music library. I had just rebuilt it before doing the sync.
    The lack of space on the home PC puts me in a dangerous situation, given how fussy WIndows gets when it doesn't have spare room on the hard disk to use for updates and other operations. Any help you can provide would be greatly appreciated.
    Here are other specifics, for what they're worth:
    Operating system = Windows XP
    iPod firmware version = 1.2 (couldn't update to 1.2.1 because of the lack of disk space)
    iTunes version = 7.0.2
    External hard disk = Western Digital, mounted via USB
    iTunes option, Keep iTunes Music folder organized = true
    Podcast subscriptions = none
    HP desktop   Windows XP   See posting

    There isn't any cache for iTunes, other than the buffer for streaming radio. What you might want to do is search your My Documents\My Music\iTunes\ folder and see if there is anything in there other than the .xml library file. I know you did a search for *.mp3 but check it anyway...there is a chance that iTunes converted the files from *.mp3 to *.m4a (AAC audio)

  • Date and Time Sync at boot for Active Directory/Open Directory Authenticati

    All the macs in my school district are set to automatically sync their time with a network time server. They do not do this unless the system preference is opened. This poses a problem as all our users must authenticate against an Active Directory and an Open Directory server. If the time is out of sync they can not login, and therefore can not fix the time. I must then login in with a local admin account set the time and then the network account can login. I have tried using direct IP addresses for the NTP server. That doesn't work either. I have adjusted the tolerance of the AD server to accept a large discrepancy in time (did not work). Set the users to be mobile accounst (local home folders), did not work. The only fix will be to ensure that the time does sync at boot, before login. Is there a way to force the computer to sync at boot to a given NTP server, prior to the login window appearing?

    I have come up with my own solution for this issue. It is a two part solution. We found that the computers are experiencing time drift and that after they get out of sync by 5 minutes they can no longer login. One would think that the setting in the Date and Time system preference to automatically synchronize the time would take care of this. That however is not the case that check mark does not affect the ntp service at all. It merely eliminates the need to click a button when entering the system preference. How did we discover this? well that is part of the solution. We used webmin (http://www.webmin.com) to look at the ntp configuration. No matter what changes we made with the Date & Time preferences nothing changed in the system ntp settings. So on to the solution: Install webmin, and configure the ntp protocol manually to sync at your desired interval (I did hourly). This stops time drift. Next create a startup item and associated plist to force time sync at boot (be sure to loop it as different machines initialize their network cards slower). I have made ours available for download (http://www.manheimcentral.org/~getzt/netTime.zip). I hope this helps others. We have found that this works fairly well.

  • HT1386 How to change fist time sync specifications (change back from icloud to outlook?

    How to change fist time sync specifications for calendar (change back from icloud to outlook?

    Go to icloud.com on your computer, sign into your iCloud account, click Calendars.  Are your events still there?  Also, what version of OS X are you running on your mac and what version of iOS are you running on your phone?

  • New 5th Gen iPod, 1st time sync 15 hours & still going?  What's wrong?

    My library is 53GB, is this why it is taking so long? When I had 4th Gen 60GB Photo is took about 3.5 hours 1st time sync. What is going wrong? Please help!
    Happy Holidays,
    Sebastian

    My 8GB of info took my computer 3.5 hours with a USB 1.1 connection (I don't have USB 2.0 on my tower). Are you using an older computer this time? A different USB port than before? When I added songs to my iPod from my laptop, which does have USB 2.0, it went lightning fast... compared to my tower.
    It sounds like you've got a USB 1.1 connection, so, doing the math, it should take about 24 hours to transfer 53GB of info... according to my calculations.

Maybe you are looking for