<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Visa Read Frame Error in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102054#M888317</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt; &lt;BR /&gt; I am writing a PC-Driver for an Heraeus-Vötsch HT 4020 with Labview. I got a Datasheet who says that command to control the Thermal Chamber have to look like this in ASCII:&lt;BR /&gt; &lt;BR /&gt; $00E\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0070,0\s11110000\r&lt;BR /&gt; &lt;BR /&gt; then the Chamber has to send me:&lt;BR /&gt; &lt;BR /&gt; 0\r&lt;BR /&gt; &lt;BR /&gt; after that I send the next command, to get the current values:&lt;BR /&gt; &lt;BR /&gt; $00I\r&lt;BR /&gt; &lt;BR /&gt; and the response from the Chamber has to look like this:&lt;BR /&gt; &lt;BR /&gt; 0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0070,0\s0070,0\s11111111111100000\r&lt;BR /&gt; &lt;BR /&gt; but I only get an frame Error from the Visa Read, when I want to have the first response (0\r) from the Chamber.&lt;BR /&gt; &lt;BR /&gt; Could You please tell me, where my mistake is?&lt;BR /&gt; &lt;BR /&gt; I attached the Labview File.&lt;/P&gt;
&lt;P&gt;Here is also a Link for the Datasheet (start at Page 7):&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ni.com/ni/attachments/ni/140/44043/1/PROTOCOLE%20RS%20232.pdf" target="_blank"&gt;http://forums.ni.com/ni/attachments/ni/140/44043/1/PROTOCOLE%20RS%20232.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;RubertIV&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2015 12:04:32 GMT</pubDate>
    <dc:creator>RubertIV</dc:creator>
    <dc:date>2015-03-11T12:04:32Z</dc:date>
    <item>
      <title>Visa Read Frame Error</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102054#M888317</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt; &lt;BR /&gt; I am writing a PC-Driver for an Heraeus-Vötsch HT 4020 with Labview. I got a Datasheet who says that command to control the Thermal Chamber have to look like this in ASCII:&lt;BR /&gt; &lt;BR /&gt; $00E\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0070,0\s11110000\r&lt;BR /&gt; &lt;BR /&gt; then the Chamber has to send me:&lt;BR /&gt; &lt;BR /&gt; 0\r&lt;BR /&gt; &lt;BR /&gt; after that I send the next command, to get the current values:&lt;BR /&gt; &lt;BR /&gt; $00I\r&lt;BR /&gt; &lt;BR /&gt; and the response from the Chamber has to look like this:&lt;BR /&gt; &lt;BR /&gt; 0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0020,0\s0070,0\s0070,0\s11111111111100000\r&lt;BR /&gt; &lt;BR /&gt; but I only get an frame Error from the Visa Read, when I want to have the first response (0\r) from the Chamber.&lt;BR /&gt; &lt;BR /&gt; Could You please tell me, where my mistake is?&lt;BR /&gt; &lt;BR /&gt; I attached the Labview File.&lt;/P&gt;
&lt;P&gt;Here is also a Link for the Datasheet (start at Page 7):&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ni.com/ni/attachments/ni/140/44043/1/PROTOCOLE%20RS%20232.pdf" target="_blank"&gt;http://forums.ni.com/ni/attachments/ni/140/44043/1/PROTOCOLE%20RS%20232.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;RubertIV&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:04:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102054#M888317</guid>
      <dc:creator>RubertIV</dc:creator>
      <dc:date>2015-03-11T12:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Visa Read Frame Error</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102064#M888322</link>
      <description>&lt;P&gt;A couple of things I noticed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) You are using the literal strings "\r" and "\s" (2 characters each - a \ and r or s) instead of sending the return and space characters (a single character) respectively. If you right click your string constants and change to '\' codes display then put in the "\r" and change the display back you'll see the difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) You are using a termination character and yet you are also using 'read bytes at port' - if you are using a termination character then you should read until either you get one or you get a timeout and not use the bytes at port property at all.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:29:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102064#M888322</guid>
      <dc:creator>Sam_Sharp</dc:creator>
      <dc:date>2015-03-11T12:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Visa Read Frame Error</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102089#M888340</link>
      <description>&lt;P&gt;Hello Sam_Sharp,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Ok, I saw the difference and correct it.&lt;/P&gt;
&lt;P&gt;2. I did it with a While-Loop, till the 0&amp;lt;CR&amp;gt; comes. But its impossible to use 'Bytes at Port', how I say to the Visa Read how many Bytes it have to read?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:45:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102089#M888340</guid>
      <dc:creator>RubertIV</dc:creator>
      <dc:date>2015-03-11T12:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Visa Read Frame Error</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102102#M888351</link>
      <description>&lt;P&gt;"VISA Read Function&lt;/P&gt;
&lt;DIV id="styleDivScrolling"&gt;
&lt;P class="Body"&gt;This function might return less than the number of bytes requested if the function reaches the end of the buffer, reaches a termination character, or if a timeout occurs. The output error cluster indicates if a timeout has occurred."&lt;/P&gt;
&lt;P class="Body"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="Body"&gt;Just put a large number in the 'byte count' (i.e. more than you expect to receive for a single command - 1000 bytes?) and the read node will&amp;nbsp;wait until you receive the termination character you have configured (0x0A) or it times out (10s in your case). If that doesn't work, it might be because the datasheet specifies a termination character of \r (0x0D) instead of \n (0x0A) at the end of the command so you should use that as the termination character.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:57:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102102#M888351</guid>
      <dc:creator>Sam_Sharp</dc:creator>
      <dc:date>2015-03-11T12:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Visa Read Frame Error</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102112#M888356</link>
      <description>&lt;P&gt;Walfischdreck, I already did this before.&lt;/P&gt;
&lt;P&gt;Then I recieve the Timeout Error.&lt;/P&gt;
&lt;P&gt;But before I recieve this massage from the Chamber:&lt;/P&gt;
&lt;P&gt;\00\00 (I can only see it with the /-Code View)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 13:12:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102112#M888356</guid>
      <dc:creator>RubertIV</dc:creator>
      <dc:date>2015-03-11T13:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Visa Read Frame Error</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102302#M888448</link>
      <description>&lt;P&gt;Well I'd imagine that you would need to be sending the right commands (after the "\r" confusion) and also with the right termination character. If it still times out after those are corrected then that means nothing was received - either you're sending an incorrect/malformed command to the device and it isn't responding or maybe you have another configuration/setup issue (e.g. baud rates, wrong cable etc.).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried talking to the device from another piece of software to make sure you can send/receive commands to it without LabVIEW? (e.g. using a serial console / manufacturer supplied software)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 16:12:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102302#M888448</guid>
      <dc:creator>Sam_Sharp</dc:creator>
      <dc:date>2015-03-11T16:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Visa Read Frame Error</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102663#M888603</link>
      <description>&lt;P&gt;I'll try it today.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 08:31:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102663#M888603</guid>
      <dc:creator>RubertIV</dc:creator>
      <dc:date>2015-03-12T08:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Visa Read Frame Error</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102728#M888630</link>
      <description>&lt;P&gt;The Chamber is broken. I will call the Service from the Producer and contact you when its working.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 12:01:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Visa-Read-Frame-Error/m-p/3102728#M888630</guid>
      <dc:creator>RubertIV</dc:creator>
      <dc:date>2015-03-12T12:01:56Z</dc:date>
    </item>
  </channel>
</rss>

