Creating a data file from eeprom data
lrtnorfolk
Posts: 19
Hello,
Been a prop user for a few years but never posted, until now. Just a few questions regarding saving data from eeprom to a text file or speadsheet. My project involves reading a maxbotix ultrasonic distance sensor. I have been sucessful at reading the ranging info (via rs232) and saving that data to upper 32k on my usb prop proto board. I can display this data on pst (via basic_i2c_driver and fullduplexserialplus).
My question to all you smart folks out there is "how do I send this data, from eeprom, to a text file (*.txt)(or a spreadsheet) on my pc?" I tried to "cut and paste" from pst, but for some reason it did not work. I am NOT using an XBEE yet. At this point, just reading ranging data and writing to eeprom and displaying that same data on pst (on the same pc). I also plan to add a time stamp (on hourly measurements) as well as temperature. This will be added at a later date.
Now, just need to know how to save the data to a text file (or spreadsheet) on the same pc that the pst is connected to.
This site is great. Been watching in the background since becoming a prop head. Thanks in advance for any and all advice that you might be able to offer.
Renee
Been a prop user for a few years but never posted, until now. Just a few questions regarding saving data from eeprom to a text file or speadsheet. My project involves reading a maxbotix ultrasonic distance sensor. I have been sucessful at reading the ranging info (via rs232) and saving that data to upper 32k on my usb prop proto board. I can display this data on pst (via basic_i2c_driver and fullduplexserialplus).
My question to all you smart folks out there is "how do I send this data, from eeprom, to a text file (*.txt)(or a spreadsheet) on my pc?" I tried to "cut and paste" from pst, but for some reason it did not work. I am NOT using an XBEE yet. At this point, just reading ranging data and writing to eeprom and displaying that same data on pst (on the same pc). I also plan to add a time stamp (on hourly measurements) as well as temperature. This will be added at a later date.
Now, just need to know how to save the data to a text file (or spreadsheet) on the same pc that the pst is connected to.
This site is great. Been watching in the background since becoming a prop head. Thanks in advance for any and all advice that you might be able to offer.
Renee
Comments
-Phil
Sorry I did not reply sooner. Wanted to thank you for posting your csv program. Had some trouble with vista (with your csv program). Decided to use xp. For some reason, it worked with xp, but not vista. Plus, my job kept me away from this, for a while. Thanks for the csv program. Worked through your demo program. It's great. I can work with this.
Little more background... I work for Hampton Roads Transit "HRT". I am a Supervisor/Technician for "HRT". We recently started a light rail system in Norfolk. So far, so good (depending on whom you ask). Anyway, my project involves measuring the "weight stack" inside a cantenary pole. These weight stacks keep tension on the overhead power wires. We can determine what the tension is on the wires if we can measure the distances of the weight stacks. Looking at measuring the stacks once an hour, saving the data to eeprom (already good on this). We can also determine if the stacks are "stuck" inside the pole. Then, once a week, transmitting this data to a technician, via xbee (saving to excel spreadsheet). Everything is going as planned (it would go faster if I had more time). Anyway, thanks again. Might be ordering more prop proto boards if this works out.
Light rail systems exist throughout the country. Seems something like this does not exist (believe me, I have ask a number of other light rail cities). Might be asking for more assistance in the near future. Got to go. Thanks. Take care.
Renee
Thanks,
-Phil
Once again I must apologize for replying so late. If I did not have to sleep, I would have time for everything. The problem I was having with vista had to do with the files not being generated. The problem might have been security settings. I gave the computer to a friend the following day, thus I am not able to try and run the program again. Thanks again for posting a great program. My project is coming along nicely. Have to do some more testing this week. BTW, this thread displays "Unsolved". How do I change it to "Solved"? Take care.
Edit your post, click "Go Advanced", and there will be a drop-down box where you can change the prefix.
-Phil