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

📄 classlss.html

📁 美国COPLEY驱动器,程序开发工具之一.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
Get the current CANopen node ID of the specified amplifier. <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>serial</em>&nbsp;</td><td>The serial number of the amplifier to query. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>nodeID</em>&nbsp;</td><td>The node ID will be returned here. </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="LSS_8cpp-source.html#l00077">77</a> of file <a class="el" href="LSS_8cpp-source.html">LSS.cpp</a>.    </td>  </tr></table><a class="anchor" name="a3"></a><!-- doxytag: member="LSS::getTimeout" ref="a3" 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"><a class="el" href="CML__Utils_8h.html#a9">int32</a> getTimeout           </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]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the current timeout value used by the LSS protocol. <p><dl compact><dt><b>Returns:</b></dt><dd>The current timeout in milliseconds. </dd></dl><p>Definition at line <a class="el" href="CML__CanOpen_8h-source.html#l00300">300</a> of file <a class="el" href="CML__CanOpen_8h-source.html">CML_CanOpen.h</a>.    </td>  </tr></table><a class="anchor" name="b0"></a><!-- doxytag: member="LSS::SelectAmp" ref="b0" args="(uint32 serial)" --><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> * SelectAmp           </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>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>serial</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Put the specified amplifier into LSS configure mode. <p>All other amplifiers on the network are switched into LSS operational mode.<p>Definition at line <a class="el" href="LSS_8cpp-source.html#l00134">134</a> of file <a class="el" href="LSS_8cpp-source.html">LSS.cpp</a>.    </td>  </tr></table><a class="anchor" name="a5"></a><!-- doxytag: member="LSS::SetAmpNodeID" ref="a5" args="(uint32 serial, byte nodeID)" --><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> * SetAmpNodeID           </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>&nbsp;</td>          <td class="mdname" nowrap> <em>serial</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#a2">byte</a>&nbsp;</td>          <td class="mdname" nowrap> <em>nodeID</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the CANopen node ID of the specified amplifier. <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>serial</em>&nbsp;</td><td>The serial number of the amplifier to update. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>nodeID</em>&nbsp;</td><td>The CANopen node ID to assign to this amplifier. </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="LSS_8cpp-source.html#l00103">103</a> of file <a class="el" href="LSS_8cpp-source.html">LSS.cpp</a>.    </td>  </tr></table><a class="anchor" name="a2"></a><!-- doxytag: member="LSS::setTimeout" ref="a2" args="(int32 to)" --><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">void setTimeout           </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="mdname1" valign="top" nowrap> <em>to</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the timeout value used by the LSS protocol. <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>to</em>&nbsp;</td><td>The new timeout (milliseconds) </td></tr>  </table></dl><p>Definition at line <a class="el" href="CML__CanOpen_8h-source.html#l00296">296</a> of file <a class="el" href="CML__CanOpen_8h-source.html">CML_CanOpen.h</a>.    </td>  </tr></table><a class="anchor" name="b3"></a><!-- doxytag: member="LSS::Xmit" ref="b3" args="(byte cs, uint32 data=0)" --><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> * Xmit           </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>&nbsp;</td>          <td class="mdname" nowrap> <em>cs</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>data</em> = <code>0</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Transmit a LSS CAN frame. <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>cs</em>&nbsp;</td><td>The command specifier for this frame. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data passed with the frame.</td></tr>  </table></dl><p>Definition at line <a class="el" href="LSS_8cpp-source.html#l00234">234</a> of file <a class="el" href="LSS_8cpp-source.html">LSS.cpp</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="CML__CanOpen_8h-source.html">CML_CanOpen.h</a><li><a class="el" href="LSS_8cpp-source.html">LSS.cpp</a></ul><hr><address style="align: right;"><small>Copley Motion Library, Copyright (c) 2002-2003<a href="http://www.copleycontrols.com"><img src="CCC_logo.gif" alt="Copley Controls Corp." align="middle" border=0 ></a></small></address></body></html>

⌨️ 快捷键说明

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