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

[REBOL] Re: serial port (was Re: metex)

From: a:none:email:it at: 12-Apr-2002 17:23

It worked fine for me with mm: open/direct serial://port2/1200/8/none/1 are you sure 7 and 2 is correct for your port ? ----- Original Message ----- From: Piotr Gapiński <[news--rowery--olsztyn--pl]> To: rebol <[rebol-list--rebol--com]> Sent: Friday, April 12, 2002 12:37 PM Subject: [REBOL] serial port (was Re: metex)
> I've tested serial port status against rebol's > mm: open/direct serial://port2/1200/7/none/2 > > here is the result (serial portmon http://www.sysinternals.com logfile) > > StopBits: ERROR Parity: NONE WordLength: 7 > EOF:1a ERR:0 BRK:0 EVT:0 XON:11 XOFF:13 > Shake:9 Replace:80 XonLimit:2048 XoffLimit:1024 > Mask: RXCHAR > > looks like rebol serial setup is buggy? > at least for 2 stop-bits protocol... > > Piotr Gapiński; mailto:[news--rowery--olsztyn--pl] > Olsztyńska Strona Rowerowa; http://www.rowery.olsztyn.pl > > ----- Original Message ----- > From: "Brett Handley" <[brett--codeconscious--com]> > To: <[rebol-list--rebol--com]> > Sent: Friday, April 12, 2002 2:40 PM > Subject: [REBOL] Re: metex > > > Hi, > > > > Here is one idea: > > In basic believe PRINT #2, a$ will emit a line ending (CRLF?). > > > > So your insert should perhaps be > > > > insert mm #"D^/" > > > > or maybe > > > > insert mm join #"D" CRLF > > > > Sorry - thats all I can suggest right now. > > > > Brett. > > > > ----- Original Message ----- > > From: "Piotr Gapiński" <[news--rowery--olsztyn--pl]> > > To: "rebol" <[rebol-list--rebol--com]> > > Sent: Friday, April 12, 2002 5:38 AM > > Subject: [REBOL] metex > > > > > > not long ago I've bought a metex multimeter with serial port... > > in docs I saw small basic prog/listing like > > open "com2 : 1200, N, 7, 2, RS, CS, DS, CD" AS #2 > > a$ = "D" > > print #2, a$ > > in$=input$(14, #2) > > print in$ > > close #2 > > end > > > > so I've created small rebol script... > > REBOL [] > > mm: open/direct serial://port2/1200/7/none/2 > > mm/timeout: 5 > > update mm > > insert mm #"D" > > print copy/part mm 14 > > close mm > > > > ...but it doesn't work; > > why? > > > > Piotr Gapiński; mailto:[news--rowery--olsztyn--pl] > > Olsztyńska Strona Rowerowa; http://www.rowery.olsztyn.pl > > > > > > -- > > To unsubscribe from this list, please send an email to > > [rebol-request--rebol--com] with "unsubscribe" in the > > subject, without the quotes. > > > > > > -- > > To unsubscribe from this list, please send an email to > > [rebol-request--rebol--com] with "unsubscribe" in the > > subject, without the quotes. > > > > > > > > > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes. >
-- Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f Sponsor: Prova il brivido della F1, con le leve Ferrari e il volante Thrustmaster! Ideale per giocare in simulazione sportiva con giochi di corse automobilistiche e rally Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=361&d=12-4