
public class NewportLampDevice extends org.lsst.ccs.subsystem.monitor.Device implements LampDevice
| Constructor and Description |
|---|
NewportLampDevice(int itype,
String host,
int port) |
| 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 |
getRunlampcurr(int iwstate) |
String |
getType()
returns the lamp type as defined by the subsys or user *
**************************************************************************
|
protected void |
initialize()
Initializes the connection.
|
boolean |
isLampPowerOn()
isVacuumGaugeOn - Is the NewportLamp Device on? *
**************************************************************************
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
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, addChildConfigValues, addLine, checkChannel, checkHwLine, checkLine, checkOnline, checkTimeout, configure, dropChannel, getConfigValues, getFullName, getOutputLines, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic NewportLampDevice(int itype,
String host,
int port)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="islampon", 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(name="readlampcurrent", description="returns the #amps read from the NewportLamp device") public double getLampCurrent()
getLampCurrent in interface LampDevice@Command(name="setlamptype", description="define lamp type") public void setType(String type)
setType in interface LampDevice@Command(name="getlamptype", description="returns the lamp type") public String getType()
getType in interface LampDevice@Command(name="readlampident", 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 © 2014 LSST. All rights reserved.