mpiSqNodeDriveInfo

Declaration

long mpiSqNodeDriveInfo(MPISqNode           node,
                        long                driveIndex, /* relative to the node */
                        MPISqNodeDriveInfo  *info,
                        void                *external);  /* node specific */

Required Header: stdmpi.h

Description

mpiSqNodeDriveInfo reads a SynqNet node's drive information and writes it into a drive specific structure pointed to by info. The drive info structure contains read only data. SynqNet nodes may support one or more drive interfaces. The drive information 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 information structure is drive specific. The SqNodeLib includes the drive specific structures and methods. Please see the drive's header file for the drive specific information structures, as well as, the drive manufacturer's documentation for details. All supported drive header files are located in the MPI\include directory. 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.
*info a pointer to a structure that contains general drive information.
*external a pointer to a drive specific information structure. See the appropriate drive vendor *.h for definition. (NOTE: it can be NULL)
Return Values
MPIMessageOK

See Also

mpiSqNodeInfo | mpiSqNodeConfigGet | mpiSqNodeDriveConfigGet