<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Drei Bytes in ein DWORD packen...</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/90b1f0f9c1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/90b1f0f9c1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/90b1f0f9c1/</id><updated>2020-02-28T14:36:52.283000Z</updated><subtitle>Recent posts to Drei Bytes in ein DWORD packen...</subtitle><entry><title>Drei Bytes in ein DWORD packen...</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/90b1f0f9c1/?limit=25#0620" rel="alternate"/><published>2020-02-28T14:36:52.283000Z</published><updated>2020-02-28T14:36:52.283000Z</updated><author><name>Erik Böhm</name><uri>https://forge.codesys.com/u/erik-boehm/</uri></author><id>https://forge.codesys.comf442c41b98940ac41ae73323cefb67ef4534c906</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Moin&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
Frag mich nur, warum die Reihenfolge BGR und nicht RGB ist...&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Das kommt ja immer auf die Sichtweise an.&lt;br/&gt;
Wenn man vom niederwertigsten zum höchstwertigen Byte liest dann is es schon RGB.&lt;/p&gt;
&lt;p&gt;Gruß Erik&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Drei Bytes in ein DWORD packen...</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/90b1f0f9c1/?limit=25#c120" rel="alternate"/><published>2020-02-28T14:36:49.616000Z</published><updated>2020-02-28T14:36:49.616000Z</updated><author><name>Booner</name><uri>https://forge.codesys.com/u/booner/</uri></author><id>https://forge.codesys.com149b142e523a85a22eb81ca2eff9de9f43264ed5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hei,&lt;/p&gt;
&lt;p&gt;hab grad &lt;a class="" href="http://forum.3s-software.com/viewtopic.php?f=2&amp;amp;t=4286" rel="nofollow"&gt;diesen Thread&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Farbe:=SHL(BYTE_TO_DWORD(Blau&lt;em&gt;2),16 ) + SHL(BYTE_TO_DWORD (Gruen&lt;/em&gt;2),8)+BYTE_TO_DWORD(Rot*2)&lt;/p&gt;
&lt;p&gt;Macht das, was ich wollte. Frag mich nur, warum die Reihenfolge BGR und nicht RGB ist...&lt;br/&gt;
Hauptsache es funzt.&lt;/p&gt;
&lt;p&gt;Grüße,&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Drei Bytes in ein DWORD packen...</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/90b1f0f9c1/?limit=25#44da" rel="alternate"/><published>2020-02-28T14:36:41.916000Z</published><updated>2020-02-28T14:36:41.916000Z</updated><author><name>Booner</name><uri>https://forge.codesys.com/u/booner/</uri></author><id>https://forge.codesys.com57c500fc3f42d344fb9d093edb0c2ec0f4e1f668</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Leute,&lt;/p&gt;
&lt;p&gt;bestimmt ein Standardvorgang, aber ich komm grad nicht drauf.&lt;br/&gt;
Wie kann ich drei Byte-Variablen in eine DWord-Variable packen?&lt;br/&gt;
Es geht um RGB Werte, mit der ich ein Element in der Visualisierung einfärben will.&lt;/p&gt;
&lt;p&gt;Wer stößt mich da mal eben mit dem Kopf drauf?   &lt;/p&gt;
&lt;p&gt;Grüße,&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>