Phidgets
Class PhidgetServo

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

public class PhidgetServo
extends Phidget


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class Phidgets.Phidget
handler
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PhidgetServo()
           
 
Method Summary
 void Close()
           
 double GetMotorPosition(int Index)
           
 int GetNumMotors()
           
 boolean Open(boolean Exclusive)
           
 boolean Open(boolean Exclusive, int SerialNumber)
           
 void SetMotorPosition(int Index, double Position)
           
 
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, run, 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
 

Constructor Detail

PhidgetServo

public PhidgetServo()
Method Detail

Open

public boolean Open(boolean Exclusive)

Open

public boolean Open(boolean Exclusive,
                    int SerialNumber)

Close

public void Close()

GetMotorPosition

public double GetMotorPosition(int Index)

SetMotorPosition

public void SetMotorPosition(int Index,
                             double Position)

GetNumMotors

public int GetNumMotors()