Shop OBEX P1 Docs P2 Docs Learn Events
Data Array — Parallax Forums

Data Array

NGC09NGC09 Posts: 10
edited 2009-07-22 16:49 in Propeller 1
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.

Comments

  • Bill HenningBill Henning Posts: 6,445
    edited 2009-07-15 20:21
    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 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 - my site 6.250MHz custom Crystals for running Propellers at 100MHz
    Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
    Morpheus & Mem+ 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
  • NGC09NGC09 Posts: 10
    edited 2009-07-16 18:05
    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?
  • LeonLeon Posts: 7,620
    edited 2009-07-16 18:06
    Insufficient detail!

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • NGC09NGC09 Posts: 10
    edited 2009-07-16 18:10
    what more do you want?
  • Nick MuellerNick Mueller Posts: 815
    edited 2009-07-16 18:29
    @NGC09:
    Maybe I got something to read for you before you continue your way: <http://catb.org/esr/faqs/smart-questions.html&gt;
    Or this one <http://support.microsoft.com/kb/555375&gt;


    Nick

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

    The DIY Digital-Readout for mills, lathes etc.:
    YADRO
  • bmb!bmb! Posts: 26
    edited 2009-07-16 19:58
    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 GreenMike Green Posts: 23,101
    edited 2009-07-22 15:33
    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
  • NGC09NGC09 Posts: 10
    edited 2009-07-22 16:07
    I apologize, I was frustrated that I dont understand propellers
  • mparkmpark Posts: 1,305
    edited 2009-07-22 16:19
    You want to read data into an array? How are you receiving the data and what format is it in?
  • Mike GreenMike Green Posts: 23,101
    edited 2009-07-22 16:49
    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.
Sign In or Register to comment.