.

meiSqNodeDriveMapConfigCount

Declaration

 
long meiSqNodeDriveMapConfigCount (MEISqNode    sqNode,
                                   MEIDriveMap  driveMap,
                                   long         driveIndex,
                                   long         *configCount);
  Required Header: stdmei.h

Description

meiSqNodeDriveMapConfigCount scans the drive map file for a drive entry that matches this node on the network. If an entry is found, this function returns the number of drive parameters that need to be preserved for the configuration of the drive.

This function is normally used with the meiSqNodeDriveMapConfigList function. This function is first called to get the size of the drive configuration list. Then the user can use this size to allocate enough memory to hold the complete configuration list before calling meiSqNodeDriveMapConfigList(...) to fill in the list.

 
sqNode a handle to a SynqNet node object.
driveMap a handle to a DriveMap object.
driveIndex an index to the drive (0, 1, 2, etc), relative to the node.
*configCount pointer to the variable that will be set by this function.
   
 
Return Values
MPIMessageOK  

See Also

meiSqNodeDriveMapConfigList

 

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