Shop OBEX P1 Docs P2 Docs Learn Events
Reading a Text File — Parallax Forums

Reading a Text File

ArchiverArchiver Posts: 46,084
edited 2001-03-30 22:07 in General Discussion
Hello All,

Could someone point me in the right direction please;

I am trying to build an Airspeed Indicator, for FS2000, using a
servo, can anyone give me a pointer or two as to the most efficient
way for my stamp to read data from a text file.

Thanks in advance.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-03-30 18:23
    I'm not sure it would be the most efficient, but here's my 2 cents...

    If you are familiar with VB (Visual Basic), you could use the MSCOMM control
    and the file object on the PC side and SERIN on the stamp side. Keep in
    mind that you'd want the incoming data to be as un-verbose as possible
    because of the limitations of the stamp's onboard EEPROM (unless you were
    using an external EEPROM).

    I believe there are a few good websites that deal with the usage of VB with
    the stamp. I just can't recall them off the top of my head right now.
    Perhaps someone could suggest a few, if VB is the direction you'd like to go
    in....

    --Craig

    Original Message
    From: furryspinto@y... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=DaWdzlae2UOZ2E-OzyXXVo6n_WVInLdiZAa71lX3I0ezrdFx5Tn7LJOjh-J8EArjvwfMxXf3B5AV1qXmE4kG]furryspinto@y...[/url
    Sent: Friday, March 30, 2001 11:35 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Reading a Text File


    Hello All,

    Could someone point me in the right direction please;

    I am trying to build an Airspeed Indicator, for FS2000, using a
    servo, can anyone give me a pointer or two as to the most efficient
    way for my stamp to read data from a text file.

    Thanks in advance.




    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-30 18:36
    [font=arial,helvetica]In a message dated 3/30/01 11:32:45 AM Central Standard Time,
    furryspinto@yahoo.com writes:


    I am trying to build an Airspeed Indicator, for FS2000, using a
    servo, can anyone give me a pointer or two as to the most efficient
    way for my stamp to read data from a text file.



    The Stamp can't read from a text file. ·You could, though, transfer the text
    into the Stamp's EEPROM (at programming or at run-time through SERIN and
    WRITE), then the Stamp could READ and parse the data from there.

    [/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-30 22:07
    >If you are familiar with VB (Visual Basic), you could use the MSCOMM control
    >and the file object on the PC side and SERIN on the stamp side.<<<snip>>>
    >

    Jan Axelson's "Serial Port Complete" covers Stamp <--> PC communications.

    steve

    Steve Roberts: sroberts@s...
Sign In or Register to comment.