long meiSqNodeDriveInfo(MEISqNode          node,
                        long               driveIndex, /* relative to the node */
                        MEISqNodeDriveInfo *info,
                        void               *external);  /* node specific */
  Required Header: stdmei.h


meiSqNodeDriveInfo 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 (C:\MEI)\XMP\sqNodeLib\include directory. Use meiSqNodeInfo(...), 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.

a pointer to a drive specific information structure. See the appropriate drive vendor *.h for definition. (NOTE: it can be NULL)

Return Values

See Also

meiSqNodeInfo | meiSqNodeConfigGet | meiSqNodeDriveConfigGet


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