Previously, you ([EMAIL PROTECTED]) wrote:
> Hello to All REBOLers !
> 
> I am stuck with a problem accessing the serial port COM1 under Windows with 
>REBOL/View (I would like to send modem AT commands and receive the resulting strings) 
>. Although system/ports/serial lists com1 and com2 as valid, if I query with port? 
>several possible variations of port reference syntax (e.g. port://serial1, 
>serial://port1, serial://com1) I get a 'false answer.
> 
> My question is, how to reference the serial ports. ... With Unix or derivatives it 
>would be SOOO easy, like %dev/serX ... but unfortunately Windows lacks such virtual 
>device driver files.


I haven't tried this under Windows, but you should be able to do:

  open serial://port1 

optionally append settings in the form: /9600/none/8/1 to portX.

You'll need the latest exp version. Also look at

   system/ports/serial

and make sure that it looks something like: [ COM1 COM2 ] or
[ serX ... ] for Unix (the /dev/ prefix is striped). If you have
ports that are not in the list, just append them.



--
David L. Hawley       D.L. Hawley and Associates    1.503.274.2242
Software Engineer                      [EMAIL PROTECTED]

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to