public class OrielShutterDevice extends org.lsst.ccs.monitor.Device implements ShutterDevice
| Constructor and Description |
|---|
OrielShutterDevice()
Constructor *
**************************************************************************
|
OrielShutterDevice(String host,
int port,
int addr)
OrielShutterDevice constructor - put Oriel Shutter 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 |
closeShutter()
closes the shutter *
**************************************************************************
|
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,
int addr)
Opens FTDI connection to a device.
|
void |
openShutter()
opens the shutter *
**************************************************************************
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
void |
reset() |
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, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisOnlinepublic OrielShutterDevice(String host, int port, int addr) throws org.lsst.ccs.drivers.commons.DriverException
host - device addressport - port or baud * * @param runBias CCD bias voltage while
running *addr - org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public OrielShutterDevice()
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,
@Argument(name="addr",description="address offset")
int addr)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="openShutter",
description="open shutter")
public void openShutter()
openShutter in interface ShutterDevice@Command(name="closeShutter",
description="close shutter")
public void closeShutter()
closeShutter in interface ShutterDeviceprotected 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 Oriel Shutter device status")
public void setState(int istate)
@Command(name="getState",
description="get Oriel Shutter device status")
public int getState()
Copyright © 2020 LSST. All rights reserved.