|
Setting the real time clock and date on cRio
Last year we used a data logger based on the 3096 labview data logger posted here on CD.
It worked well but if the log file already existed, it would append the data to the existing data, and then it would become a data exposition to find the data you were looking for. We also had times when the we were running the bot for log periods of time, (parades and such) that the file grew very large and we think the crio was having issues writing to the file.
This year we working on writing a new file each time we powered on, and attempted to use date and time as the filename for the log file. This code works well, but we can't seem to get the cRio date and time to stick or make sense.
Most files, (going from memory, so might be wrong) end up with a Jan 01, 1970 data and 00 00 time.
We have used the Max software to connect to the cRio and set the real time date and time on the cRio, but it seems to not match, anything we set. Saturday we set in the Max software, and we had year dates, (again from memory) like 2106?
I assume I doing something wrong, and I would guess it's a training issue, let me know if anyone has this working?
__________________
The sooner we get behind schedule, the more time we have to catch up.
|