<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/</id><updated>2020-02-28T07:58:36.993000Z</updated><subtitle>Recent posts to String to Real und in Bytes aufteilen</subtitle><entry><title>String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/?limit=25#144e" rel="alternate"/><published>2020-02-28T07:58:36.993000Z</published><updated>2020-02-28T07:58:36.993000Z</updated><author><name>Oberchefe</name><uri>https://forge.codesys.com/u/oberchefe/</uri></author><id>https://forge.codesys.comf5a610297eb019e85a192aeb33de9a531f0891f7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
der Ansatz on Oberchefe ist etwas gewöhnungsbedürftig &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;ich hatte das auch so verstanden daß immer zwei Ziffern in einem Byte landen sollen, würde dann ja auch nur funktionieren wenn es jeweils maximal 4 Stellen vor und 4 Stellen nach dem Komma sind.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/?limit=25#6b63" rel="alternate"/><published>2020-02-28T07:58:34.592000Z</published><updated>2020-02-28T07:58:34.592000Z</updated><author><name>Nyquist</name><uri>https://forge.codesys.com/u/nyquist/</uri></author><id>https://forge.codesys.com44c3aef4265d2372043fa5540f98da40764e855d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Uwe,&lt;/p&gt;
&lt;p&gt;ich muss sagen deine Antwort ist die sinnvollste.&lt;/p&gt;
&lt;p&gt;ich hab mir ein Array aus Real gebastelt und dort meine Messwerte reingelegt.&lt;/p&gt;
&lt;p&gt;von der Anfangsadresse aus bin ich dann mit einem POINTER OF BYTE&lt;/p&gt;
&lt;p&gt;durch dieses Array gegangen. Funktioniert einwandfrei&lt;/p&gt;
&lt;p&gt;Vielen Dank &lt;/p&gt;
&lt;p&gt;Herzliche Grüße Nyquist &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/?limit=25#c3da" rel="alternate"/><published>2020-02-28T07:58:27.854000Z</published><updated>2020-02-28T07:58:27.854000Z</updated><author><name>Uwe</name><uri>https://forge.codesys.com/u/uwe/</uri></author><id>https://forge.codesys.comcf66e19949d4a257c7e187ed19187ff45716ea8c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Nyquist,&lt;/p&gt;
&lt;p&gt;ich stimme dir zu, der Ansatz on Oberchefe ist etwas gewöhnungsbedürftig&lt;/p&gt;
&lt;p&gt;und erreicht am Ende sicherlich nicht dein Ziel.&lt;/p&gt;
&lt;p&gt;Aber die Wandlung von String in Real kann man gefahrlos von Oberchefe  übernehmen.&lt;/p&gt;
&lt;p&gt;rVar := STRING_TO_REAL(MeinString)&lt;/p&gt;
&lt;p&gt;Zum zerlegen in einzelne Bytes ist sicherlich der Weg von H. Schohaus der&lt;/p&gt;
&lt;p&gt;bessere Weg.&lt;/p&gt;
&lt;p&gt;Man könnte das aber auch über einen Pointer erreichen&lt;/p&gt;
&lt;p&gt;z.B.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;VAR&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;ptByte&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;POINTER&lt;/span&gt; &lt;span class="k"&gt;TO&lt;/span&gt; &lt;span class="nb"&gt;ARRAY&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;..&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;OF&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;rVar&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;REAL&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;Byte_1&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;Byte_2&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;Byte_3&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;Byte_4&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;END_VAR&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;ptByte&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ADR&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rVar&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;Byte_1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ptByte&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;Byte_2&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ptByte&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;Byte_3&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ptByte&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;Byte_4&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ptByte&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Realzahlen sind als 32-Bit-Gleitkommazahlen mit single precision nach IEEE 754 codiert.&lt;/p&gt;
&lt;p&gt;D.h. 24 Bit Mantisse und 8 Bit Exponent.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://de.wikipedia.org/wiki/IEEE_754" rel="nofollow"&gt;http://de.wikipedia.org/wiki/IEEE_754&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Du willst diese Werte ja, wenn ich das richtig verstanden habe, auf ein anderes System übertragen.&lt;/p&gt;
&lt;p&gt;Dort must du schauen welcher Datentyp dem REAL entspricht.&lt;/p&gt;
&lt;p&gt;Z.B. im Visual Basic gibt es den Datentyp SINGLE der dem Datentyp REAL&lt;/p&gt;
&lt;p&gt;entspricht und diesselbe Codierung aufweist (lediglich die Byteorder ist evtl. eine Andere).&lt;/p&gt;
&lt;p&gt;Gruß&lt;/p&gt;
&lt;p&gt;Uwe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/?limit=25#6634" rel="alternate"/><published>2020-02-28T07:58:25.433000Z</published><updated>2020-02-28T07:58:25.433000Z</updated><author><name>J Schohaus</name><uri>https://forge.codesys.com/u/j-schohaus/</uri></author><id>https://forge.codesys.comfce4112df799708168e68127836b0bcbe24dc2fe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Eine echte Zerlegung einer variable läst sich recht schnell durch Doppeldeklaration von Speierbereiche erledigen&lt;/p&gt;
&lt;p&gt;z.B.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;RealIN&lt;/span&gt;  &lt;span class="k"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MB0&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;  &lt;span class="nb"&gt;REAL&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;Byte1&lt;/span&gt; &lt;span class="k"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MB0&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;Byte2&lt;/span&gt; &lt;span class="k"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MB1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;Byte3&lt;/span&gt; &lt;span class="k"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MB2&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;Byte4&lt;/span&gt; &lt;span class="k"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MB3&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Es ist nichts extra zu Programmieren da der Inhalt vom real auch gleichzeitig als Inhalt im bereich von den Byts ist.&lt;/p&gt;
&lt;p&gt;Ich weis es ist nicht ganz elegant aber es funktioniert und ist einfach!&lt;/p&gt;
&lt;p&gt;mfG Jochen Schohaus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/?limit=25#f13e" rel="alternate"/><published>2020-02-28T07:58:18.602000Z</published><updated>2020-02-28T07:58:18.602000Z</updated><author><name>Oberchefe</name><uri>https://forge.codesys.com/u/oberchefe/</uri></author><id>https://forge.codesys.come5901d47dcd40f3f7e35260f8d2320e4486b553d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;sowas in der Richtung:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nt"&gt;MeinString&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="s1"&gt;'2765.678'&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;FloatTemp&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nt"&gt;STRING_TO_REAL&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;MeinString&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="nt"&gt;Byte1&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;REAL_TO_BYTE&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;TRUNC&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;FloatTemp&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nt"&gt;100&lt;/span&gt;&lt;span class="o"&gt;));&lt;/span&gt;
&lt;span class="nt"&gt;Byte2&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;REAL_TO_BYTE&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;TRUNC&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;FloatTemp-&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;Byte1&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="nt"&gt;100&lt;/span&gt;&lt;span class="o"&gt;)));&lt;/span&gt;
&lt;span class="nt"&gt;Byte3&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;REAL_TO_BYTE&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;TRUNC&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;100&lt;/span&gt;&lt;span class="o"&gt;*(&lt;/span&gt;&lt;span class="nt"&gt;FloatTemp-&lt;/span&gt;&lt;span class="o"&gt;((&lt;/span&gt;&lt;span class="nt"&gt;Byte1&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="nt"&gt;100&lt;/span&gt;&lt;span class="o"&gt;)+&lt;/span&gt;&lt;span class="nt"&gt;Byte2&lt;/span&gt;&lt;span class="o"&gt;))));&lt;/span&gt;
&lt;span class="nt"&gt;Byte4&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;REAL_TO_BYTE&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;100&lt;/span&gt;&lt;span class="o"&gt;*(&lt;/span&gt;&lt;span class="nt"&gt;FloatTemp-&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;BYTE_TO_REAL&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;Byte1&lt;/span&gt;&lt;span class="o"&gt;)*&lt;/span&gt;&lt;span class="nt"&gt;100&lt;/span&gt;&lt;span class="o"&gt;)+&lt;/span&gt;&lt;span class="nt"&gt;BYTE_TO_REAL&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;Byte2&lt;/span&gt;&lt;span class="o"&gt;)+(&lt;/span&gt;&lt;span class="nt"&gt;BYTE_TO_REAL&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;Byte3&lt;/span&gt;&lt;span class="o"&gt;)/&lt;/span&gt;&lt;span class="nt"&gt;100&lt;/span&gt;&lt;span class="o"&gt;)));&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/?limit=25#0629" rel="alternate"/><published>2020-02-28T07:58:16.156000Z</published><updated>2020-02-28T07:58:16.156000Z</updated><author><name>Nyquist</name><uri>https://forge.codesys.com/u/nyquist/</uri></author><id>https://forge.codesys.com9117fb47f8b9db708d9a422755cb54d7bb3d4716</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;was????&lt;/p&gt;
&lt;p&gt;tut mir Leid aber das kapier ich auf keinem Auge&lt;/p&gt;
&lt;p&gt;könntest bitte mal ein Beispiel schreiben bei mir kommt nämlich nur müll raus&lt;/p&gt;
&lt;p&gt;bzw. Ich hab die Zahl schon in 4 Bytes zerlegt nur wie bekomme ich Sie ohne &lt;/p&gt;
&lt;p&gt;REAL TO String wieder zurück. WIe ist eine Real zahl in 32 Bit aufgeteilt. Das sollte ich wissen.&lt;/p&gt;
&lt;p&gt;Vielen Dank schonmal für deine Bemühungen&lt;/p&gt;
&lt;p&gt;MFG&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/?limit=25#de79" rel="alternate"/><published>2020-02-28T07:58:09.511000Z</published><updated>2020-02-28T07:58:09.511000Z</updated><author><name>Oberchefe</name><uri>https://forge.codesys.com/u/oberchefe/</uri></author><id>https://forge.codesys.com716fd4a911fa1b82bffe328fcc2e9a1526e8b262</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;String_to_real, Ergebnis geteilt durch 100 (in ein Byte) schreiben, Byte mal 100 vom Ergebnis wieder abziehen, Rest in nächstes Byte, dieses plus 100 mal erstes Byte vom ersten Ergebnis abzeiehen , usw. usw.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>String to Real und in Bytes aufteilen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/41ae2fd196/?limit=25#6415" rel="alternate"/><published>2020-02-28T07:58:06.941000Z</published><updated>2020-02-28T07:58:06.941000Z</updated><author><name>Nyquist</name><uri>https://forge.codesys.com/u/nyquist/</uri></author><id>https://forge.codesys.com0e52b246e7fc9671e8659890aabd6af37681758b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo &lt;/p&gt;
&lt;p&gt;ich möchte einen String (eine zahl z.b 2765.678)&lt;/p&gt;
&lt;p&gt;in eine Real wandeln und diese dann verunden mit 16#000000FF&lt;/p&gt;
&lt;p&gt;um das erste Byte zuhaben und dieses dann in einem Array als Byte abspeichern.das ganze viermal sodass ich die RealZahl komplett in Bytes&lt;/p&gt;
&lt;p&gt;gespeichert habe denn ich kann nur Byteweise Messwerte übertragen.&lt;/p&gt;
&lt;p&gt;Hat vielleicht jemand eine Ahnung&lt;/p&gt;
&lt;p&gt;wäre echt nett&lt;/p&gt;
&lt;p&gt;Mit ferundlichem Gruß&lt;/p&gt;
&lt;p&gt;Nyquist  &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>