.

meiDriveMapParamCount

Declaration

 
long meiDriveMapParamCount (MEIDriveMap   driveMap,
                            char          *nodeName,
                            char          *firmwareVersion,
                            long          *paramsCount);
  Required Header: stdmei.h

Description

meiDriveMapParamCount scans the drive map file for a drive entry that matches a particular drive. If an entry is found, then 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 meiDriveMapParamList(...) function. First, this function is called in order to get the size of the drive parameter list. Then the user can use this size to allocate enough memory to hold the complete parameter list before calling meiDriveMapParamList to fill in the list.

 
driveMap a handle to a DriveMap object.
nodeName the product/manufacturing text string of the node to search for. The nodeName of an SqNode object can be retreived by calling meiSqNodeInfo. See MEISqNodeInfo.
firmwareVersion The firmware version of the drive to search for. This information can be retrieved from an SqNode object by calling meiSqNodeDriveInfo. See MEISqNodeDriveInfo.
*paramsCount pointer to the variable that will be set by this function.
   
 
Return Values
MPIMessageOK  

See Also

meiDriveMapParamList

 

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