Shop OBEX P1 Docs P2 Docs Learn Events
HyperTerminal — Parallax Forums

HyperTerminal

EMPTY_CEMPTY_C Posts: 29
edited 2008-06-21 04:30 in BASIC Stamp
I have used the hyperterminal several times for data logging and data analysis. Is it possible to query the BS2 through the hyperterminal to take data.· Is it all possible to query any com device through the hyperterminal to send data to itself?

Comments

  • MSDTechMSDTech Posts: 342
    edited 2008-06-20 14:13
    Yes, it is possible.
    You would need to monitor the serial interface from the Basic Stamp to look for and act on a command. When is sees an apropriate command, it can then react to the command and transmit back along the same serial interface.
    The problem is that the stamps are single threaded and the serial interface is not buffered. While it is monitoring the serial interface it cannot do anything else. Likewise while it is responding to one command it will not "see" any additional commands.
  • EMPTY_CEMPTY_C Posts: 29
    edited 2008-06-20 15:09
    are there any examples where i could try to understand the codes on both ends?
  • MSDTechMSDTech Posts: 342
    edited 2008-06-21 04:30
    I'm using a bluetooth link to communicate between a master and a slave for a weather station. In your case, you would use hyperterminal as the master and the the BS2 will be the slave. I've posted the code for both ends at http://forums.parallax.com/showthread.php?p=723497

    What you want to look at is the external code. This is the BS2 that is responding to serial requests.
Sign In or Register to comment.