<?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: RS232 output question in DASYLab</title>
    <link>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/635351#M511</link>
    <description>"255" is "FF" in Hex. &lt;BR /&gt;&lt;BR /&gt;Use \xFF to send 255 to the com port.&lt;BR /&gt;&lt;BR /&gt;If the number is simply ASCII, then keep it as "1", otherwise, you may need to convert it to Hex as well,using \x01.&lt;BR /&gt;&lt;BR /&gt;the b format converts to a byte value.&lt;BR /&gt;&lt;BR /&gt;Let us know if it works.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 09 Jan 2008 14:25:47 GMT</pubDate>
    <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
    <dc:date>2008-01-09T14:25:47Z</dc:date>
    <item>
      <title>RS232 output question</title>
      <link>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/627340#M503</link>
      <description>I'm interested in using the RS232 output in DasyLab to communicate with a servo controller.&amp;nbsp;&amp;nbsp; The data provided by the servo controller manufacturer follows.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,Geneva,Sans-serif,sans-serif; font-size: medium; color: rgb(255, 0, 0);"&gt;&lt;U&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN style="font-family: Arial,Helvetica,Geneva,Sans-serif,sans-serif; font-size: medium; color: rgb(255, 0, 0);"&gt;&lt;SPAN style="font-size: x-small; color: rgb(0, 0, 0);"&gt; The format is 9600 baud, no parity, 8 data bits,
1 stop bit (9600,n,8,1)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,Geneva,Sans-serif,sans-serif; font-size: medium; color: rgb(255, 0, 0);"&gt;&lt;SPAN style="font-size: x-small; color: rgb(0, 0, 0);"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,Geneva,Sans-serif,sans-serif; font-size: medium; color: rgb(255, 0, 0);"&gt;&lt;SPAN style="font-size: x-small; color: rgb(0, 0, 0);"&gt;You must send the chip 3 data bytes:  sync byte, motor/servo number, and motor position&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,Geneva,Sans-serif,sans-serif; font-size: medium; color: rgb(255, 0, 0);"&gt;&lt;SPAN style="font-size: x-small; color: rgb(0, 0, 0);"&gt;Sync Byte:  always 255&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,Geneva,Sans-serif,sans-serif; font-size: medium; color: rgb(255, 0, 0);"&gt;&lt;SPAN style="font-size: x-small; color: rgb(0, 0, 0);"&gt;Motor/Servo Number: 1 through 8&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,Geneva,Sans-serif,sans-serif; font-size: medium; color: rgb(255, 0, 0);"&gt;&lt;SPAN style="font-size: x-small; color: rgb(0, 0, 0);"&gt;Motor Position: 1 through 254&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN style="font-family: Arial,Helvetica,Geneva,Sans-serif,sans-serif; font-size: medium; color: rgb(255, 0, 0);"&gt;&lt;SPAN style="font-size: x-small; color: rgb(0, 0, 0);"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;I would like to always send the same number for the first two bytes (255 and 1).&amp;nbsp; For the last byte, i'd like to send the result of a slider control. &amp;nbsp; Is "2551[b]\r"&amp;nbsp; the correct format statement for this application? &lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;David&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 16 Dec 2007 02:08:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/627340#M503</guid>
      <dc:creator>DavidGregory</dc:creator>
      <dc:date>2007-12-16T02:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: RS232 output question</title>
      <link>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/635351#M511</link>
      <description>"255" is "FF" in Hex. &lt;BR /&gt;&lt;BR /&gt;Use \xFF to send 255 to the com port.&lt;BR /&gt;&lt;BR /&gt;If the number is simply ASCII, then keep it as "1", otherwise, you may need to convert it to Hex as well,using \x01.&lt;BR /&gt;&lt;BR /&gt;the b format converts to a byte value.&lt;BR /&gt;&lt;BR /&gt;Let us know if it works.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jan 2008 14:25:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/635351#M511</guid>
      <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
      <dc:date>2008-01-09T14:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: RS232 output question</title>
      <link>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/643876#M520</link>
      <description>I'm using this format string "\xFF\x00[b]".&lt;BR /&gt;&lt;BR /&gt;I'm communicating with a servo controller.&amp;nbsp; The RS232 portion seems to be working.&amp;nbsp; However,&amp;nbsp; the output doesn't respond to the slider input.&amp;nbsp; If I check the "use value at start" button in the slider properties dialog, then the output will changed to what ever value I put in that box.&amp;nbsp; However, moving the slider has no effect.&amp;nbsp;&amp;nbsp; I've set the min to 0.000 and the max to 254.00 with 254 steps.&amp;nbsp; I do get an error message about 4 seconds after the experiment starts running -&amp;gt; "The data stream is blocked by one of the following modules"&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jan 2008 02:18:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/643876#M520</guid>
      <dc:creator>DavidGregory</dc:creator>
      <dc:date>2008-01-25T02:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: RS232 output question</title>
      <link>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/659590#M540</link>
      <description>For completeness, I got it working.&amp;nbsp; I had to change the experiment frequency to a much lower number (it was set at 10kHz).&amp;nbsp; I've tested it up to 100hz.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help!&lt;BR /&gt;&lt;BR /&gt;-David&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 23 Feb 2008 13:34:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/RS232-output-question/m-p/659590#M540</guid>
      <dc:creator>DavidGregory</dc:creator>
      <dc:date>2008-02-23T13:34:21Z</dc:date>
    </item>
  </channel>
</rss>

