Shop OBEX P1 Docs P2 Docs Learn Events
Multi window serial terminal? — Parallax Forums

Multi window serial terminal?

MJHanaganMJHanagan Posts: 189
edited 2013-11-23 09:15 in Propeller 1
I am curious to know if there exists a multi window serial terminal program out there. I would like to use a single serial driver object such as the classic Parallax Serial Terminal (PST) but be able to selectively send the output to a specified "pane" on the PC's window screen. Each routine in the Propeller object would need a variable to indicate which "pane" the output is intended. For example, the pst.dec( i ) would need to look something like pst.dec( pane, i ). The only change to the serial driver would be to preface the output with the pane number and perhaps a non-printing delimiter character (if allowing more than 10 panes).

The serial terminal running on the PC would have a main window which contains all the smaller "panes". Each pane could be positioned and resized as needed and include handy features like vertical and horizontal scroll bars. This would make for a really nifty debugging tool especially when trying track down multi cog problems. You could assign each cog its own pane for output then watch them side-by-side on the PC. Perhaps even optionally auto time stamp each output with the clock CNT??

I'm thinking this has to already be out there... somewhere. Any ideas?

Comments

  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-11-22 21:45
    MJHanagan wrote: »
    I am curious to know if there exists a multi window serial terminal program out there. I would like to use a single serial driver object such as the classic Parallax Serial Terminal (PST) but be able to selectively send the output to a specified "pane" on the PC's window screen. Each routine in the Propeller object would need a variable to indicate which "pane" the output is intended. For example, the pst.dec( i ) would need to look something like pst.dec( pane, i ). The only change to the serial driver would be to preface the output with the pane number and perhaps a non-printing delimiter character (if allowing more than 10 panes).

    The serial terminal running on the PC would have a main window which contains all the smaller "panes". Each pane could be positioned and resized as needed and include handy features like vertical and horizontal scroll bars. This would make for a really nifty debugging tool especially when trying track down multi cog problems. You could assign each cog its own pane for output then watch them side-by-side on the PC. Perhaps even optionally auto time stamp each output with the clock CNT??

    I'm thinking this has to already be out there... somewhere. Any ideas?

    Yeah, it's called a Propeller :)
    This would be a cinch with a Prop setup for 128x50 text mode and with virtual screen buffers so we could shrink or expand those windows. Alternatively a small PC driver could be written that would process serial input and direct the output in ANSI control fashion to a terminal program so that it appeared as multiple terminals perhaps? Maybe it would be easier to receive the serial input and create multiple virtual coms ports that multiple instances of terminals can connect to?
  • MagIO2MagIO2 Posts: 2,243
    edited 2013-11-23 09:15
    Hmmm ... a while back I wrote a terminal program in Java which has a flexible number of Tabs to connect to several propellers at the same time. Should not be too hard to change that to accept several streams via one serial interface. Multi inner window should also be possible.
    If you are interested I can share the sources.
Sign In or Register to comment.