PDA

View Full Version : Data Array



NGC09
07-16-2009, 04:07 AM
I need help for coming with a code ( that should be about 5 lines) that will allow me to do object exchange which can read data into the array.

Bill Henning
07-16-2009, 04:21 AM
Hi,

You need to give a lot more detail for people to be able to help you - and you should only post the same message once http://forums.parallax.com/images/smilies/smile.gif


NGC09 said...
I need help for coming with a code ( that should be about 5 lines) that will allow me to do object exchange which can read data into the array.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com (http://www.mikronauts.com) - my site 6.250MHz custom Crystals for running Propellers at 100MHz (http://mikronauts.com/products/mikronauts-625mhz-crystal/)
Las (http://mikronauts.com/products/las-largos-lmm-assembler/) - Large model assembler for the Propeller Largos (http://mikronauts.com/products/largos/) - a feature full nano operating system for the Propeller
Morpheus & Mem+ (http://mikronauts.com/products/morpheus/) Advanced dual Propeller SBC with XMM and 256 Color VGA
Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full

NGC09
07-17-2009, 02:05 AM
I need to translate data from model and display information on an LCD screen.... my job is to translate information from the radio frequency team and design a way to show the info on a screen in the command center, I have to ensure that the information received is correct and accurate... so i need a code?

Leon
07-17-2009, 02:06 AM
Insufficient detail!

Leon

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle

NGC09
07-17-2009, 02:10 AM
what more do you want?

Nick Mueller
07-17-2009, 02:29 AM
@NGC09:
Maybe I got something to read for you before you continue your way: <http://catb.org/esr/faqs/smart-questions.html>
Or this one <http://support.microsoft.com/kb/555375>


Nick

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never use force, just go for a bigger hammer!

The DIY Digital-Readout for mills, lathes etc.:
YADRO (http://www.yadro.de)

bmb!
07-17-2009, 03:58 AM
Somebody said...

I need to translate data from model and display information on an LCD screen.... my job is to translate information from the radio frequency team and design a way to show the info on a screen in the command center, I have to ensure that the information received is correct and accurate... so i need a code?



Best design spec .... EVER!

Maybe you might want to review how other people have presented their questions on the forum...

Mike Green
07-22-2009, 11:33 PM
You should read what Nick Mueller posted and follow those suggestions. The quality of the answers you get will be directly related to the quality of the questions that you ask and the information that you provide. This is a mostly volunteer forum. Be polite and nice to people. Help them out. They're under no obligation to devote time and energy to you.

Post Edited (Mike Green) : 7/22/2009 3:38:30 PM GMT

NGC09
07-23-2009, 12:07 AM
I apologize, I was frustrated that I dont understand propellers

mpark
07-23-2009, 12:19 AM
You want to read data into an array? How are you receiving the data and what format is it in?

Mike Green
07-23-2009, 12:49 AM
NGC09,
Part of what's going on here is that your question as stated has very little to do with the Propeller and mostly has to do with the general definition of your problem (or lack of it in your question). You need to supply a definition of your input data with a format description and sample data illustrating what the format means. You need to describe how the data is being supplied from a signal standpoint. Is it in some kind of format like standard asynchronous serial data, USB serial endpoints, etc. What kind of LCD display is being used? How is it controlled? If you're just interested in the input side of things, you can skip the LCD information.

For example, say I have a sensor of some kind. It transmits a standard asynchronous logic level signal (5V), with true polarity (start bit = low), 8 data bits, 1 stop bit, no parity, 9600 Baud. The format of the data is two fixed length 5 digit numbers from 0 to 31999 with leading zeroes, no sign, tab character (<9>) as separator and carriage return (<13>) as the message terminator. A typical message is "00346<9>31765<13>". I want the data stored as integers, two per item, in an array. There will be 500 readings needed to be stored before processing. Any after that can be ignored.