.

meiSqNodeSegmentUserDataGet

Declaration

 
long meiSqNodeSegmentUserDataGet(MEISqNode                 node,
                                 long                      segment,
MEISqNodeSegmentUserData *data);
  Required Header: stdmei.h
Change History: Added in the 03.02.00

Description

Modules attached to a SQID node have a small section of non-volatile memory that can be used for any purpose by the user. meiSqNodeSegmentUserDataGet gets the user data from a segment on a SynqNet node.

 
node a handle to a SynqNet node object.
segment the index of the slice/module attached to this SynqNet node.
For more information, please see the Overview of MPI I/O.
data a pointer to where the user data is written by this function.
   
 
Return Values
MPIMessageOK  

Sample Code

The following MPI code reads the contents on the non-volatile memory on segment 0 of node 1:

 

MEISqNodeSegmentUserData nodeData;

meiSqNodeSegmentUserDataGet( sqNode1, 0, &nodeData );

See Also

meiSqNodeSegmentUserDataSet | MPI Overview I/O: User Data | Overview of MPI I/O

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering