Classes | Defines
Phidget Stepper
Specific Phidgets
Collaboration diagram for Phidget Stepper:

Classes

struct  CPhidgetStepperInfo

Defines

#define BIPOLAR_STEPPER_CURRENT_LIMIT_Rs   0.150
#define BIPOLAR_STEPPER_CURRENT_SENSE_GAIN   8.5
#define MOTOR_DISABLED_STEPPER   0x20
#define MOTOR_DONE_STEPPER   0x10
#define STEPPER_MAXINPUTS   8
#define STEPPER_MAXSTEPPERS   8
#define STEPPER_POSITION_PACKET   0x00
#define STEPPER_RESET_PACKET   0x20
#define STEPPER_VEL_ACCEL_PACKET   0x10

Detailed Description

These calls are specific to the Phidget Stepper object. See your device's User Guide for more specific API details, technical information, and revision details. The User Guide, along with other resources, can be found on the product page for your device.


Define Documentation

Definition at line 236 of file cphidgetstepper.h.

Definition at line 235 of file cphidgetstepper.h.

#define MOTOR_DISABLED_STEPPER   0x20

Definition at line 240 of file cphidgetstepper.h.

#define MOTOR_DONE_STEPPER   0x10

Definition at line 239 of file cphidgetstepper.h.

#define STEPPER_MAXINPUTS   8

Definition at line 233 of file cphidgetstepper.h.

#define STEPPER_MAXSTEPPERS   8

Gets the number of digital inputs supported by this board.

Parameters:
phidAn attached phidget stepper handle.
countThe ditial input count. Gets the state of a digital input.
phidAn attached phidget stepper handle.
indexThe input index.
inputStateThe input state. Possible values are PTRUE and PFALSE. Set a digital input change handler. This is called when a digital input changes.
phidAn attached phidget stepper handle.
fptrCallback function pointer.
userPtrA pointer for use by the user - this value is passed back into the callback function. Gets the number of motors supported by this controller
phidAn attached phidget stepper handle.
countThe motor count. Gets the last set acceleration for a motor.
phidAn attached phidget stepper handle
indexThe motor index.
accelerationThe acceleration Sets the acceleration for a motor.
phidAn attached phidget stepper handle
indexThe motor index.
accelerationThe acceleration Gets the maximum acceleration supported by a motor
phidAn attached phidget stepper handle
indexThe motor index.
maxThe maximum acceleration. Gets the minimum acceleration supported by a motor.
phidAn attached phidget stepper handle
indexThe motor index.
minThe minimum acceleration Gets the last set velocity limit for a motor.
phidAn attached phidget stepper handle
indexThe motor index.
limitThe velocity limit. Sets the velocity limit for a motor.
phidAn attached phidget stepper handle
indexThe motor index.
limitThe velocity limit. Gets the current velocity of a motor.
phidAn attached phidget stepper handle
indexThe motor index.
velocityThe current velocity. Gets the maximum velocity that can be set for a motor.
phidAn attached phidget stepper handle
indexThe motor index.
maxThe maximum velocity Gets the minimum velocity that can be set for a motor.
phidAn attached phidget stepper handle
indexThe motor index.
minThe minimum velocity. Sets a velocity change event handler. This is called when the velocity changes.
phidAn attached phidget stepper handle
fptrCallback function pointer.
userPtrA pointer for use by the user - this value is passed back into the callback function. Gets the last set target position of a motor.
phidAn attached phidget stepper handle
indexThe motor index.
positionThe position. Sets the target position of a motor.
phidAn attached phidget stepper handle
indexThe motor index.
positionThe position. Gets the current position of a motor.
phidAn attached phidget stepper handle
indexThe motor index.
positionThe position. Sets the current position of a motor. This will not move the motor, just update the position value.
phidAn attached phidget stepper handle
indexThe motor index.
positionThe position. Gets the maximum position that a motor can go to.
phidAn attached phidget stepper handle
indexThe motor index.
maxThe maximum position. Gets the minimum position that a motor can go to.
phidAn attached phidget stepper handle
indexThe motor index.
minThe minimum position Sets a position change event handler. This is called when the position changes.
phidAn attached phidget stepper handle
fptrCallback function pointer.
userPtrA pointer for use by the user - this value is passed back into the callback function. Gets the current limit for a motor.
phidAn attached phidget stepper handle.
indexThe motor index.
limitThe current limit. Sets the current limit for a motor.
phidAn attached phidget stepper handle.
indexThe motor index.
limitThe current limit. Gets the current current draw for a motor.
phidAn attached phidget stepper handle
indexThe motor index.
currentThe current. Gets the maximum current limit.
phidAn attached phidget stepper handle
indexThe motor index.
maxThe maximum current limit. Gets the minimum current limit.
phidAn attached phidget stepper handle
indexThe motor index.
minThe minimum current limit. Sets a current change event handler. This is called when the current draw changes.
phidAn attached phidget stepper handle
fptrCallback function pointer.
userPtrA pointer for use by the user - this value is passed back into the callback function. Gets the engaged state of a motor. This is whether the motor is powered or not.
phidAn attached phidget stepper handle
indexThe motor index.
engagedStateThe engaged state. Possible values are PTRUE and PFALSE. Sets the engaged state of a motor. This is whether the motor is powered or not.
phidAn attached phidget stepper handle
indexThe motor index.
engagedStateThe engaged state. Possible values are PTRUE and PFALSE. Gets the stopped state of a motor. This is true when the motor is not moving and there are no outstanding commands.
phidAn attached phidget stepper handle
indexThe motor index.
stoppedStateThe stopped state. Possible values are PTRUE and PFALSE.

Definition at line 232 of file cphidgetstepper.h.

#define STEPPER_POSITION_PACKET   0x00

Definition at line 243 of file cphidgetstepper.h.

#define STEPPER_RESET_PACKET   0x20

Definition at line 245 of file cphidgetstepper.h.

#define STEPPER_VEL_ACCEL_PACKET   0x10

Definition at line 244 of file cphidgetstepper.h.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:22