View Single Post
  #4   Spotlight this post!  
Unread 01-02-2007, 21:31
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Function for O over a serial.

Even simpler, forget a custom App, depending on the kind of data you're using a properly formatted printf(), Hyperterm and Excel are your best friend.

I had to monitor the PID response for last years robot and a bunch of numbers wasn't doing it for me, so I had a printf like this:

Code:
printf("%d,%d,%d,%d,%d",kp, ki, kd, error, output); // This is a loose guess at what it was
Then I told HyperTerm to save to a file, and let the robot run, then using Notepad++ (it handles large text files better than notepad does) I trimmed out the section I needed and imported to Excel as a CSV (Comma Separated Values) file. Then I re-saved to .xls and started graphing, thanks to Mark McLeod for that awesome tip.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)