Velmex    |    BiSlide    |    XSlide
Image Fade Right
 
VXM Driver Documentation - Visual C 6 - MotorPosition
 
Image - VXM

All functions assume you followed directions in the "How To Add To Your Project"

MotorPosition

The "MotorPosition" function is very useful in getting a motor position (irreguardless if echo is on or off on the VXM.

Syntax:
      char* MotorPosition(long MotorNumber)

Parameters:
      MotorNumber = Number of the motor that you wish to get the current position for
           

Returns:
      Nothing if failed
      Position if successfull

Example:
      CallMotorPosition = MotorPosition(1);

Image Fade Bottom Image Fade Right Bottom