CANopen Manager / Slave Manual - esd electronics, Inc.
CANopen Manager / Slave Manual - esd electronics, Inc.
CANopen Manager / Slave Manual - esd electronics, Inc.
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
canOpenWaitForNodeState()<br />
<strong>CANopen</strong>-<strong>Slave</strong><br />
Name: canOpenWaitForNodeState() - Block until transistion in given node state<br />
Synopsis: int canOpenWaitForNodeState<br />
(<br />
HNODE HNode, /* handle of the <strong>CANopen</strong> node */<br />
unsigned short StateMask /* state mask */<br />
)<br />
Description: The application is blocked until the node is in a determined state. It is possible<br />
to wait for one or more state.<br />
StateMask is the logical OR combination of the following constants describing<br />
the node states to wait for. Valid parameters are:<br />
WFNS_INIT WFNS_STOPPED<br />
WFNS_PRE_OPERATIONAL WFNS_OPERATIONAL<br />
Return: Current node status or an error code described in the appendix.<br />
<strong>CANopen</strong> <strong>Slave</strong> Software <strong>Manual</strong> • Doc. No.: C.2002.21 / Rev. 2.2 Page 27 of 65