mpiSqNodeDriveMapParamFileSet

Declaration

long mpiSqNodeDriveMapParamFileSet(MPISqNode                   sqNode,
                                   MPIDriveMap                 driveMap,
                                   long                        driveIndex,
                                   char                        *driveConfigFilename,
                                   MPISqNodeDriveParamCallback callback,
                                   long                        warning);

Required Header: stdmpi.h

Description

mpiSqNodeDriveMapParamFileSet 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

mpiSqNodeDriveMapParamFileGet | SynqNet Drive Parameters