int32_t mpiSqNodeDriveConfigGet(MPISqNode  node,
                             int32_t       driveIndex, /* relative to the node */
                             void       *config);   /* node specific        */

Required Header: stdmpi.h


mpiSqNodeDriveConfigGet reads a SynqNet node's drive configuration and writes it into a drive specific structure pointed to by config. SynqNet nodes may support one or more drive interfaces. The drive configuration can be read if the drive interface hardware supports a communication channel to the drive processor. The drive interface(s) for a SynqNet node are indexed by a number (0, 1, 2, etc.).

The drive configuration structure is drive specific. The SqNodeLib includes the drive specific structures and methods. Please see the drive's header file in the MPI\include directory, as well as, the drive manufacturer's documentation for details. Use mpiSqNodeInfo(...), to determine if the SynqNet node supports a drive interface and its type.

node a handle to a SynqNet node object
driveIndex an index to a drive interface on a SynqNet node. The first drive interface is 0, the second is 1, etc.
*config a pointer to a drive specific configuration structure.
Return Values

See Also

mpiSqNodeInfo | mpiSqNodeDriveInfo | mpiSqNodeConfigGet