Phidgets
Class PhidgetStepper
java.lang.Object
|
+--java.lang.Thread
|
+--Phidgets.Phidget
|
+--Phidgets.PhidgetStepper
- All Implemented Interfaces:
- java.lang.Runnable
- public class PhidgetStepper
- extends Phidget
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
PhidgetStepper
public PhidgetStepper()
Open
public boolean Open(boolean Exclusive)
Open
public boolean Open(boolean Exclusive,
int SerialNumber)
Close
public void Close()
- Overrides:
Close
in class Phidget
run
public void run()
- Overrides:
run
in class Phidget
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)
init
public void init(java.lang.String[] dataArray)
getData
public void getData(java.lang.String[] dataArray)