
public class CanOpenLED extends org.lsst.ccs.framework.Module implements Led
| Constructor and Description |
|---|
CanOpenLED() |
| Modifier and Type | Method and Description |
|---|---|
CanOpenDAC |
getDac() |
String |
getDacName() |
int |
getOutputNumero() |
void |
initModule() |
String |
sentCurrent(String hexa)
to sent a current to a led
|
void |
setDac(CanOpenDAC dac) |
void |
setDacName(String dacName) |
void |
setOutputNumero(int outputNumero) |
String |
turnOFF() |
String |
turnON() |
alias, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic CanOpenDAC getDac()
public void setDac(CanOpenDAC dac)
public String getDacName()
public void setDacName(String dacName)
public int getOutputNumero()
public void setOutputNumero(int outputNumero)
public void initModule()
initModule in class org.lsst.ccs.framework.Module@Command(type=ACTION, level=1, description="Turn on LED to please Emmanuel.") public String turnON() throws SDORequestException, HardwareNotDetectedException
turnON in interface LedSDORequestExceptionHardwareNotDetectedException@Command(type=ACTION, level=1, description="Turn off LED to please Emmanuel.") public String turnOFF() throws SDORequestException, HardwareNotDetectedException
turnOFF in interface LedSDORequestExceptionHardwareNotDetectedExceptionpublic String sentCurrent(String hexa) throws SDORequestException, HardwareNotDetectedException
hexa - (3000 par exemple)SDORequestExceptionHardwareNotDetectedExceptionCopyright © 2015 LSST. All rights reserved.