public class XEDDevice extends org.lsst.ccs.monitor.Device implements Fe55Device
| Constructor and Description |
|---|
XEDDevice()
Constructor *
**************************************************************************
|
XEDDevice(String host,
int port)
XEDDevice constructor - put XED in initial subsystem state
|
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
void |
extendFe55()
opens the shutter *
**************************************************************************
|
int |
getExtend_retract()
returns the position of the arm
**************************************************************************
|
int |
getState() |
protected void |
initChannel(int chan,
int type,
int subtype)
Initializes a channel.
|
protected void |
initDevice()
Performs configuration.
|
protected void |
initialize()
Initializes the device
**************************************************************************
|
String |
openftdi(String host,
int port)
Opens FTDI connection to a device.
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
void |
reset() |
void |
retractFe55()
closes the shutter *
**************************************************************************
|
void |
setExtend_retract(int extend_retract) |
void |
setState(int istate) |
addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic XEDDevice(String host, int port) throws org.lsst.ccs.drivers.commons.DriverException
host - device addressport - port or baud * * @param runBias CCD bias voltage while
running *org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public XEDDevice()
protected void initDevice()
initDevice in class org.lsst.ccs.monitor.Deviceprotected void close()
close in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.monitor.Device@Command(name="openftdi",
description="Open FTDI connection to device")
public String openftdi(@Argument(name="serialname",description="Serial device name")
String host,
@Argument(name="baud",description="baud rate")
int port)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="extendFe55",
description="extend the arm")
public void extendFe55()
extendFe55 in interface Fe55Device@Command(name="retractFe55",
description="retract the arm")
public void retractFe55()
retractFe55 in interface Fe55Device@Command(name="getExtend_retract",
description="get the position of the arm")
public int getExtend_retract()
getExtend_retract in interface Fe55Devicepublic void setExtend_retract(int extend_retract)
protected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.DeviceExceptionprotected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.monitor.Device@Command(name="reset",
description="reset trips etc...")
public void reset()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.monitor.Device@Command(name="setstate",
description="set XED device status")
public void setState(int istate)
@Command(name="getstate",
description="get XED device status")
public int getState()
Copyright © 2020 LSST. All rights reserved.