|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.fcs.testbench.LPNHETestBenchMainModule
public class LPNHETestBenchMainModule
This is the main module for the control software of the LPNHE test bench. The LPNHE test bench consists on one PC104 which hosts a Canfestival C-Wrapper and a Maxon Motor to unlock or release a carousel filter clamp. The C-Wrapper starts a TCPIP client which connects to the TCPIP server started by the main Module of the LPNHE test bench main Module. When the LPNHETestBenchMainModule starts, it starts a a TCP-IP server. the can open wrapper software will connect. Then the LPNHETestBenchProxy and the Wrapper will communicate over this TCP connection with a protocol to be define. In a first version : 1- The TCP server is started and waits for a client connection, 2- When the client connects, it sends first a key word "APCTestBench". 3- When the server receives the key word "APCTestBench", it's ready to boot the hardware and receive commands.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Nested classes/interfaces inherited from interface org.lsst.ccs.framework.Configurable |
|---|
org.lsst.ccs.framework.Configurable.Environment |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
environment, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
LPNHETestBenchMainModule()
|
|
| Method Summary | |
|---|---|
BridgeToHardware |
getBridge()
|
FilterClampModule |
getClampXminus()
|
boolean |
isHardwareConnected()
This method returns true if the C-Wrapper is connected to the tcp proxy. |
boolean |
isHardwareReady()
returns true if the hardware is booted, identified and initialized. |
double |
readTemperature()
Read and return the temperature of the clampXminus. |
void |
setBridge(BridgeToHardware bridge)
|
void |
setClampXminus(FilterClampModule clampXminus)
|
void |
shutdown()
|
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, initModule, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, update |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LPNHETestBenchMainModule()
| Method Detail |
|---|
public BridgeToHardware getBridge()
public void setBridge(BridgeToHardware bridge)
public FilterClampModule getClampXminus()
public void setClampXminus(FilterClampModule clampXminus)
public double readTemperature()
throws HardwareError
HardwareErrorpublic boolean isHardwareConnected()
public boolean isHardwareReady()
public void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||