I have two, and two serial port objects with Setup to listen to incoming data on both the COM port.
How to start each modem here:
m_SerialPort = new serial port ("COM3", 2400); M_SerialPort.DataReceived + = New SerialDataReceivedEventHandler (this.ResiveChars); Try {M_SerialPort.Open (); M_SerialPort.DiscardInBuffer (); M_SerialPort.DiscardOutBuffer (); } Hold (Exception e) {// Completely die} Finally {m_SerialPort.DtrEnable = true; }
and the other modem has been started for a separate SerialPort object but with "COM4".
Anyone who can receive data before initializing COM Port I, but the second COM port will not get the data.
Is it permitting my initialization, serial port class of C # or Windows XP to operate two modems at the same time?
Any suggestions or suggestions are welcome.
UPDATE
Have you checked under "Device Manager", which are both configuring, enabling and working port?
Yes, they are both with different ports.
Did you try the hypertraym and try to send the data to ports?
Failed to open second port port, opening ports in both different hyper terminals.
Have you checked under "Device Manager", which configure both ports, Enabling and working?
Did you monitor SysInternals PortMon ports?
Did you try hypertermom and tried to send data to ports?
Comments
Post a Comment