<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[RTS Leitung toggeln]]></title><description><![CDATA[<p>Hallo<br />
Wie ist es möglich mit dem C++ Builder die RTS Leitung zu setzen und wieder zu löschen. Gesetzt soll nur werden wenn ich etwas sende. Danach soll diese gleich wieder gelöscht werden.<br />
wenn ich den ComPort öffne wird diese Leitung sofort auf +12 gesetzt.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/191924/rts-leitung-toggeln</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 04:18:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/191924.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Sep 2007 11:42:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RTS Leitung toggeln on Sat, 08 Sep 2007 11:42:51 GMT]]></title><description><![CDATA[<p>Hallo<br />
Wie ist es möglich mit dem C++ Builder die RTS Leitung zu setzen und wieder zu löschen. Gesetzt soll nur werden wenn ich etwas sende. Danach soll diese gleich wieder gelöscht werden.<br />
wenn ich den ComPort öffne wird diese Leitung sofort auf +12 gesetzt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361216</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361216</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Sat, 08 Sep 2007 11:42:51 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sat, 08 Sep 2007 12:51:38 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Es wäre natürlich gut zu wissen wie du überhaupt auf den Com-Port zugreifst. Denn wenn es keine externe VCL-Pomponente ist dann wohl WinAPI.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361254</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361254</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sat, 08 Sep 2007 12:51:38 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sat, 08 Sep 2007 12:57:12 GMT]]></title><description><![CDATA[<p>Ja genau ich verwende das Programm aus diesem Tutorial.<br />
<a href="http://bcb-tutorial.c-plusplus.net/Schnittstellen/artikel3.html" rel="nofollow">http://bcb-tutorial.c-plusplus.net/Schnittstellen/artikel3.html</a><br />
hier öffne ich den Port.<br />
hComm = CreateFile (&quot;COM1&quot;,<br />
GENERIC_READ | GENERIC_WRITE,<br />
0,<br />
0,<br />
OPEN_EXISTING,<br />
0,<br />
0);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361264</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361264</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Sat, 08 Sep 2007 12:57:12 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sat, 08 Sep 2007 13:23:45 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-14774.html" rel="nofollow">akari</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-2.html" rel="nofollow">VCL/CLX (Borland C++ Builder)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361284</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sat, 08 Sep 2007 13:23:45 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sat, 08 Sep 2007 13:34:30 GMT]]></title><description><![CDATA[<p>Nun funktioniert es. Ich habe die EscapeCommFunktion verwendet.</p>
<p>DCB dcbCommPort;<br />
dcbCommPort.fRtsControl = RTS_CONTROL_ENABLE;<br />
EscapeCommFunction(hComm, CLRRTS); oder SETRTS</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361301</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361301</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Sat, 08 Sep 2007 13:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sat, 08 Sep 2007 14:25:35 GMT]]></title><description><![CDATA[<p>Das ist eine sehr schlechte Lösung... Du solltest lieber SetCommState mit &quot;RTS_CONTROL_TOGGLE&quot; verwenden!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361348</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sat, 08 Sep 2007 14:25:35 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sat, 08 Sep 2007 14:36:12 GMT]]></title><description><![CDATA[<p>und was bewirkt dies dann?<br />
wann schaltet sich dann RTS auf low und high?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361360</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361360</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Sat, 08 Sep 2007 14:36:12 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sat, 08 Sep 2007 18:02:01 GMT]]></title><description><![CDATA[<p>Das einfachste ist immer die Doku zu lesen...<br />
<a href="http://msdn2.microsoft.com/en-us/library/aa363214.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/aa363214.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361496</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361496</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sat, 08 Sep 2007 18:02:01 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sun, 09 Sep 2007 20:52:31 GMT]]></title><description><![CDATA[<p>wenn ich fRtsControl auf 3 setze also fRtsControl :3; dann ändert sich an der Leitung nichts. Sie bleibt immer bei +12V.<br />
wenn ich fRtsControl auf 0 oder 1 setze müsste sich doch der Pin von -12 auf +12 ändern.<br />
Außerdem habe ich die windows.h eingebunden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362223</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362223</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Sun, 09 Sep 2007 20:52:31 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Sun, 09 Sep 2007 21:54:39 GMT]]></title><description><![CDATA[<p><a href="http://support.microsoft.com/kb/99861/de" rel="nofollow">http://support.microsoft.com/kb/99861/de</a><br />
nun habe ich hier gelesen, dass mehrere ersten eingehenden Zeichen möglicherweise verloren gehen, wenn SetCommState() verwendet wird.<br />
was ist jetzt die bessere Art um die RTS Leitung zu schalten?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362244</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362244</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Sun, 09 Sep 2007 21:54:39 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Mon, 10 Sep 2007 04:43:32 GMT]]></title><description><![CDATA[<p>Hmmm... naja... der Artikel bezieht sich auf Windows 3.1 ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362286</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362286</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 10 Sep 2007 04:43:32 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Mon, 10 Sep 2007 09:28:27 GMT]]></title><description><![CDATA[<p>nun habe ich auch noch festgestellt. dass mein RS485 Adapter das high Signal vom PC (+12V) in ein low Signal (0V) umwandelt. Also weis ich garnicht ob mir der toggle Befehl so viel hilft, oder ob ich es nicht doch manuell umstellen soll. Doch bis jetzt funktioniert noch keine der beiden Möglichkeiten. Wenn ich dies einfüge passiert nichts.<br />
dcbCommPort.fRtsControl = RTS_CONTROL_TOGGLE;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362410</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362410</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Mon, 10 Sep 2007 09:28:27 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Mon, 10 Sep 2007 13:09:15 GMT]]></title><description><![CDATA[<p>Du hast keine Möglichkeit es manuell zu machen.<br />
Wenn Du Daten via &quot;WriteFile&quot; geschrieben hast, dann heisst es noch lange nicht, dass diese auch schon versendet sind!!!! da dies asynchron im Hintergrund geht!!!!</p>
<p>WriteFile ist schon längst zurück (auch wenn es Syncron geöffnet wurd), aber die Daten sind noch lange nicht verschickt!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362574</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362574</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 10 Sep 2007 13:09:15 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Mon, 10 Sep 2007 13:30:32 GMT]]></title><description><![CDATA[<p>also brauche ich einen anderen RS485 Adapter der mir das Signal nicht invertiert? Stimmt dann der Befehl wenigstens?<br />
dcbCommPort.fRtsControl = RTS_CONTROL_TOGGLE;<br />
doch hier ändert sich nichts am Signalzustand.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362597</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362597</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Mon, 10 Sep 2007 13:30:32 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Mon, 10 Sep 2007 15:57:49 GMT]]></title><description><![CDATA[<p>so den Adapter habe ich umgebaut.<br />
Nun kapier ich immer noch nicht ganz wann und wo ich diesen Befehl verwenden soll.<br />
dcbCommPort.fRtsControl = RTS_CONTROL_TOGGLE;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362705</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362705</guid><dc:creator><![CDATA[Mike86]]></dc:creator><pubDate>Mon, 10 Sep 2007 15:57:49 GMT</pubDate></item><item><title><![CDATA[Reply to RTS Leitung toggeln on Mon, 10 Sep 2007 17:01:47 GMT]]></title><description><![CDATA[<p>Nachdem Du den Port mit CreateFile geöffnet hast.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362760</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362760</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 10 Sep 2007 17:01:47 GMT</pubDate></item></channel></rss>