Phidgets
Class PhidgetStepper

java.lang.Object
  extended by java.lang.Thread
      extended by Phidgets.Phidget
          extended by Phidgets.PhidgetStepper
All Implemented Interfaces:
Runnable

public class PhidgetStepper
extends Phidget


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  _IPhidgetStepperEvents events
           
 
Fields inherited from class Phidgets.Phidget
handler
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PhidgetStepper()
           
 
Method Summary
 void add_IPhidgetStepperEventsListener(_IPhidgetStepperEvents l)
           
 void Close()
           
 int GetAcceleration(int Index)
           
 boolean GetInputState(int Index)
           
 double GetMotorPosition(int Index)
           
 int GetMotorSpeed(int Index)
           
 int GetNumInputs()
           
 int GetNumMotors()
           
 int GetTorque(int Index)
           
 boolean Open(boolean Exclusive)
           
 boolean Open(boolean Exclusive, int SerialNumber)
           
 void remove_IPhidgetStepperEventsListener(_IPhidgetStepperEvents l)
           
 void run()
           
 void SetAcceleration(int Index, int newVal)
           
 void SetMotorPosition(int Index, double newVal)
           
 void SetMotorSpeed(int Index, int newVal)
           
 void SetTorque(int Index, int newVal)
           
 
Methods inherited from class Phidgets.Phidget
GetDeviceType, GetDeviceVersion, GetIsAttached, GetLibraryVersion, GetSerialNumber
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

events

protected _IPhidgetStepperEvents events
Constructor Detail

PhidgetStepper

public PhidgetStepper()
Method Detail

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)