Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

serial port emulator?

 [1/6] from: sags::apollo::lv at: 25-Feb-2006 22:49


Hi, Rebolers! Would it be possible to emulate serial port in rebol? If so - is it simliar like creating servers in tcp? Thanks in advance, Janeks

 [2/6] from: greggirwin::mindspring::com at: 25-Feb-2006 17:19


Hi Janeks, sal> Would it be possible to emulate serial port in rebol? sal> If so - is it simliar like creating servers in tcp? I don't know how you would do it, maybe Steve Shireman will see things and chime in. What is the ultimate goal? -- Gregg

 [3/6] from: petr::krenzelok::trz::cz at: 27-Feb-2006 11:49


sags-apollo.lv wrote:
> Hi, Rebolers! > > Would it be possible to emulate serial port in rebol? > > If so - is it simliar like creating servers in tcp? >
Hmm, not sure what you mean here. With REBOL, you don't need to emulate serial ports, as rebol supports them :-) And if you really mean it, then the answer is imo no, because it is kind of OS related. You have externall app, e.g. simple HyperTerminal, which let's you choose from OS available serial ports. Well, but maybe, who know, it could be possible, if you would code some functions to install rebol app as an virtual serial port driver. Then you could debug. Not sure it is necessary, as you can already get Serial port monitors utilities on the web .... -pekr-

 [4/6] from: nick:guitarz at: 27-Feb-2006 9:11


Hi Janeks, These links may be helpful: http://www.rebol.com/docs/core25.html#sect12. http://www.codeconscious.com/rebol/rebol-net.html#SerialPorts http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlTPSQ Quoting Petr Krenzelok <petr.krenzelok-trz.cz>:

 [5/6] from: sags::apollo::lv at: 27-Feb-2006 20:25


Well, I allready managed to play with rebol serial ports. But I got the problem to solve: I have an app, that works with a serial port. This app is needed to user all the time - so the serial port is busy. But at the same time the data from serial port is needed f.ex. to send to a server. So I had an idea - to place between this app and serial port an rebol app that "steal" the serial port data. ;-) Janeks On 27 Feb 2006 at 11:49, Petr Krenzelok wrote:

 [6/6] from: anton:wilddsl:au at: 28-Feb-2006 16:13


Sort of a serial proxy ? Mmm... I don't think rebol can pretend to be a serial port - at least, I think it might be difficult operating in this mode (though not sure). However, if you google for "tcp to serial port" you should find a serial to tcp redirector. This could possibly be used with rebol like this: serial port -> rebol -> tcp-serial-redirector -> app Just an idea, Anton.