Shop OBEX P1 Docs P2 Docs Learn Events
Stamp to Visual Basic, with serial communication — Parallax Forums

Stamp to Visual Basic, with serial communication

ArchiverArchiver Posts: 46,084
edited 2004-04-17 22:39 in General Discussion
To receive data with the stamp is as easy as:

SERIN 7, 16884, 4000, No_GPS_Data, [noparse][[/noparse]WAIT("GPRMC,"),DEC2 Timer, DEC2
Minutt, DEC2 Sekkund,SKIP 5,STR DValid\1,DEC2 lat_deg

But in VB you have to receive a char at the time, and program all
from scratch.

Or has anybody made some VB code doing something similar as the
Stamps powerful way of sorting data (implementing VB-event trapping)?

Best Regards
Stein

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-04-17 20:57
    That question may best be posed in a VB forum....

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From:
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-17 22:39
    The MSCOMM control in VB is very capable.
    You can easily set up a recieve data event
    handler to use the multi-tasking nature of
    Windows. Use the MSCOMM.On_Comm event.

    More data should be done at a VB forum.

    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > That question may best be posed in a VB forum....
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From:
Sign In or Register to comment.