
public class NewportLampDevice extends org.lsst.ccs.subsystem.monitor.Device implements LampDevice
| Constructor and Description |
|---|
NewportLampDevice(int itype,
String host,
int baud) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close()
Closes the connection.
|
double |
getLampCurrent()
returns the current read from the NewportLamp device
**************************************************************************
|
String |
getLampIdent()
returns the identity read from the NewportLamp device *
**************************************************************************
|
double |
getLampPower()
returns the current read from the NewportLamp device
**************************************************************************
|
double |
getRunlampcurr(int iwstate) |
String |
getType()
returns the lamp type as defined by the subsys or user *
**************************************************************************
|
protected void |
initialize()
Initializes the connection.
|
boolean |
isLampPowerOn()
isLampPowerOn - Is the NewportLamp Device on? *
**************************************************************************
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
void |
setLampCurrent(double current)
sets the current for the NewportLamp device *
**************************************************************************
|
void |
setLampPower(double current)
returns the current read from the NewportLamp device *
**************************************************************************
|
void |
setLampPowerEnable(boolean on)
enables/disable the power to the lamp *
**************************************************************************
|
void |
setRunlampcurr(double runlampcurr,
int iwstate) |
void |
setType(String type)
defines the lamp type *
**************************************************************************
|
addChannel, addConfigValues, addLine, checkChannel, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinegetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getCheckedValueFromConfiguration, getComponentByName, getName, getParent, getParentObject, getSubmittedChanges, getSubsystem, init, isParameterConfigurable, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, printConfigurableParameters, setBulkParameter, shutdownNow, start, submitChange, submitChanges, validateBulkChangepublic NewportLampDevice(int itype,
String host,
int baud)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="isLampPowerOn", description="returns whether the NewportLamp device is active") public boolean isLampPowerOn()
isLampPowerOn in interface LampDevice@Command(name="setLampPowerEnable", description="enables/disables the power to the lamp from the NewportLamp device") public void setLampPowerEnable(@Argument(name="enable",description="enables/disables lamp power") boolean on)
setLampPowerEnable in interface LampDevice@Command(type=QUERY, name="getLampCurrent", description="returns the #amps read from the NewportLamp device") public double getLampCurrent()
getLampCurrent in interface LampDevice@Command(name="setLampCurrent", description="(not implemented) sets the current for the NewportLamp device") public void setLampCurrent(double current)
setLampCurrent in interface LampDevice@Command(type=QUERY, name="getLampPower", description="returns the #amps read from the NewportLamp device") public double getLampPower()
getLampPower in interface LampDevice@Command(name="setLampPower", description="(not implimented) sets the power for the NewportLamp device") public void setLampPower(double current)
@Command(name="setType", description="define lamp type") public void setType(String type)
setType in interface LampDevice@Command(name="getType", description="returns the lamp type") public String getType()
getType in interface LampDevice@Command(name="getLampIdent", description="returns the identity read from the NewportLamp device") public String getLampIdent()
getLampIdent in interface LampDeviceprotected void close()
close in class org.lsst.ccs.subsystem.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.subsystem.monitor.Deviceprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.subsystem.monitor.Devicepublic void setRunlampcurr(double runlampcurr,
int iwstate)
public double getRunlampcurr(int iwstate)
Copyright © 2016 LSST. All rights reserved.