08-09-2017 03:15 PM
Hi,
I'm trying to programmatically set the 1588 priority on my cRIO 9082 controller using System Configuration API (see attached code). Even if this code do not return any error, the priority is not applied...
Any idea ?
Solved! Go to Solution.
08-09-2017 04:27 PM - edited 08-09-2017 04:29 PM
I don't know for sure because I don't have a system set up and haven't worked with this API in awhile, but I think you may be saving the wrong reference after applying Priority1. If you look at the shipping example "Set Clock Properties" you can see that the Save is performed on the System Hardware reference directly after the property is set, rather than the System reference.
You might also consider running that example. If it works, you know there's an issue with your code and if not, it may be something else. You can find the example in the example finder: "IEEE 1588-2008 Clock Properties" under Hardware Input & Output>Timing & Synchronization > Time-based. Note that it's best run on Windows on a network where it will be able to locate your real-time system/clock.
Alisha P
NI R&D
08-09-2017 07:37 PM
Thanks Alisha,
I didn't realize that I could use this function on the ref itself !
I'll try that soon and post here the result !
08-16-2017 09:26 AM
Hi Alisha,
I'e tried the same technique on a Linux cRIO (9035). And it seems that it doesn't work. Can you confirm that ?
What would the process then ? Doing programmatically the steps listed here ?