Go to Post I don't miss the manufactured magic of Disney because Championships creates magic in itself; wherever the event may be held. - Erin Rapacki [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 10-03-2014, 12:16
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 508
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
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?
Attached Files
File Type: vi File-with-date-time-DONE.vi (21.3 KB, 18 views)
__________________
The sooner we get behind schedule, the more time we have to catch up.

Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi