Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RTS/DTR ComPort lines Problems
Message
De
14/09/2004 12:56:42
 
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
C++ Managed Code
Titre:
RTS/DTR ComPort lines Problems
Divers
Thread ID:
00941977
Message ID:
00941977
Vues:
57
Hi,

Problem with RTS, DTR lines during the baud rate change.

I am currently using the Serial Port class CSerialPort (by Remon Spekreijse) in MS Visual C++.
When I am changing the baud rate by the following lines of code:

m_dcb.BaudRate = CBR_115200;baud;
if (SetCommState(m_hComm, &m_dcb)) {
} else {
}
After executing these command, the lines RTS, DTR that are used for the control purposes, set into initial settings, different from my system’s default settings.
Guys, Help me!!!!!!
Thanks Alex
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform