| Constructor and Description |
|---|
GPVacMon835Device() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(org.lsst.ccs.monitor.Channel ch)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
void |
disableRelay(int relay)
Disables a trip relay
|
void |
enableRelay(int relay,
double limit)
Enables a trip relay
|
String |
getIdent()
Returns the identification read from the GP835 device
|
double |
getLastPres()
Returns the last pressure read
|
double |
getRelayLimit(int relay)
Gets a trip relay limit value
|
int |
getVacState()
Gets vacuum device status
|
void |
initDevice()
Initializes the device.
|
protected void |
initialize()
Initializes the connection.
|
boolean |
isFilamenteOn()
Is the vacuum gauge filament on?
|
boolean |
isRelayActive(int relay)
Gets a trip relay active state
|
boolean |
isRelayEnabled(int relay)
Gets a trip relay enabled state
|
boolean |
isVacuumGaugeOn()
Is the vacuum gauge on?
|
double[][] |
readAMU()
Reads the AMU data
|
double[][] |
readAMU(String filename)
Reads the AMU data and dumps it to a file
|
String |
readAMUStr()
Reads the AMU data and returns it as a string
|
protected double |
readChannel(org.lsst.ccs.monitor.Channel ch)
Reads a channel.
|
double |
readPressure()
Returns the pressure read from the GP835 device
|
String |
readReport()
Returns the test report from the GP835 device
|
void |
reconnect()
Reconnects to the device.
|
void |
setFilamentOff()
Sets the vacuum gauge filament off
|
void |
setFilamentOn()
Sets the vacuum gauge filament on
|
void |
setGaugeOff()
Sets the vacuum gauge off
|
void |
setGaugeOn()
Sets the vacuum gauge on
|
void |
setVacState(int istate)
Sets vacuum device status
|
addLine, checkChannel, checkHwLine, checkLine, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlinepublic void initDevice()
initDevice in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected void close()
close in class org.lsst.ccs.monitor.Deviceprotected int[] checkChannel(org.lsst.ccs.monitor.Channel ch)
throws Exception
checkChannel in class org.lsst.ccs.monitor.Devicech - The Channel to check.Exceptionprotected double readChannel(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.monitor.Devicech - The channel to read.@Command(description="Reconnect to the VQM") public void reconnect()
@Command(description="Returns whether the GP835 device is active") public boolean isVacuumGaugeOn() throws org.lsst.ccs.drivers.commons.DriverException
isVacuumGaugeOn in interface VQMDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on power to the vacuum gauge") public void setGaugeOn() throws org.lsst.ccs.drivers.commons.DriverException
setGaugeOn in interface VQMDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off power to the vacuum gauge") public void setGaugeOff() throws org.lsst.ccs.drivers.commons.DriverException
setGaugeOff in interface VQMDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(description="Returns whether the filament is on") public boolean isFilamenteOn() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on the vacuum gauge filament") public void setFilamentOn() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off the vacuum gauge filament") public void setFilamentOff() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, description="returns the pressure read from the GP835 device") public double readPressure() throws org.lsst.ccs.drivers.commons.DriverException
readPressure in interface VQMDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(description="Enable a trip relay") public void enableRelay(@Argument(description="Relay number") int relay, @Argument(description="High pressure limit") double limit) throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1-2)limit - The high pressure limit valueorg.lsst.ccs.drivers.commons.DriverException@Command(description="Disable a trip relay") public void disableRelay(@Argument(description="Relay number") int relay) throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1-2)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, description="Get a trip relay limit value") public double getRelayLimit(@Argument(description="Relay number") int relay) throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1-2)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, description="Get a trip relay enabled state") public boolean isRelayEnabled(@Argument(description="Relay number") int relay) throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1-2)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, description="Get a trip relay active state") public boolean isRelayActive(@Argument(description="Relay number") int relay) throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1-2)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, description="Returns the ident read from the GP835 device") public String getIdent() throws org.lsst.ccs.drivers.commons.DriverException
@Command(type=QUERY, description="Returns the test report from the GP835 device") public String readReport() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getLastPres()
getLastPres in interface VQMDevice@Command(type=QUERY, description="read the buffer") public double[][] readAMU() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, description="read the buffer and dump to file") public double[][] readAMU(@Argument(name="filename",description="output filename for the VQM buffered values") String filename) throws org.lsst.ccs.drivers.commons.DriverException
filename - org.lsst.ccs.drivers.commons.DriverException@Command(description="Read the buffer and returns as a string") public String readAMUStr() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set vacuum device status") public void setVacState(@Argument(description="State to set") int istate)
setVacState in interface VQMDeviceistate - @Command(description="Set vacuum device status") public int getVacState()
getVacState in interface VQMDeviceCopyright © 2024 LSST. All rights reserved.