<?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[COM Port Ausgabe]]></title><description><![CDATA[<p>Hallo Leute!</p>
<p>Ich verwende die ComPort Komponente TComPort. Ich möchte den Befehl &quot;NJ+TA&quot; über die COM Schnittstelle schicken. Der Befehl &quot;ATI&quot; klappt...aber der oben genannte ist laut Borland C++ Builder &quot;too long or empty&quot;! ...warum???<br />
Ich danke euch für eure Hilfe!!!</p>
<pre><code>int c;
c= 'NJ+TA';
ComPort1-&gt;Write(&amp;c,5);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/175148/com-port-ausgabe</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 00:57:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/175148.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Mar 2007 15:22:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to COM Port Ausgabe on Wed, 07 Mar 2007 15:22:36 GMT]]></title><description><![CDATA[<p>Hallo Leute!</p>
<p>Ich verwende die ComPort Komponente TComPort. Ich möchte den Befehl &quot;NJ+TA&quot; über die COM Schnittstelle schicken. Der Befehl &quot;ATI&quot; klappt...aber der oben genannte ist laut Borland C++ Builder &quot;too long or empty&quot;! ...warum???<br />
Ich danke euch für eure Hilfe!!!</p>
<pre><code>int c;
c= 'NJ+TA';
ComPort1-&gt;Write(&amp;c,5);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1241041</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1241041</guid><dc:creator><![CDATA[Pilleken]]></dc:creator><pubDate>Wed, 07 Mar 2007 15:22:36 GMT</pubDate></item><item><title><![CDATA[Reply to COM Port Ausgabe on Wed, 07 Mar 2007 15:36:20 GMT]]></title><description><![CDATA[<p>Pilleken schrieb:</p>
<blockquote>
<p>int c;<br />
c= 'NJ+TA';</p>
</blockquote>
<p>Welches Zeichen, denkst du, soll das darstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1241058</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1241058</guid><dc:creator><![CDATA[audacia]]></dc:creator><pubDate>Wed, 07 Mar 2007 15:36:20 GMT</pubDate></item><item><title><![CDATA[Reply to COM Port Ausgabe on Fri, 09 Mar 2007 12:02:03 GMT]]></title><description><![CDATA[<p>Ja nun...ich möchte das einfach übertragen! ...und dafür muß ich diese Befehlsfolge dem ComPort1-&gt;Write übergeben! Aber wie mache ich das??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1242232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1242232</guid><dc:creator><![CDATA[Pilleken]]></dc:creator><pubDate>Fri, 09 Mar 2007 12:02:03 GMT</pubDate></item><item><title><![CDATA[Reply to COM Port Ausgabe on Fri, 09 Mar 2007 12:13:14 GMT]]></title><description><![CDATA[<p>Du solltest dich unbedingt mal mit ein paar tutorials auseinandersetzen</p>
<p>c ist ein integer, wie willst du da ein char-zeichen so ohne weiteres reintun ?<br />
ausserdem kannst du mit einfachen anführungszeichen 'b' nur einzelne zeichen einer char variable zuweisen. Wenn du einen String speichern willst benutz bitte diese &quot;blabla&quot;.<br />
ausserdem musst du der write methode ein array von char übergeben und nicht nur eine referenz auf 1 char</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1242247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1242247</guid><dc:creator><![CDATA[Ceos]]></dc:creator><pubDate>Fri, 09 Mar 2007 12:13:14 GMT</pubDate></item></channel></rss>