.

meiSqNodeDriveMapParamFileSet

Declaration

 
long meiSqNodeDriveMapParamFileSet(MEISqNode                   sqNode,
                                   MEIDriveMap                 driveMap,
                                   long                        driveIndex,
                                   char                        *driveConfigFilename,
                                   MEISqNodeDriveParamCallback callback,
                                   long                        warning);
  Required Header: stdmei.h

Description

meiSqNodeDriveMapParamFileSet loads the drive parameters stored in the file named driveConfigFilename into the drive.

 
sqNode a handle to the SynqNet node object.
driveMap a handle to the DriveMap object.
driveIndex an index to the drive (0, 1, 2, etc), relative to the node.
*driveConfigFilename the name of the file that holds the stored drive configuration file.
callback A callback function that this function calls to indicate if the function is changing the value of a drive parameter or setting a new drive parameter that has failed. Passing NULL for this parameter will disable the callback feature.
warning

0 = if setting a drive parameter fails, this function will fail immediately.

1 = if setting a drive parameter fails, then the function will continue with the remaining drive parameters and generate a warning by calling the callback function.

   
 
Return Values
MPIMessageOK  

See Also

meiSqNodeDriveMapParamFileGet

SynqNet Drive Parameters

 

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