Go to Post "Individual": I am the FMS. I don't want to talk to you. Robot: FMS, is this true? I still have stuff for you. Actual FMS: No, what gave you that idea? Are you feeling ok? Repeat. Field Monitor: FTA! We need a counselor! - EricVanWyk [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 10-02-2009, 15:52
Nimrod Beker Nimrod Beker is offline
Thunder-Bolts Porgramming Team
FRC #2630 (Thunder-Bolts)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Israel
Posts: 7
Nimrod Beker is an unknown quantity at this point
Post Help||Saving data to Flash memory & Encoder

Hello CD Forum members,
I was wondered if it would be possible to save data to the flash memory, to use it like between matches or things like that (when the robot is off)
if it is possible i would like to know how and would be extra happy if ill get some of you to guide\assist me.
About Encoders, Ive wired all up, and it still doesn't read info from it, i think the code is good, because its really basic (only things like OPEN, CLOSE GET bla bla..)
The encoder does infact generate is light.
Its wired like this(i dont remember the line color BUT I DO know what every color is):
srcA: contain 1 cable to +5v, and 1 cable signle in DIO 13 on the sidecar
srcB: contain 1 cable Ground (-), and 1 cable signle in DIO 14 on the sidecar

I would like to thanks to every help, any help would be really appreciated by me and my team Thunder-Bolts
GREAT THANKS ,2630 THUNDER-BOLTS, Emek Hefer, Programing TEAM.
And i Nimrod Beker (sorry for too long thread)
  #2   Spotlight this post!  
Unread 10-02-2009, 15:58
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help||Saving data to Flash memory & Encoder

Quote:
Originally Posted by Nimrod Beker View Post
...i think the code is good, because its really basic (only things like OPEN, CLOSE GET bla bla..)
Go ahead and post the relevant part of the code so we can verify what you think. It would help us to help you better.
  #3   Spotlight this post!  
Unread 10-02-2009, 16:17
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Help||Saving data to Flash memory & Encoder

Nimrod,

I'm not qualified to answer your file I/O question other than to say that I know it is supported in Labview.

Regarding encoders, I would suggest that you watch the video tutorial labeled "LabVIEW Encoder Example" on this page and see if it answers your questions.

Good Luck,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #4   Spotlight this post!  
Unread 11-02-2009, 01:34
Nimrod Beker Nimrod Beker is offline
Thunder-Bolts Porgramming Team
FRC #2630 (Thunder-Bolts)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Israel
Posts: 7
Nimrod Beker is an unknown quantity at this point
Re: Help||Saving data to Flash memory & Encoder

Wow great thanks Alan and Mike!
Soon ill post the relevant code..
  #5   Spotlight this post!  
Unread 11-02-2009, 06:48
Nimrod Beker Nimrod Beker is offline
Thunder-Bolts Porgramming Team
FRC #2630 (Thunder-Bolts)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Israel
Posts: 7
Nimrod Beker is an unknown quantity at this point
Post Re: Help||Saving data to Flash memory & Encoder

Wow great thanks both of you again!! first i didnt even thought my code is bad but Alan you was correct!!!
Ive fixed it all up and i read fail-free data from the encoders.
But again i need help with data saving to the flash, Im joining to Ori request
from my team.
Please, any help about how to do it with LabVIEW programming would be appreciate and blessed!!!!
Nimrod Beker, 2630 Thunder-Bolts, Programming TEAM
  #6   Spotlight this post!  
Unread 11-02-2009, 09:27
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Help||Saving data to Flash memory & Encoder

The palette icon looks like a blue floppy disk. There are functions to open the file, write using text or binary, and functions to close. Use a path control to specify where the file should be placed.

For the first run or two, set a breakpoint on the file Open and either use exec hilighting (light bulb) or probes to check for returned errors from the file I/O functions.

Greg McKaskle
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
Data logging to internal memory JBotAlan C/C++ 13 13-02-2009 00:04
crio flash memory Bwood16 Programming 1 06-02-2009 18:55
How to Flash A Controllers Memory Steve Ketron Programming 1 23-10-2008 09:03
2007 Wk 2 Regionals & Daylight Saving Time KathieK Regional Competitions 5 19-02-2007 11:16
Saving Data to EEPROM Phil Roth Programming 28 27-03-2003 22:29


All times are GMT -5. The time now is 02:24.

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