asicguygmail
Newbie level 4
- Joined
- Jan 4, 2013
- Messages
- 6
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,351
Hi,
I have to control 8 different devices from windows XP through RS232 interface.
I purchased 8 USB to RS232 adapter and connected to my system.
Hyper terminal works fine reading all adapters. The problem starts when I start reading/writing RS232 with C (or Matlab).
I use Microsoft visual C++ 2010 express which can't work with those many adapters. If it is one, it works fine but can't handle more than one. Matlab has the same issue.
can you suggest some other way of accessing RS232? Hyperterminal can not be used. Data must be processed before sending and there are many bytes to be transmitted. May be a different compiler?
Does any one know how hyper terminal accesses the RS232 interfaces? May be I can do the same thing. Does any one have the C code that hyper-terminal uses? Or describes how it does it?
Do you know what the addresses are for COM3 and above? (e.g. 3f8-3ff (for COM1), 3E8-3ff for COM2)
Help is much appreciated.
Alex
I have to control 8 different devices from windows XP through RS232 interface.
I purchased 8 USB to RS232 adapter and connected to my system.
Hyper terminal works fine reading all adapters. The problem starts when I start reading/writing RS232 with C (or Matlab).
I use Microsoft visual C++ 2010 express which can't work with those many adapters. If it is one, it works fine but can't handle more than one. Matlab has the same issue.
can you suggest some other way of accessing RS232? Hyperterminal can not be used. Data must be processed before sending and there are many bytes to be transmitted. May be a different compiler?
Does any one know how hyper terminal accesses the RS232 interfaces? May be I can do the same thing. Does any one have the C code that hyper-terminal uses? Or describes how it does it?
Do you know what the addresses are for COM3 and above? (e.g. 3f8-3ff (for COM1), 3E8-3ff for COM2)
Help is much appreciated.
Alex