[PD] comport question

jim ruxton cinetron at passport.ca
Mon Oct 4 20:46:31 CEST 2004


Thanks Winfried,
I'm using a Keyspan USA-19QW usb to serial interface. Below is a simple
patch I'm using for testing. If I set the metro that sends 100 to the
serial port to anything below 3 I get Write errors. This corresponds to
about 333 bytes per second. Any thoughts on how I can improve the
performance?
Thanks,
Jim

#N canvas 0 0 450 300 10;
#X floatatom 113 159 4 0 0 0 - - -;
#X obj 335 169 s comctl;
#X msg 359 122 open 1;
#X msg 324 71 devicename /dev/ttyUSB0;
#X msg 88 82 100;
#X obj 92 12 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 91 191 print;
#X obj 93 36 metro 2;
#X obj 89 120 comport 1 115200;
#X msg 354 98 close;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 8 0;
#X connect 5 0 7 0;
#X connect 7 0 4 0;
#X connect 8 0 0 0;
#X connect 8 0 6 0;
#X connect 9 0 1 0;
> > Hi ,
> > I'm trying to use the comport external in Linux and I'm finding it is
> > quite slow. If I send 2 or 3 consecutive characters they have to be
> > separated by about 3 msecs each using the delay object otherwise I get
> > the message that says "Write error, maybe TX-OVERRUNS on serial line" .
> > I want to run a fair bit of data out of the serial port so I'm using
> > 115.2 kbaud. Could the problem be that I'm using a serial port via a USB
> > to serial converter? Thanks.
> 
> 
> which converter you use ?
> 
> I just play with 115.2 kbaud over the comport on linux without problems... 
> limit to 90% to 10Kbyte/sec which is 100kbaud plus some overhead ...
> I use debian and the standard serial output.
> 
> maybe you post us the configuration, to  know more.
> 
> mfg winfried
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
> 





More information about the Pd-list mailing list