07-02-2009 08:19 AM
In following the example for setting the SNTP period the ni-rt.ini file must be updated, and the cRIO re-booted. Can I update the INI file while the cRIO is running, and re-Boot the cRIO when I need to change the update period ?
There is a concern about the cRIO clock "drift" over time.
Additionally, does anyone have any statistics on this "drift"?
DOK
07-06-2009 12:21 PM
Dok,
The .ini file can indeed be changed while the cRIO is on, and when you reboot the controller, it will read the file and apply those settings. You can simply FTP into the controller and modify the file, this is the easiest way.
As fas as clock drift, the manual specs out Accuracy to be 200 ppm; 35 ppm at 25 °C, but this is more of a drift over temperature range rather than drift over time. I am not sure on that, sorry.
07-06-2009 04:41 PM
Thanks for the info.
I've followed the steps, and had to Re-Boot the cRIO, but also had to re-load the software (via MAX).
My question is in 2-parts:
1. If I were to try to implement this in the field if would be impractical to have to re-load the software through MAX every time I try to update the SNTP Period.
As an option,
2. is there a way to retrieve the SNTP vi a piece of application software ? this way I can update the period through my application, rather than allowing the cRIO to do this automatically
07-07-2009 07:12 PM
DOK,
Why did you have to reinstall the software? Are you following the steps listed in KnowledgeBase 493C8ELX: Configuring CompactRIO Real-Time Controllers to Synchronize to SNTP Servers? Perhaps NI Developer Zone Tutorial Reference Example for Setting cRIO VxWorks System Time may be helpful?
07-24-2009 10:59 AM
Hi Robbob
A little bit off the topic question ...
I am using CRIO 9073 for accurate frequency measurement.
I am not sure what they mean when they specify 200ppm of accuracy in the CRIO manual:
a) Is it that for a clock of X hertz that you place in your VI you will have an error of X*200/(1,000,000) [Hz]
b) Or is it that for a clock of X hertz that you place in your VI you will have an error of [Internal-clock]*200/(1,000,000) [Hz]. Where internal clock is the maximum clock of the system.
Hope I made my self be understood...
07-27-2009 06:31 PM
Hi acanivell,
The specification listed in the manual applies to the hardware clock internal to the cRIO that the System Clock dirivies its time from.
You say you are trying to measure frequency, and that usually depends on the module that you are doing the measurement on. What module are you measuring frequency with?
07-28-2009 03:38 AM
Hi DiscoBall
"The specification listed in the manual applies to the hardware clock internal to the cRIO that the System Clock dirivies its time from."
Then I can not find the clock rate in the CRIO 9073 manual or datasheet, only the processor speed.
In any case, I was thinking to use 9402 for acquiring the signal (1Khz to 100Khz range) and then use the LV FPGA to program a counter in the FPGA that can do the trick.
Actually I would love to use something like the PXI 6608 counter but in CRIO platform.
07-29-2009 05:11 PM
07-30-2009 03:44 AM - edited 07-30-2009 03:46 AM
Hi Discoball
Yes, I have been asking about this frequency measurement issue in a lot of places that are somehow related.
I also started my own thread http://forums.ni.com/ni/board/message?board.id=40&message.id=7560#M7560 but nobody replied.
I made some numbers on derived clock stability that I added in that first thread.
I even checked the XILINX spartan 3 manual, but did not clearly find anything on the stability of the clock. I can not evaluate the performance of the CRIO FPGA for frequency measurement without this information.
So then info in the manuals is that the FPGA runs an oscillator with 200ppm (or 35ppm at 25C). According to you it is 40Mhz, but this value, I do not need as stability propagates to derived clocks proportionally. So any clock I generate will have this 200ppm or 35ppm stability. This should be enough for my calculations though.
Thanks!
05-26-2010 02:22 AM