Discussion Locked

RS232 slow in windows, fast in DOS MODE

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have cust with win98se box all patches and updates i moved a dos CAD program to this box and works great except for the serial communication from this box out to the nc machines is running slowly when we run the program in a windows shelll. if we use dos mode, serial comm proceeds quickly.
the serial port settings at the nc's is 4800,7,E,1 xon/xoff.
I have tried setting device manager com settings to match the cam program. (7,E,1 xon)
i have tried placing a mode com1:4800,7,E,1,xon=on statement in the windows autoexec.bat.
the only thing that helped is dos mode. windows mode just won't go fast.
anybody see what i am missing here?
even your assurance that it ought to work will help...i am now tshooting this on phone from 1500 miles away so hard for me to see what is going wrong...
by 'slow' we mean: the guys can watch there data coming into the nc from the win98 box via serial. they usually see it scroll in a page at a time. they see this when dos prgram is running in dos mode. in windows, they see it come in quickly for a second then slow to crawl. so figure we are going to fast for the nc but why can't i affect this other than clobbering it with dos mode ?
any help appreciated. i do not suspect serial port card, cabling or such as dos mode will go fast w/o error. i suspect i need to throttle back the baud rate but i am not doing it correctly...
the dos program is old Americam, in case anybody has done this...
thanks in advance

6 replies

by sgt_shultz

we also tried setting device manager com baud to 1200 and then 2400 for no joy.
but i just realized i tried the mode command on com1 but think we are cabled to com2. if you think this might work, could somebody feed me the right syntax for mode command. do you think this is right: mode com2:4800,N,1,xon=on.
and if it were you how would you test the serial port settings in dos to see if they look right (since we doing this on phone and i can't see).
tia

by dmiles

RS232 runs in emulation mode in Windows enviroment,thus raw data is transfered in das that makes it move faster,the communication of the process in windows would possibly require a third party software to improve data tranfer rate in windows simulated mode.
Windows only offers the basics,so with the tweaking you have done soes not improve the data transfer,then it would be neccessary to use third party software suchas Wedge to increase input and communication.
Hope this Helps

by sgt_shultz

ya. helps me see what is going on here...thanks. just like me to put my finger on the weak spot of an os...

by dkzgambo

to check for port settings(com), at the prompt type the following C:>\mode com1 /status and hit enter. specifying the port u want.

to configure a port
c:>\mode com2 baud=4800 parity=N data=7 stop=1 xon=off dtr=on rts=on.

i believe it will help.

by sgt_shultz

thanks. couldn't get the protocol settings to 'take' (bad syntax error) could you? need some syntax that works as i am win98-blind at my end of things...we can run things in dos mode until convince magmt cheaper to upgrade than support old stuff...

This discussion is closed to new replies.