<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=17&amp;t=6644" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2010-10-13T08:11:46+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=17&amp;t=6644</id>
<entry>
<author><name><![CDATA[roboard]]></name></author>
<updated>2010-10-13T08:11:46+01:00</updated>
<published>2010-10-13T08:11:46+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28451#p28451</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28451#p28451"/>
<title type="html"><![CDATA[I/O library fails to initialize (windows xp)]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28451#p28451"><![CDATA[
<blockquote><div><cite>snest wrote:</cite><br />What is the purpose of WinIO.dll and WinIO.sys? Are those there to help the executable access the RoBoIO.dll file? <br /><br />Also, are RoBoIO.dll, WinIO.dll and WinIO.sys the only files I need to include with my executable to get full functionality of the RoBoIO library?<br /></div></blockquote><br /><br />RoBoIO employs WinIO to access I/O ports under WinXP. You need to put RoBoIO.dll, WinIO.dll, and WinIO.sys in the same directory, as well as install VC2005/VC2008 SP1 runtime redistributable package, for executing WinXP RoBoIO application.<br /><br /><img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1542">roboard</a> — Wed Oct 13, 2010 8:11 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[snest]]></name></author>
<updated>2010-10-12T20:09:56+01:00</updated>
<published>2010-10-12T20:09:56+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28448#p28448</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28448#p28448"/>
<title type="html"><![CDATA[I/O library fails to initialize (windows xp)]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28448#p28448"><![CDATA[
Thank You! This did the trick.<br /><br />What is the purpose of WinIO.dll and WinIO.sys? Are those there to help the executable access the RoBoIO.dll file? <br /><br />Also, are RoBoIO.dll, WinIO.dll and WinIO.sys the only files I need to include with my executable to get full functionality of the RoBoIO library? <br /><br />Excuse the beginner questions, this is a learning project <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" />. <br /><br />Thanks again.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2254">snest</a> — Tue Oct 12, 2010 8:09 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[roboard]]></name></author>
<updated>2010-10-12T06:12:48+01:00</updated>
<published>2010-10-12T06:12:48+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28433#p28433</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28433#p28433"/>
<title type="html"><![CDATA[Re: I/O library fails to initialize (windows xp)]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28433#p28433"><![CDATA[
<blockquote><div><cite>snest wrote:</cite><br />However, I get the error message &quot;I/O library fails to initialize!&quot;<br /></div></blockquote><br /><br />Please put Winio.sys and Winio.dll in the same directory and try it again. <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1542">roboard</a> — Tue Oct 12, 2010 6:12 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[snest]]></name></author>
<updated>2010-10-12T05:20:28+01:00</updated>
<published>2010-10-12T05:20:28+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28431#p28431</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28431#p28431"/>
<title type="html"><![CDATA[I/O library fails to initialize (windows xp)]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6644&amp;p=28431#p28431"><![CDATA[
Hello, <br />I am trying to run a simple PWM program on windows xp:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code><br />#include &quot;stdafx.h&quot;<br />#include &quot;iostream&quot;<br />#include &quot;roboard_dll.h&quot;<br /><br />#include &lt;stdio&gt;<br />#include &lt;string&gt;<br />#include &lt;stdlib&gt; <br /><br />using namespace System;<br />using namespace std;<br /><br />int main&#40;array&lt;System&gt; ^args&#41;<br />&#123;<br />      <br />    int channel = 0;<br />   unsigned long usedchannel;<br />    unsigned long period  = 20000;<br />    unsigned long duty    = 1000;<br />    unsigned long count   = 300;<br /><br />   usedchannel = RCSERVO_USECHANNEL0 + RCSERVO_USECHANNEL1 + RCSERVO_USECHANNEL2 + RCSERVO_USECHANNEL3 + RCSERVO_USECHANNEL4 + RCSERVO_USECHANNEL5 + RCSERVO_USECHANNEL6 + RCSERVO_USECHANNEL7 + RCSERVO_USECHANNEL8 + RCSERVO_USECHANNEL9 + RCSERVO_USECHANNEL10 + RCSERVO_USECHANNEL11 + RCSERVO_USECHANNEL12 + RCSERVO_USECHANNEL13 + RCSERVO_USECHANNEL14 + RCSERVO_USECHANNEL15;<br /><br /><br />   roboio_SetRBVer&#40;110&#41;;<br />    // Initialize PWM interface<br />   <br />    if &#40;rcservo_Initialize&#40;usedchannel&#41; == false&#41;<br />    &#123;<br />        printf&#40;&quot;ERR: fail to initialize RCSERVO &#40;%s&#41;!\n&quot;, roboio_GetErrMsg&#40;&#41;&#41;;<br /><br />      <br />        return 1;<br />    &#125;<br />   <br />    rcservo_EnterPWMMode&#40;&#41;;<br /><br />    rcservo_SendPWMPulses&#40;channel, period, duty, count&#41;;<br /><br />    printf&#40;&quot;Start to send %ld PWM pluses with period %ld us\n&quot;<br />           &quot;and duty %ld us on PWM channel %d.\n\n&quot;, count, period, duty, channel&#41;;<br /><br />    while&#40;rcservo_IsPWMCompleted&#40;channel&#41; == false&#41;;<br /><br />    printf&#40;&quot;Send %ld PWM pulses completed.\n&quot;, count&#41;;<br />    rcservo_Close&#40;&#41;; <br />   <br />   <br />    return 0;<br />&#125;<br /></code></dd></dl><br /><br />However, I get the error message &quot;I/O library fails to initialize!&quot;<br /><br />I have tried running the program as administrator, and that did not help.<br /><br />Thanks in advance for your help.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2254">snest</a> — Tue Oct 12, 2010 5:20 am</p><hr />
]]></content>
</entry>
</feed>