mpiSqNodeInfo

Declaration

int32_t mpiSqNodeInfo(MPISqNode       node,
                   MPISqNodeInfo   *info); 

 

Required Header: stdmpi.h

Description

mpiSqNodeInfo reads a SynqNet node's information and writes it into a structure pointed to by info. The info structure contains read only data about the node.

node a handle to a SynqNet node object.
*info a pointer to a drive specific information structure.
Return Values
MPIMessageOK
MPIMessageARG_INVALID
MPISqNodeMessageRESPONSE_TIMEOUT

Sample Code

MPISqNodeInfo sqNodeInfo;
mpiSqNodeInfo( sqNode0, &sqNodeInfo ); int32_t x = sqNodeInfo.io.digitalInputCount;

See Also

mpiSqNodeDriveInfo | mpiSqNodeConfigGet | mpiSqNodeDriveConfigGet