Go to Post There is no MILSPEC standard for pool noodles. - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2010, 01:42
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
logging DS messages

Last year I had some trouble in a couple of matches with the robot not having full communication in a couple of matches, and experienced no FMS data to help in diagnostics or in determining the error. (In some instances it was blamed on the code on the robot)

So one of my plans for this year was to create something to log the DS messages when the mode changes (from disabled to auto to teleop), and log the state when a message is not received (also useful in determining the frequency of messages received, and what else was happening when those messages were not received)

So here it is. I haven't fully tested it on the robot, but I've tested the storing part on my computer, so unless I'm making assumptions about the values of the DS message when there's a timeout, it will work. (or if the watchdog refnum name is something other than "watchdog")

"To log or not to log" is the main VI to be placed in that loop in Robot Main; it should be wired up to the "Robot Mode" VI, as demonstrated in the picture below:
Attached Files
File Type: zip comm status.zip (45.2 KB, 29 views)
__________________
-- Marshal Horn
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview logging bladetech932 General Forum 5 16-11-2009 19:18
Data logging to internal memory JBotAlan C/C++ 13 13-02-2009 00:04
Time Logging and Team Management? asian_701129 General Forum 9 14-05-2008 23:26
pic: Team Data Logging Device falconmaster Extra Discussion 8 13-03-2007 10:01
Logging into ChiefDelphi.com question Raven_Writer Website Design/Showcase 8 30-05-2004 11:44


All times are GMT -5. The time now is 21:28.

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