Go to Post "Friends don't let friends build mecanum" - Michael Corsetto [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 12-01-2008, 20:48
Mike Bennett Mike Bennett is offline
Registered User
FRC #1918
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Fremont, Michigan
Posts: 5
Mike Bennett is an unknown quantity at this point
External data storage

I'm new to this "embedded" programming. We are using MPLAB and the IFI Loader. In my program I can use the printf command to show information while the program is running.
However, while testing, I would like to collect data and then output it to a device so that I can read the data into a program like EXCEL and plot the data.
Can any one tell me a way of doing this?
  #2   Spotlight this post!  
Unread 12-01-2008, 21:38
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: External data storage

The OI RC combination has a feature called Dashboard. All data passed between the two devices is output at the Dashboard connector on the OI. Several teams have developed viewers and data loggers over the years. Please check the IFI website for documentation and search here posts related to dashboard.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 12-01-2008, 21:45
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,559
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: External data storage

In the past, we have used the labview dashboard, which is easy to modify and has logging capability built in.

In other cases, we've used printfs to output the data in a comma delimited form, and used hyperterminal's data logging to save it and then imported it into excel.
  #4   Spotlight this post!  
Unread 12-01-2008, 21:45
Joohoo's Avatar
Joohoo Joohoo is offline
Registered User
FRC #0340 (G.R.R.)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Rochester
Posts: 241
Joohoo is just really niceJoohoo is just really niceJoohoo is just really niceJoohoo is just really niceJoohoo is just really nice
Send a message via AIM to Joohoo Send a message via Yahoo to Joohoo
Re: External data storage

one way that GRR has done this is to open hyperterminal, configure the input, and then in hyperterminal you can write the output to a text file, Im not sure if you could easily convert that to an excel spread sheet, but that i what we have done in the past.

:edit dang you beat me to it, look at the timing, exactly the same

Last edited by Joohoo : 12-01-2008 at 21:58.
  #5   Spotlight this post!  
Unread 12-01-2008, 22:55
mluckham's Avatar
mluckham mluckham is offline
Registered User
FRC #0758 (Sky Robotics)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Ontario, Canada
Posts: 116
mluckham will become famous soon enoughmluckham will become famous soon enough
Re: External data storage

See my post here http://www.chiefdelphi.com/forums/showthread.php?t=59779&highlight=bluetooth+telemet ry in the Bluetooth discussion.
  #6   Spotlight this post!  
Unread 12-01-2008, 23:07
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 744
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: External data storage

Quote:
Originally Posted by Mike Bennett View Post
I'm new to this "embedded" programming. We are using MPLAB and the IFI Loader. In my program I can use the printf command to show information while the program is running.
However, while testing, I would like to collect data and then output it to a device so that I can read the data into a program like EXCEL and plot the data.
Can any one tell me a way of doing this?
Hi

I had exactly the same desire as you so I looked around for a device I could use to do datalogging on the robot. I considered wireless, but I decided I also wanted to do it during competitions (would have helped a LOT last year).

I just got my logger working (in one day) & have written up a white paper... it was REALLY easy. It saves the data on an SD Flash card that can be read by your PC.

http://www.chiefdelphi.com/media/papers/2065

Have fun
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
  #7   Spotlight this post!  
Unread 12-01-2008, 23:21
mluckham's Avatar
mluckham mluckham is offline
Registered User
FRC #0758 (Sky Robotics)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Ontario, Canada
Posts: 116
mluckham will become famous soon enoughmluckham will become famous soon enough
Re: External data storage

Great idea PhilBot, and not that expensive.
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
External Output Device magical hands Programming 5 15-03-2006 08:31
Boot Windows from external HD?? mtbkr5 Chit-Chat 6 18-01-2006 05:29
External Spotlights Brandon Martus CD Forum Support 17 04-12-2003 21:38
External Hard Drives... David Kelly Chit-Chat 8 01-12-2001 21:28


All times are GMT -5. The time now is 09:15.

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