S
Steve Mowbray
Hi
I am using SerialPort component to send raw binary files to a remote device
with RTS/CTS handshaking - the remote device has a small receive buffer and
is slow so needs to be hardware flow controlled to prevent the PC sending
too much data per second. Here is my attempt at setting the hardware
handshake operation:
serialPort1->Handshake = System::IO:
orts::Handshake::RequestToSend;
serialPort1->RtsEnable = true;
However the port outputs data at max rate with data loss at the receiving
end.
Using Hyperterminal with the appropriate settings on the same COM port works
perfectly so I assume its my code that is missing something - any help would
be appreciated.
I am using Visual Studio 2008 Express on WinXP and have TI UART chipset on
the COM port.
Cheers
Steve
I am using SerialPort component to send raw binary files to a remote device
with RTS/CTS handshaking - the remote device has a small receive buffer and
is slow so needs to be hardware flow controlled to prevent the PC sending
too much data per second. Here is my attempt at setting the hardware
handshake operation:
serialPort1->Handshake = System::IO:
![Stick Out Tongue :P :P](/styles/default/custom/smilies/tongue.gif)
serialPort1->RtsEnable = true;
However the port outputs data at max rate with data loss at the receiving
end.
Using Hyperterminal with the appropriate settings on the same COM port works
perfectly so I assume its my code that is missing something - any help would
be appreciated.
I am using Visual Studio 2008 Express on WinXP and have TI UART chipset on
the COM port.
Cheers
Steve