<?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 Re: How do I correct a framing error in serial data in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766283#M351069</link>
    <description>&lt;P&gt;Hi Roboteer,&lt;/P&gt;&lt;P&gt;you can store your received data in a shift register. Search for your identification and build your message over all received packages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Aug 2008 14:24:49 GMT</pubDate>
    <dc:creator>MikeS81</dc:creator>
    <dc:date>2008-08-23T14:24:49Z</dc:date>
    <item>
      <title>How do I correct a framing error in serial data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766184#M351019</link>
      <description>&lt;P&gt;My application is a telemetry link between a robot and PC. I use a&amp;nbsp;PIC to gather the&amp;nbsp;data and then transmit it&amp;nbsp;via Quickblue to a&amp;nbsp;Bluetooth USB dongle on the PC where it is displayed in graphical form. The data is 10 separate bytes sent in a packet every 2 milli secs at 115KB. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using a hard wired test link to COM 1 the data is stable at 115KB, but using Quickblue to COM5 the received sequence moves one byte to the right at random intervals of about 5 secs. At 57KB, however,&amp;nbsp;the data is stable. I assume that&amp;nbsp;EMI is responsible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I correct this intermittent framing error? I am new to Labview and have based my VI on the serial example in V8.5.1.&amp;nbsp;&amp;nbsp; I don't mind the occasional corrupt data packet provided&amp;nbsp;the framing error&amp;nbsp;recovers immediately. I could easily send a constant byte value to identify the&amp;nbsp;first byte in the packet.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2008 21:36:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766184#M351019</guid>
      <dc:creator>Roboteer</dc:creator>
      <dc:date>2008-08-22T21:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I correct a framing error in serial data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766283#M351069</link>
      <description>&lt;P&gt;Hi Roboteer,&lt;/P&gt;&lt;P&gt;you can store your received data in a shift register. Search for your identification and build your message over all received packages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Aug 2008 14:24:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766283#M351069</guid>
      <dc:creator>MikeS81</dc:creator>
      <dc:date>2008-08-23T14:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I correct a framing error in serial data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766287#M351071</link>
      <description>&lt;P&gt;Hi roboteer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have you tried increasing the baudrate? &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by muks on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 08-23-2008&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 09:31 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 23 Aug 2008 14:31:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766287#M351071</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2008-08-23T14:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I correct a framing error in serial data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766398#M351145</link>
      <description>&lt;P&gt;Increasing the baud rate will simply make the framing error occur more often, which is rather pointless. Also, the poster explicitly indicated that the communication was stable at a &lt;EM&gt;lower&lt;/EM&gt; baud rate. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A framing error occurs when a byte is received, but it is not in the proper format. They can also occur if the serial port settings do not match exactly between the device and the port. At the speed that you are running are you using handshaking? When you have a hard-wired and the serial port settings match, framing errors are usually caused by bad cables or noise on the line. In your case you indicated that you have a Bluetooth USB dongle. I would highly suspect that it's simply not capable of running at that speed. Have you tried talking to a different device (such as a test instrument that has a serial connection) at that speed? &lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2008 19:56:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766398#M351145</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-08-24T19:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I correct a framing error in serial data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766410#M351155</link>
      <description>Thanks Mike and Smercurio for your suggestions. I will try&amp;nbsp;programming a shift register and will also try a friends dongle.</description>
      <pubDate>Sun, 24 Aug 2008 22:25:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-correct-a-framing-error-in-serial-data/m-p/766410#M351155</guid>
      <dc:creator>Roboteer</dc:creator>
      <dc:date>2008-08-24T22:25:21Z</dc:date>
    </item>
  </channel>
</rss>

