12-13-2015 10:13 AM
Hello LindsW and all the other interested participants,
I just thought that it might be easier to synchronize my cRIO through Ethernet. If I have hardware streaming time info in the IEEE 1588 v2 format through an Ethernet cable, will I be able to connect that cable to cRIO-9074? How easy is it to set up a dual Ethernet port connection with the other port used for communication with my host PC running LabVIEW? Are there any examples?
Thank you,
Igor
12-14-2015
12:36 PM
- last edited on
05-13-2024
05:06 PM
by
Content Cleaner
Hi Igor,
I’m not sure I fully understand your question, but to set up 1588 synchronization you can use the NI-TimeSync driver. It installs a 1588 plugin to your host that you can then install on each target. Then connect your targets to the network, ideally through a 1588 enabled switch. From there, the targets should automatically synchronize according to the 1588 protocol. Assuming your host is on the same network, you can still deploy LabVIEW applications to the target and do other communication.
12-15-2015
12:53 AM
- last edited on
05-13-2024
05:07 PM
by
Content Cleaner
Hi LindsW,
Thank you for the reply!
I am wondering how to organize a dual ethernet connection in such a case. I am talking about a cRIO-9074 ( https://www.ni.com/en-us/support/model.crio-9074.html ), which has two ethernet ports. Am I right that I should use one of the ports for "normal" communication between my host PC and the target (including LabVIEW application deployments), and the other port for synchronizing the real-time controller though IEEE 1588? If so, are there any examples of such a configuration? I suspect it's important which of the two ports is used for communication and which for synchronization.
Another important question is what specific type of the IEEE 1588 is supported by cRIO via the NI-TymeSync. In the description ( http://download.ni.com/support/softlib//Timing_Sync/NI-TimeSync/15.0/readme.html ), I do not see anything that mentions either IEEE 1588 or PTP. As far as I know, the current version of the protocol is version 2 ( http://www.ieee802.org/1/files/public/docs2008/as-garner-1588v2-summary-0908.pdf ). In addition, there could be different profiles. For instance, I'm interested in the Power Profile support as we have such a thing: https://www.omicronenergy.com/fileadmin/user_upload/pdf/literature/CMGPS-588-Technical-Data-ENU.pdf .
Thank you,
Igor.
12-15-2015
10:04 AM
- last edited on
05-13-2024
05:07 PM
by
Content Cleaner
Hi Igor,
Take a look at this article, which details how to configure the dual Ethernet ports and explains why you would use them. In general, you could use the same Ethernet port for communication and synchronization depending on how your network is configured.
The latest version of NI-TimeSync supports IEEE 1588-2008 (version 2), and it supports the default profile.
12-15-2015 12:36 PM
Hi LindsW,
Thank you for your response and the link provided. The article is very useful. However, as you also mentioned that a single port can be used for both synchronization and communication with a host PC, could you please elaborate a bit on how this is achieved?
Also, let me ask you a tricky question: is there any information on how NI-TimeSync is actually working (at least a general idea)? Does it generate a precise pulse for a phase-locked loop, or is there some sort of digital compensation of the clock drift instead?
Thank you!
Igor.
12-16-2015
02:59 PM
- last edited on
05-13-2024
05:07 PM
by
Content Cleaner
Hi Igor,
There isn't any special configuration needed for doing synchronization and communication with a single port.
For more information on how 1588 works, take a look at this article.
12-18-2015 07:00 AM
Hi LindsW,
Thank you very much!
07-30-2018 06:19 AM
I kind of stuck with IRIG with NI 9402... Once i wire there is no change in values? Crio i using is 9036 and labview version is 2018
07-31-2018 08:21 AM
Hi Barani,
It looks like this forum post has been inactive for a few years, so you may not get a lot of responses. I would encourage you to post a new thread with information about the error messsage you are getting, the hardware that you are using, and information about your application and what you are trying to do (with screenshots or attached VIs if applicable). Thanks!