01-09-2015 07:24 AM
It looks like you cannot set the time on a sbRIO device (9606) and still have the correct time when the board is powered again after being unpowered for a time. I have a product which will be stand-alone (no connection to a network) when first powered by the customer. I would like to collect some data in a datalog and would like to put a timestamp somewhere so that I can figure out when this data was collected. If I cannot get a correct date/time, then the next best solution would be to set up my datalogs so that I can at least figure out the correct sequence in which they were collected. (I think I can figure that out without too much problem) Any suggestions as to best practices?
Solved! Go to Solution.
01-12-2015 01:21 PM
Hi,
Here are some links to some KnowledgeBase Article’s on setting the time for you target:
How Do I Set the Date and Time on a Remote Target in Measurement & Automation Explorer (MAX)?
http://digital.ni.com/public.nsf/allkb/FAB0EC4D6E5EE0F386257738005733A3
Configuring Time Server for FieldPoint
http://digital.ni.com/public.nsf/allkb/C4E56AD6450FC5FD86256DFF0007FF01
Please try the steps listed in those KnowledgeBase Article and do not hesitate to let me know if you have any questions.
Devon R.
Applications Engineer
National Instruments
01-12-2015 03:48 PM
Hey John,
For the 9606 there is a Real-Time clock (RTC) onboard that will use a battery to keep time even if the sbRIO is powered off. Please see the specification manual. http://digital.ni.com/manuals.nsf/websearch/E065536DC595BDD886257C2E00704610
Once youve set the time the RTC will keep ticking away while powered and when powered off the battery will keep only the RTC powered. So on the next boot the time is kept because of the RTC. You'll need to connect a battery to the RTC VBat line documented in the specification.
01-13-2015 04:51 AM
Kyle,
Thank you for your response. This is the info I was looking for. I did not mention that my system has a 9693 board connected to the RMC Connector. I did not find any info on how I can connect a battery to the 9693 which will keep the RTC powered. Is this possible?
John
01-13-2015 05:08 AM
Devon,
Thank you for your response.
I did find a software component called "NI Web-based Configuration and Monitoring 13.5.0" and instlled that. Then I was able to set the time via MAX. Maybe I could have before through MAX. I was trying to do it programatically before, but this worked fine.
John
01-13-2015 10:13 AM
Hey John,
Without VBat connected the time will not be preserved between shutdown periods. Unfortunately for the 9605 and 9606 we don't have a way to break out VBat with the 9693 connector.
How many sbRIOs are you planning to deploy with your system? 9623 and 9626 have an integrated battery holder for the RTC. If you haven't purchased your sbRIOs already you could look into those options of the specs still match up.
If having time retention between shutdowns is necessary we would need to understand the scale of your application more.
01-13-2015 11:51 AM
Kyle,
Again, thanks for your response. It is good to know about the 9626 because I am about to use one of those on another project (with a 9693 again).
I think we have an adequate work around figured out. I am writing the datalogs to files on a USB drive and the plan is to build up to 200 datalogs and then just replace the old ones. So we should always have an adequate supply of data if we need it, we'll just need to do a little looking to figure out which one is the one we want.
I appreciate your help on this.
John