<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: BrainStem.NET Library</title>
	<atom:link href="http://www.bespokesoftware.org/wordpress/?feed=rss2&#038;page_id=8" rel="self" type="application/rss+xml" />
	<link>http://www.bespokesoftware.org/wordpress</link>
	<description>Paul Varcholik&#039;s Software Development Blog</description>
	<lastBuildDate>Fri, 20 Aug 2010 22:09:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sam</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-90880</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 07 Jul 2010 10:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-90880</guid>
		<description>A very interesting .Net development. Anticipating further progress updates in this field. Will look out for next post.</description>
		<content:encoded><![CDATA[<p>A very interesting .Net development. Anticipating further progress updates in this field. Will look out for next post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-89353</link>
		<dc:creator>Harry</dc:creator>
		<pubDate>Fri, 04 Jun 2010 01:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-89353</guid>
		<description>Hello Paul and everyone on the blog,

Looking to build a list of developers who I can send simple programming jobs to.

Each project has a real-world application and before letting them loose on the students, each must be prototyped and bench tested for obvious reasons.

Aimed at college level, with the idea of sparking interest in mechatronics that the students themselves can follow. Robots are the perfect entry to this discipline.

What the students work on must be robust in hard and soft wares, thus robotics fits the needs and Paul&#039;s libraries for Brainstorm make so much sense.

Yes, there is a small budget to help defray the costs with each build on a fixed price / fixed time basis.

Looking to build longer term relationships, so things will be simple and cheap to start with.


Best regards,

Harry K

harry1233 at excite dot com

.</description>
		<content:encoded><![CDATA[<p>Hello Paul and everyone on the blog,</p>
<p>Looking to build a list of developers who I can send simple programming jobs to.</p>
<p>Each project has a real-world application and before letting them loose on the students, each must be prototyped and bench tested for obvious reasons.</p>
<p>Aimed at college level, with the idea of sparking interest in mechatronics that the students themselves can follow. Robots are the perfect entry to this discipline.</p>
<p>What the students work on must be robust in hard and soft wares, thus robotics fits the needs and Paul&#8217;s libraries for Brainstorm make so much sense.</p>
<p>Yes, there is a small budget to help defray the costs with each build on a fixed price / fixed time basis.</p>
<p>Looking to build longer term relationships, so things will be simple and cheap to start with.</p>
<p>Best regards,</p>
<p>Harry K</p>
<p>harry1233 at excite dot com</p>
<p>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-85480</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 18 Jan 2010 06:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-85480</guid>
		<description>Paul, 

Thank you very much for the update, and all your work that went into this library. 

Mike</description>
		<content:encoded><![CDATA[<p>Paul, </p>
<p>Thank you very much for the update, and all your work that went into this library. </p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-85467</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 17 Jan 2010 17:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-85467</guid>
		<description>Hi Mike,

The ReadDigitalIoTimer command is fairly complicated. You can see details about the command in the Acroname BrainStem reference at http://acroname.com/brainstem/ref/h/Commands/cmdPTIME_RD.html.

Your question prompted me to look at the last time I  updated the BrainStem.NET library -- which was in August 2006. So, rather than relay the details of how to implement this command, I went ahead and did it myself, and released the 2.0 version of the BrainStem.NET library.

Please note, I have not fully tested the functionality of the ReadDigitalIoTimer implementation. I&#039;m confident in the outbound packet structure, but my parsing of the cmdDEV_VAL reply packet is questionable.

Hope this helps.

Paul</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>The ReadDigitalIoTimer command is fairly complicated. You can see details about the command in the Acroname BrainStem reference at <a href="http://acroname.com/brainstem/ref/h/Commands/cmdPTIME_RD.html" rel="nofollow">http://acroname.com/brainstem/ref/h/Commands/cmdPTIME_RD.html</a>.</p>
<p>Your question prompted me to look at the last time I  updated the BrainStem.NET library &#8212; which was in August 2006. So, rather than relay the details of how to implement this command, I went ahead and did it myself, and released the 2.0 version of the BrainStem.NET library.</p>
<p>Please note, I have not fully tested the functionality of the ReadDigitalIoTimer implementation. I&#8217;m confident in the outbound packet structure, but my parsing of the cmdDEV_VAL reply packet is questionable.</p>
<p>Hope this helps.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bespoke Software &#187; BrainStem.NET Version 2.0</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-85466</link>
		<dc:creator>Bespoke Software &#187; BrainStem.NET Version 2.0</dc:creator>
		<pubDate>Sun, 17 Jan 2010 16:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-85466</guid>
		<description>[...] BrainStem.NET Library [...]</description>
		<content:encoded><![CDATA[<p>[...] BrainStem.NET Library [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-85391</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 15 Jan 2010 15:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-85391</guid>
		<description>Hello,

I am trying to use the ReadDigitalIoTimer CommandCodeType, but I just can&#039;t seem to get the syntax right. I have an accelerometer that outputs digital high low pulses. The pulse length can be read to simulate the variable output of an analog signal. I tried the code below, and set a break point in the loop to inspect the packet, but currently the byte array is populated with the module address, the pin number, and the 29 code representing the ReadDigitalIoTimer. Any help would be greatly appreciated.

Mike

Code
---------------------
Packet packet = new Packet(mModuleAddress, Packet.CommandCodeType.ReadDigitalIoTimer, Packet.DirectionType.StemToHost);

while (true)
{
   byte[] data = packet.ToByteArray();
   Console.WriteLine(data[0]   &quot; - &quot;   data[1]   &quot; - &quot;   data[2]);
   Thread.Sleep(100);
}
---------------------</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am trying to use the ReadDigitalIoTimer CommandCodeType, but I just can&#8217;t seem to get the syntax right. I have an accelerometer that outputs digital high low pulses. The pulse length can be read to simulate the variable output of an analog signal. I tried the code below, and set a break point in the loop to inspect the packet, but currently the byte array is populated with the module address, the pin number, and the 29 code representing the ReadDigitalIoTimer. Any help would be greatly appreciated.</p>
<p>Mike</p>
<p>Code<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Packet packet = new Packet(mModuleAddress, Packet.CommandCodeType.ReadDigitalIoTimer, Packet.DirectionType.StemToHost);</p>
<p>while (true)<br />
{<br />
   byte[] data = packet.ToByteArray();<br />
   Console.WriteLine(data[0]   &#8221; &#8211; &#8221;   data[1]   &#8221; &#8211; &#8221;   data[2]);<br />
   Thread.Sleep(100);<br />
}<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-84808</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 01 Jan 2010 12:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-84808</guid>
		<description>Abhinav,

I had the same problem. It happens when you call GetServoPosition from the Form_Load event, and the CommandManager.Init has not finished initializing. I confirmed this by adding a 500 millisecond delay to the Form_Load event, using Thread.Sleep(500), before I call GetServoPositionThread.</description>
		<content:encoded><![CDATA[<p>Abhinav,</p>
<p>I had the same problem. It happens when you call GetServoPosition from the Form_Load event, and the CommandManager.Init has not finished initializing. I confirmed this by adding a 500 millisecond delay to the Form_Load event, using Thread.Sleep(500), before I call GetServoPositionThread.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhinav</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-80480</link>
		<dc:creator>Abhinav</dc:creator>
		<pubDate>Thu, 03 Sep 2009 21:52:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-80480</guid>
		<description>Hi Paul,

I am getting the errors

result = CommandManager.GetServoPosition(mModuleAddress, mServoId);
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
 result= CommandManager.Send(mModuleAddress,data);
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

Packet replyPacket = Instance.GetPacketFromQueue(Packet.CommandCodeType.cmdPAD_IO);
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

replyPacket is empty although my robot execute the command succesfully (i.e it does what it suppose to do) but no i am not getting any feedback.

Thanks

Abhinav</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>I am getting the errors</p>
<p>result = CommandManager.GetServoPosition(mModuleAddress, mServoId);<br />
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\<br />
 result= CommandManager.Send(mModuleAddress,data);<br />
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\</p>
<p>Packet replyPacket = Instance.GetPacketFromQueue(Packet.CommandCodeType.cmdPAD_IO);<br />
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\</p>
<p>replyPacket is empty although my robot execute the command succesfully (i.e it does what it suppose to do) but no i am not getting any feedback.</p>
<p>Thanks</p>
<p>Abhinav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-80414</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 02 Sep 2009 15:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-80414</guid>
		<description>Hi Abhinav,

What command are you calling from the BrainStem.NET API? Recall from my previous post, that the API doesn&#039;t behave like the BrainStem console application -- it doesn&#039;t allow free-form commands. Instead, the API exposes the BrainStem command set through a set of function calls.

Paul</description>
		<content:encoded><![CDATA[<p>Hi Abhinav,</p>
<p>What command are you calling from the BrainStem.NET API? Recall from my previous post, that the API doesn&#8217;t behave like the BrainStem console application &#8212; it doesn&#8217;t allow free-form commands. Instead, the API exposes the BrainStem command set through a set of function calls.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhinav</title>
		<link>http://www.bespokesoftware.org/wordpress/?page_id=8&#038;cpage=1#comment-80381</link>
		<dc:creator>Abhinav</dc:creator>
		<pubDate>Wed, 02 Sep 2009 03:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.bespokesoftware.org/wordpress/?page_id=8#comment-80381</guid>
		<description>Hi Paul,

I can successfully send the commands but i can not read anything back from the brainstem. I get the error message &quot;Expected debug message response.&quot;

Can you suggest me what should i be doing to fix this problem.

Thanks a lot, I appreciate your help.

Abhinav</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>I can successfully send the commands but i can not read anything back from the brainstem. I get the error message &#8220;Expected debug message response.&#8221;</p>
<p>Can you suggest me what should i be doing to fix this problem.</p>
<p>Thanks a lot, I appreciate your help.</p>
<p>Abhinav</p>
]]></content:encoded>
	</item>
</channel>
</rss>
