Shop OBEX P1 Docs P2 Docs Learn Events
Windows Communication — Parallax Forums

Windows Communication

ArchiverArchiver Posts: 46,084
edited 2001-08-01 20:05 in General Discussion
Hi all,
I need to write an application which will receive
communication from the
basicstamp and append it to a file with a time stamp.
The basicstamp will
sense an event and then forward it to the PC via
serial connection. I would
like to write some code, I am most familure with C++,
on the PC to maintain
the log. Does anyone know where I might find some
examples or something
similar that I could use (on the web?) ?? I would like
to use this app in
win2k and NT although I would settle for win95/98 for
now. Thanks ahead of
time!!
Nick


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-08-01 14:35
    If you want, you could give me the specs (example log file, etc.) for
    exactly what you need and I would be glad to write it for you (free).
    Could probably have it done by the end of the day.

    Thanks,
    Wayne Fulcher
    wayne@d...

    Original Message
    From: Nick H [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=4fn6FzsCETYydNjMxNodKt9odOY_5YHF-X3JmolsF-sJRoejA4svGJmrlUlRbCrXgwKueYhkHe0yVJoS8Q]lightclb@y...[/url
    Sent: Wednesday, August 01, 2001 9:25 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Windows Communication

    Hi all,
    I need to write an application which will receive
    communication from the
    basicstamp and append it to a file with a time stamp.
    The basicstamp will
    sense an event and then forward it to the PC via
    serial connection. I would
    like to write some code, I am most familure with C++,
    on the PC to maintain
    the log. Does anyone know where I might find some
    examples or something
    similar that I could use (on the web?) ?? I would like
    to use this app in
    win2k and NT although I would settle for win95/98 for
    now. Thanks ahead of
    time!!
    Nick


    __________________________________________________
    Do You Yahoo!?
    Make international calls for as low as $.04/minute with Yahoo! Messenger
    http://phonecard.yahoo.com/

    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-01 15:11
    For Nick

    Have you tried Hyperterminal? I presently have a BS2 program that sends data
    to my PC via serout 16 comands to Hyperterminal. Hyperterminal captures the
    data and stores it in an Excel file, which is closed at periodic intervals.
    The file can be accessed in Excel at any time. Don't know about the time
    stamp.

    Sid
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-01 15:30
    Have a look at http://www.al-williams.com/stampcom.zip This has an example
    of a Stamp feeding data to a VB program or a C++ program (2 for the price of
    1 -- that is to say, free).

    Good luck!

    Al Williams
    AWC
    * Floating point A/D: http://www.al-williams.com/awce/pak9.htm


    >
    Original Message
    > From: Nick H [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5aoht8M4dzzBf7iOYziMfT-1wUL2yqG7CbXlGWDCaviwD7gMMeL8LlucbXezVtjbUG7pzVLt20w]lightclb@y...[/url
    > Sent: Wednesday, August 01, 2001 8:25 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Windows Communication
    >
    >
    > Hi all,
    > I need to write an application which will receive
    > communication from the
    > basicstamp and append it to a file with a time stamp.
    > The basicstamp will
    > sense an event and then forward it to the PC via
    > serial connection. I would
    > like to write some code, I am most familure with C++,
    > on the PC to maintain
    > the log. Does anyone know where I might find some
    > examples or something
    > similar that I could use (on the web?) ?? I would like
    > to use this app in
    > win2k and NT although I would settle for win95/98 for
    > now. Thanks ahead of
    > time!!
    > Nick
    >
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Make international calls for as low as $.04/minute with Yahoo! Messenger
    > http://phonecard.yahoo.com/
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    > Subject and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-01 16:32
    Thanks, I have downloaded the files and am looking at
    them.
    -Nick
    Original Message
    From: "Al Williams" <alw@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, August 01, 2001 7:30 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Windows Communication


    > Have a look at
    http://www.al-williams.com/stampcom.zip This has an
    example
    > of a Stamp feeding data to a VB program or a C++
    program (2 for the price
    of
    > 1 -- that is to say, free).
    >
    > Good luck!
    >
    > Al Williams
    > AWC
    > * Floating point A/D:
    http://www.al-williams.com/awce/pak9.htm
    >
    >
    > >
    Original Message
    > > From: Nick H [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=O0J5yNLyZ3udujubFGzoeU1cxIkDN_sdnfVDIkqBJMvgj1bD5jhrHnVDIO_yaPZbL9zwPkWcKYtTXbKihw]lightclb@y...[/url
    > > Sent: Wednesday, August 01, 2001 8:25 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Windows Communication
    > >
    > >
    > > Hi all,
    > > I need to write an application which will receive
    > > communication from the
    > > basicstamp and append it to a file with a time
    stamp.
    > > The basicstamp will
    > > sense an event and then forward it to the PC via
    > > serial connection. I would
    > > like to write some code, I am most familure with
    C++,
    > > on the PC to maintain
    > > the log. Does anyone know where I might find some
    > > examples or something
    > > similar that I could use (on the web?) ?? I would
    like
    > > to use this app in
    > > win2k and NT although I would settle for win95/98
    for
    > > now. Thanks ahead of
    > > time!!
    > > Nick
    > >
    > >
    > > __________________________________________________
    > > Do You Yahoo!?
    > > Make international calls for as low as $.04/minute
    with Yahoo! Messenger
    > > http://phonecard.yahoo.com/
    > >
    > > To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > > from the same email address that you subscribed.
    Text in the
    > > Subject and Body of the message will be ignored.
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed.
    Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    >
    >




    __________________________________________________
    Do You Yahoo!?
    Make international calls for as low as $.04/minute with Yahoo! Messenger
    http://phonecard.yahoo.com/
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-01 18:17
    Well, right now, I can have the stamp send anything, i.e. a "p" for pulse. I
    need to have the PC open a file (i.e. "logfile.log", which I do know how to
    do, I think") and then append the date followed by a comma and the time,
    last a newline char. So one line in the file would look like this
    "5/22/2001,10:15". I have quite a bit of C++ experience, but none with comm
    ports.
    Would it be possible to send the code as well, I will need to make future
    changes I'm sure!! Thanks A LOT!!!
    -Nick
    Original Message
    From: "Wayne Fulcher" <wayne@d...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, August 01, 2001 6:35 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Windows Communication


    > If you want, you could give me the specs (example log file, etc.) for
    > exactly what you need and I would be glad to write it for you (free).
    > Could probably have it done by the end of the day.
    >
    > Thanks,
    > Wayne Fulcher
    > wayne@d...
    >
    >
    Original Message
    > From: Nick H [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=dMM_iMv7AtRr5N2yFl5QCug8I4NpWZ1mYnJDJVGnvN50F0amu1AkGUrT64yFVUnn_fx8ohT5Imlrig]lightclb@y...[/url
    > Sent: Wednesday, August 01, 2001 9:25 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Windows Communication
    >
    > Hi all,
    > I need to write an application which will receive
    > communication from the
    > basicstamp and append it to a file with a time stamp.
    > The basicstamp will
    > sense an event and then forward it to the PC via
    > serial connection. I would
    > like to write some code, I am most familure with C++,
    > on the PC to maintain
    > the log. Does anyone know where I might find some
    > examples or something
    > similar that I could use (on the web?) ?? I would like
    > to use this app in
    > win2k and NT although I would settle for win95/98 for
    > now. Thanks ahead of
    > time!!
    > Nick
    >
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Make international calls for as low as $.04/minute with Yahoo! Messenger
    > http://phonecard.yahoo.com/
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    > Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >


    _________________________________________________________
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-01 20:05
    Here is a program I put together for you. I assume you know how to unzip it.
    I wrote this in Delphi. I went ahead and wrote it because I need the same
    thing for a stamp project I am working on.
    If you want the source I will be glad to send it to you, but without Delphi
    it would not do you any good.
    If you think you can use it but would like a few changes, just let me know I
    will be glad to make them for you.

    Thanks,
    Wayne Fulcher
    wayne@d...

    Original Message
    From: Nick H [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=6ea__qfQbyZd1ZigK7i6fnAPYifTg-F2sqYsUzFMUPI29sAARFNmXVhSkdzPWzVlcoSOeSlUqvWtUBKHaw]lightclb@y...[/url
    Sent: Wednesday, August 01, 2001 1:18 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Windows Communication

    Well, right now, I can have the stamp send anything, i.e. a "p" for pulse. I
    need to have the PC open a file (i.e. "logfile.log", which I do know how to
    do, I think") and then append the date followed by a comma and the time,
    last a newline char. So one line in the file would look like this
    "5/22/2001,10:15". I have quite a bit of C++ experience, but none with comm
    ports.
    Would it be possible to send the code as well, I will need to make future
    changes I'm sure!! Thanks A LOT!!!
    -Nick
    Original Message
    From: "Wayne Fulcher" <wayne@d...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, August 01, 2001 6:35 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Windows Communication


    > If you want, you could give me the specs (example log file, etc.) for
    > exactly what you need and I would be glad to write it for you (free).
    > Could probably have it done by the end of the day.
    >
    > Thanks,
    > Wayne Fulcher
    > wayne@d...
    >
    >
    Original Message
    > From: Nick H [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=6ea__qfQbyZd1ZigK7i6fnAPYifTg-F2sqYsUzFMUPI29sAARFNmXVhSkdzPWzVlcoSOeSlUqvWtUBKHaw]lightclb@y...[/url
    > Sent: Wednesday, August 01, 2001 9:25 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Windows Communication
    >
    > Hi all,
    > I need to write an application which will receive
    > communication from the
    > basicstamp and append it to a file with a time stamp.
    > The basicstamp will
    > sense an event and then forward it to the PC via
    > serial connection. I would
    > like to write some code, I am most familure with C++,
    > on the PC to maintain
    > the log. Does anyone know where I might find some
    > examples or something
    > similar that I could use (on the web?) ?? I would like
    > to use this app in
    > win2k and NT although I would settle for win95/98 for
    > now. Thanks ahead of
    > time!!
    > Nick
    >
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Make international calls for as low as $.04/minute with Yahoo! Messenger
    > http://phonecard.yahoo.com/
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    > Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >


    _________________________________________________________
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.