Hi all,
We have written a application in visual basic to communicate with a machine controller over an RS232 line and we would like some advice on the best way to convert this to Linux. When the PC is powered on, the application will come up running unattended and receive all its instructions over the serial line, mostly sending and receiving files to and from the controller. It will be on a LAN so that other windows PC's can copy files to its disk. I am an experienced C programmer on Unix systems but have no direct Linux experience. Here are the questions I have thought of so far.
(1) Should I rewrite it in C or could it run under an emulator (Wine?)
(2) If I rewrite it, what information is available on how to comminicate with the serial port from C?
(3) What is the best Linux distribution to use for this situation? I have Redhat, Mandrake and Debian available.
(4) How easy is it to configure a Linux system for a PC network?
(5)Is there a better way to implement rather than using C? What development tools are available?
I'm sure i'll think of some more questions as soon as I submit this but that should do for a start.
Any advice would be greatly appreciated. CaKiwi
We have written a application in visual basic to communicate with a machine controller over an RS232 line and we would like some advice on the best way to convert this to Linux. When the PC is powered on, the application will come up running unattended and receive all its instructions over the serial line, mostly sending and receiving files to and from the controller. It will be on a LAN so that other windows PC's can copy files to its disk. I am an experienced C programmer on Unix systems but have no direct Linux experience. Here are the questions I have thought of so far.
(1) Should I rewrite it in C or could it run under an emulator (Wine?)
(2) If I rewrite it, what information is available on how to comminicate with the serial port from C?
(3) What is the best Linux distribution to use for this situation? I have Redhat, Mandrake and Debian available.
(4) How easy is it to configure a Linux system for a PC network?
(5)Is there a better way to implement rather than using C? What development tools are available?
I'm sure i'll think of some more questions as soon as I submit this but that should do for a start.
Any advice would be greatly appreciated. CaKiwi