|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Thread
com.pentec.aserver.AServerPlugin
com.pentec.aserver.NetworkPlugin
com.pentec.aserver.SingleUserNetworkPlugin
com.pentec.aserver.nvlensd.NVLensModule
com.pentec.aserver.nvlensd.NVEZA2FocusModule
public abstract class NVEZA2FocusModule
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected A2EncoderComm |
a2EncoderComm
|
protected javax.comm.SerialPort |
a2EncoderComPort
|
protected EZStepperComm |
ezStepperComm
|
protected javax.comm.SerialPort |
ezStepperComPort
|
protected int |
iA2EncoderAddress
|
protected int |
iEZStepperAddress
|
protected int |
iMaxMovementAttempts
|
protected int |
iResetOffset
|
protected boolean |
isInUse
|
protected int |
iStartLocation
|
protected int |
iTopSpeedInPositionMode
|
| Fields inherited from class com.pentec.aserver.NetworkPlugin |
|---|
iTcpPort, serverSocket |
| Fields inherited from class com.pentec.aserver.AServerPlugin |
|---|
isOkToRun, SIG_INIT_FAILED, SIG_INITIALIZING, SIG_QUITTING, SIG_RUNNING, STATE_INIT_FAILED, STATE_INITIALIZING, STATE_QUITTING, STATE_RUNNING, STATE_STARTING, STATE_WAITING_TO_START, vPlugins |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
NVEZA2FocusModule(java.lang.String $Name,
java.lang.String $Version,
int iTCPPort,
javax.comm.SerialPort ezStepperComPort,
int iEZStepperAddress,
javax.comm.SerialPort a2EncoderComPort,
int iA2EncoderAddress,
int iTopSpeedInPositionMode,
int iResetOffset,
int iStartLocation,
int iMaxMovementAttempts)
|
|
| Method Summary | |
|---|---|
void |
close()
|
int |
getPosition()
|
protected void |
open()
|
protected void |
resetToOrigin()
|
void |
setPosition(int iPosition)
|
protected void |
waitOnMovement()
|
| Methods inherited from class com.pentec.aserver.nvlensd.NVLensModule |
|---|
getSingleUserConnectionHandler, initialize, isInUse, setIsInUse, shutdown |
| Methods inherited from class com.pentec.aserver.SingleUserNetworkPlugin |
|---|
getConnectionHandler |
| Methods inherited from class com.pentec.aserver.NetworkPlugin |
|---|
isOkToRun, run |
| Methods inherited from class com.pentec.aserver.AServerPlugin |
|---|
getFullyQualifiedPluginName, getNumPlugins, getPluginInstanceIdentifier, getPluginName, getPluginState, getPluginStateByName, getPluginVersion, setPluginInstanceIdentifier, signalInitFailed, signalInitializing, signalQuitting, signalRunning, startPlugin, stopPlugin, toString, writeLog, writeLog |
| 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, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected A2EncoderComm a2EncoderComm
protected javax.comm.SerialPort a2EncoderComPort
protected EZStepperComm ezStepperComm
protected javax.comm.SerialPort ezStepperComPort
protected int iA2EncoderAddress
protected int iEZStepperAddress
protected int iMaxMovementAttempts
protected int iResetOffset
protected boolean isInUse
protected int iStartLocation
protected int iTopSpeedInPositionMode
| Constructor Detail |
|---|
public NVEZA2FocusModule(java.lang.String $Name,
java.lang.String $Version,
int iTCPPort,
javax.comm.SerialPort ezStepperComPort,
int iEZStepperAddress,
javax.comm.SerialPort a2EncoderComPort,
int iA2EncoderAddress,
int iTopSpeedInPositionMode,
int iResetOffset,
int iStartLocation,
int iMaxMovementAttempts)
| Method Detail |
|---|
public void close()
close in class NVLensModule
public int getPosition()
throws java.lang.Exception
getPosition in class NVLensModulejava.lang.Exception
protected void open()
throws java.lang.Exception
open in class NVLensModulejava.lang.Exception
protected void resetToOrigin()
throws java.lang.Exception
java.lang.Exception
public void setPosition(int iPosition)
throws java.lang.Exception
setPosition in class NVLensModulejava.lang.Exception
protected void waitOnMovement()
throws java.lang.Exception
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||