View Single Post
  #2   Spotlight this post!  
Unread 28-08-2011, 21:56
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: How to use eeprom in labview

Quote:
Originally Posted by windtakers View Post
I've been reading the forums, and from what I've read eeprom it is use to store data and play it back for the robot to use during autonomous. But what I don't understand is how to program that into labview. If anyone can help me, or if i have my info totally wrong please let me know.
Well, EEPROM is a relatively general term meaning
Quote:
Originally Posted by Wikipedia
Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration.
Now, for a robot application, it can be useful to write things to the cRIO's memory for use later (like autonomous data, logs, other configuration files, etc), and many teams do this. From my experience, the best way to do this would be to use some native LabVIEW VIs to write files containing whatever data you want to store to the cRIO. In the Programming Pallate, go the the File I/O subpalate. From there, there are various ways to do that. You can use the open/write/close VIs and write a string to a file. You can use the Write Spreadsheet String to File VI to write something spreadsheet-like (like a CSV File, or you can go to the Configuration File subpalate to write an INI File. Of course, you can use the corresponding Read VIs to read from the file as well.

Hopefully, this answered what you were asking; your question was a little unclear (but I did my best). If it was, there's some information about getting started with file operations in LabVIEW on their Developer Zone. Anything else, feel free to ask me.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote