Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
com1 communication
Name: jjjjjj Date: January 28, 2003 at 05:28:02 Pacific OS: win98se CPU/Ram: p2////335
Comment:
Hello I would like to know how can I write a program using dos or c language to enable motor movement vai com 1 ie what are the batch or exe files that I have to use to make it talk to com 1 please or give the internet sites that is useful in this sense thanks
Name: IVO Date: January 29, 2003 at 01:33:45 Pacific
Reply:
Under DOS and Win 9X to send output to a COM port is not different than to write onto an ordinary file. So to copy a file, binary or text, to COM1 use the DOS command Copy FileName COM1. The same using any programming language. The standard ports may be treated as destination files.
0
Response Number 2
Name: elric Date: January 29, 2003 at 02:20:59 Pacific
Reply:
G'day,
Just how do you intend to wire this up?? 1)Do you have a serial link to a controller, which then controls the motor? ie proper RS232 connection. 2) Are you wiring directly to the com port? If you are you will need to control the UART directly.
If you can, give us a better picture of what you are trying to do. regards, Elric
0
Response Number 3
Name: jjjjjj Date: January 30, 2003 at 05:35:17 Pacific
Reply:
Hi again
Yes I intend to wire up directly to the motor .. So is there any chance of how to do that I know how to understand the connections and how to program if I am given some ideas of how to do it
Summary: Hi I thank every body for the response to my earlier meesage about talking to com1 then now I decided to control a motor directly vai com1 any ideas of how to do it not vai a controller ,, Thanks i...
Summary: I am a graduate student in ecology and I am trying to run a program written by a professor in the late 80s, early 90s. It was written in QuickBasic and runs in DOS 6.22. However, we keep coming acros...
Summary: I am not sure if you can help me or not? I have a DOS application that sends output on com1 or com2 only at 9600 Baud. My laptop only has com1 external port, com3 for the Internal Modem and a Virtual ...