⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classnode.html

📁 美国COPLEY驱动器,程序开发工具之一.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<p>Definition at line <a class="el" href="Node_8cpp-source.html#l00084">84</a> of file <a class="el" href="Node_8cpp-source.html">Node.cpp</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="a25"></a><!-- doxytag: member="Node::ClearErrorHistory" ref="a25" args="(void)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual const <a class="el" href="classError.html">Error</a>* ClearErrorHistory           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Clear the error history (object 0x1003) array for this node. <p><dl compact><dt><b>Returns:</b></dt><dd>An error object. </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00262">262</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>.    </td>  </tr></table><a class="anchor" name="a21"></a><!-- doxytag: member="Node::GetDeviceType" ref="a21" args="(uint32 &amp;devType)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual const <a class="el" href="classError.html">Error</a>* GetDeviceType           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a10">uint32</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>devType</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Read the device type from the object dictionary. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>devType</em>&nbsp;</td><td>Where the device type is returned </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>An error object </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00240">240</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>.    </td>  </tr></table><a class="anchor" name="a24"></a><!-- doxytag: member="Node::GetErrorHistory" ref="a24" args="(uint16 &amp;ct, uint32 *array)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">const <a class="el" href="classError.html">Error</a> * GetErrorHistory           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a8">uint16</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>ct</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a10">uint32</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>array</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the error history array (CANopen object 0x1003). <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>ct</em>&nbsp;</td><td>When the function is first called, this variable holds the maximum number of errors that can be stored in the err array (i.e. the length of the array). On return, the actual number of errors uploaded will be stored here. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>An array of 32-bit integers that will be used to return the list of errors. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to an error object, or NULL on success</dd></dl><p>Definition at line <a class="el" href="Node_8cpp-source.html#l00358">358</a> of file <a class="el" href="Node_8cpp-source.html">Node.cpp</a>.    </td>  </tr></table><a class="anchor" name="a22"></a><!-- doxytag: member="Node::GetErrorRegister" ref="a22" args="(byte &amp;err)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual const <a class="el" href="classError.html">Error</a>* GetErrorRegister           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a2">byte</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>err</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Read the error register from the object dictionary. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>err</em>&nbsp;</td><td>Reference to where the error should be returned. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>An error object </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00247">247</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>.    </td>  </tr></table><a class="anchor" name="a29"></a><!-- doxytag: member="Node::GetIdentity" ref="a29" args="(NodeIdentity &amp;id)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">const <a class="el" href="classError.html">Error</a> * GetIdentity           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="structNodeIdentity.html">NodeIdentity</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>id</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the CANopen identity object for this node (object dictionary entry 0x1018). <p>Note that only the VendorID field is mandatory. Any unsupported fields will be returned as zero.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>The identity object to be filled in by this call </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to an error object, or NULL on success</dd></dl><p>Definition at line <a class="el" href="Node_8cpp-source.html#l00392">392</a> of file <a class="el" href="Node_8cpp-source.html">Node.cpp</a>.    </td>  </tr></table><a class="anchor" name="a26"></a><!-- doxytag: member="Node::GetMfgDeviceName" ref="a26" args="(int32 len, char *str)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual const <a class="el" href="classError.html">Error</a>* GetMfgDeviceName           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a9">int32</a>&nbsp;</td>          <td class="mdname" nowrap> <em>len</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>char *&nbsp;</td>          <td class="mdname" nowrap> <em>str</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Read the manufacturer's device name string from the object dictionary. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>Holds the size of the buffer on entry, and the length of the downloaded data on return. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>An array of characters used to upload the string. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>An error object </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00271">271</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>.    </td>  </tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -