Phidgets
Class PhidgetStepper
java.lang.Object
java.lang.Thread
Phidgets.Phidget
Phidgets.PhidgetStepper
- All Implemented Interfaces:
- Runnable
public class PhidgetStepper
- extends Phidget
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
events
protected _IPhidgetStepperEvents events
PhidgetStepper
public PhidgetStepper()
Open
public boolean Open(boolean Exclusive)
Open
public boolean Open(boolean Exclusive,
int SerialNumber)
Close
public void Close()
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
GetNumMotors
public int GetNumMotors()
GetNumInputs
public int GetNumInputs()
GetInputState
public boolean GetInputState(int Index)
GetAcceleration
public int GetAcceleration(int Index)
GetMotorSpeed
public int GetMotorSpeed(int Index)
GetTorque
public int GetTorque(int Index)
GetMotorPosition
public double GetMotorPosition(int Index)
SetAcceleration
public void SetAcceleration(int Index,
int newVal)
SetMotorSpeed
public void SetMotorSpeed(int Index,
int newVal)
SetMotorPosition
public void SetMotorPosition(int Index,
double newVal)
SetTorque
public void SetTorque(int Index,
int newVal)
add_IPhidgetStepperEventsListener
public void add_IPhidgetStepperEventsListener(_IPhidgetStepperEvents l)
remove_IPhidgetStepperEventsListener
public void remove_IPhidgetStepperEventsListener(_IPhidgetStepperEvents l)