public class Mks9xxDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Mks9xxDevice.OnOff
Constants.
|
| Constructor and Description |
|---|
Mks9xxDevice() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearRetryCount()
Clears command retry count.
|
void |
close()
Closes the connection.
|
String |
formatReadBuffer()
Formats read buffer contents.
|
String |
getAnalogOut(int chan)
Gets an analog output setting.
|
double |
getAtmospheric()
Gets the atmospheric pressure calibration factor.
|
double |
getAutoZeroLimit()
Gets the MicroPirani auto zero limit.
|
int |
getBaudRate()
Gets the baud rate.
|
org.lsst.ccs.drivers.mks.Model9XX.Gas |
getCalibrationGas()
Gets the calibration gas.
|
int |
getCCProtDelay()
Gets cold cathode protection delay.
|
String |
getDeviceType()
Gets the transducer device type.
|
String |
getFirmwareVersion()
Gets the firmware version.
|
double |
getFullScale()
Gets the cold cathode full-scale pressure calibration factor.
|
String |
getHardwareVersion()
Gets the hardware version.
|
double |
getHighIntPressure()
Gets high integration pressure.
|
double |
getLowIntPressure()
Gets low integration pressure.
|
String |
getManufacturer()
Gets the manufacturer.
|
String |
getModel()
Gets the model.
|
double |
getOffPressureCC()
Gets cold cathode turn-off pressure.
|
double |
getOnPressureCC()
Gets cold cathode turn-on pressure.
|
String |
getPartNumber()
Gets the part number.
|
org.lsst.ccs.drivers.mks.Model9XX.Unit |
getPressureUnit()
Gets the pressure unit.
|
String |
getReadBuffer()
Gets read buffer contents.
|
org.lsst.ccs.drivers.mks.Model9XX.Direction |
getRelayDirection(int relay)
Gets a relay trip direction.
|
org.lsst.ccs.drivers.mks.Model9XX.Enable |
getRelayEnable(int relay)
Gets a relay enabled state.
|
double |
getRelayHyst(int relay)
Gets a relay hysteresis value.
|
double |
getRelayTrip(int relay)
Gets a relay trip point.
|
int |
getRetryCount()
Gets command retry count.
|
int |
getRetryLimit()
Gets command retry limit.
|
double |
getSensorDose()
Gets the sensor pressure dose.
|
double |
getSensorDoseLimit()
Gets cold cathode pressure dose limit.
|
int |
getSensorTimeOn()
Gets the sensor time on.
|
String |
getSerialNumber()
Gets the serial number.
|
int |
getTimeOn()
Gets the transducer time on.
|
String |
getTransStatus()
Gets the transducer status.
|
String |
getUserTag()
Gets the user tag.
|
void |
initDevice()
Performs configuration.
|
void |
initialize()
Performs full initialization.
|
boolean |
isCCAutoPowerOn()
Gets cold cathode auto power state.
|
boolean |
isCCPowerOn()
Gets cold cathode power state.
|
boolean |
isIdentifying()
Gets the identify state.
|
boolean |
isRelayActive(int relay)
Gets whether a relay is active.
|
boolean |
isRelayDelayed()
Gets the relay trip delayed state.
|
boolean |
isResponseDelayed()
Gets the RS-485 delayed response state.
|
boolean |
isSwitchEnabled()
Gets the switch enabled state.
|
double |
readChannel(org.lsst.ccs.monitor.Channel ch) |
double |
readPressure(org.lsst.ccs.drivers.mks.Model9XX.Sensor sensor)
Reads the pressure.
|
double |
readTemperature()
Reads the MicroPirani temperature.
|
void |
setCCAutoPower(Mks9xxDevice.OnOff onOff)
Set cold cathode auto power on state
|
void |
setCCPower(Mks9xxDevice.OnOff onOff)
Set cold cathode power state
|
void |
setRetryLimit(int limit)
Sets command retry limit.
|
void |
setTimeout(double timeout)
Sets read timeout.
|
addLine, checkChannel, checkChannel, checkHwLine, checkLine, checkOnline, 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.Devicepublic void initialize()
initialize in class org.lsst.ccs.monitor.Devicepublic void close()
close in class org.lsst.ccs.monitor.Devicepublic double readChannel(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.monitor.Device@Command(type=QUERY,
level=0,
description="Read the pressure")
public double readPressure(@Argument(description="Sensor name")
org.lsst.ccs.drivers.mks.Model9XX.Sensor sensor)
throws org.lsst.ccs.drivers.commons.DriverException
sensor - Which pressure sensor to readorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Read the Micropirani temperature")
public double readTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get a relay trip point")
public double getRelayTrip(@Argument(description="Relay number")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay numberorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get a relay hysteresis value")
public double getRelayHyst(int relay)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get a relay trip direction")
public org.lsst.ccs.drivers.mks.Model9XX.Direction getRelayDirection(@Argument(description="Relay number")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay numberorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get a relay enabled state")
public org.lsst.ccs.drivers.mks.Model9XX.Enable getRelayEnable(@Argument(description="Relay number")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay numberorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get whether a relay is active")
public boolean isRelayActive(@Argument(description="Relay number")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get an analog output setting")
public String getAnalogOut(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The analog channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the calibration gas")
public org.lsst.ccs.drivers.mks.Model9XX.Gas getCalibrationGas()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the device type")
public String getDeviceType()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the firmware version")
public String getFirmwareVersion()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the hardware version")
public String getHardwareVersion()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the manufacturer")
public String getManufacturer()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the model")
public String getModel()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the part number")
public String getPartNumber()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the serial number")
public String getSerialNumber()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the transducer time on (hours)")
public int getTimeOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the sensor time on (hours)")
public int getSensorTimeOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the sensor pressure dose")
public double getSensorDose()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the transducer status")
public String getTransStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the pressure unit")
public org.lsst.ccs.drivers.mks.Model9XX.Unit getPressureUnit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the baud rate")
public int getBaudRate()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the user tag")
public String getUserTag()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the switch enabled state")
public boolean isSwitchEnabled()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the RS-485 delayed response state")
public boolean isResponseDelayed()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the relay trip delayed state")
public boolean isRelayDelayed()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the identify state")
public boolean isIdentifying()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the atmospheric pressure calibration factor")
public double getAtmospheric()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the MicroPirani auto zero limit")
public double getAutoZeroLimit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the cold cathode full-scale pressure calibration factor")
public double getFullScale()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get cold cathode turn-on pressure")
public double getOnPressureCC()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get cold cathode turn-off pressure")
public double getOffPressureCC()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the low integration pressure")
public double getLowIntPressure()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get the high integration pressure")
public double getHighIntPressure()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get cold cathode auto power state")
public boolean isCCAutoPowerOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get cold cathode power state")
public boolean isCCPowerOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
level=10,
description="Set cold cathode power state")
public void setCCPower(@Argument(description="ON or OFF")
Mks9xxDevice.OnOff onOff)
throws org.lsst.ccs.drivers.commons.DriverException
ON - or OFForg.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
level=10,
description="Set cold cathode auto power on state")
public void setCCAutoPower(@Argument(description="ON or OFF")
Mks9xxDevice.OnOff onOff)
throws org.lsst.ccs.drivers.commons.DriverException
ON - or OFForg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get cold cathode protection delay")
public int getCCProtDelay()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get cold cathode pressure dose limit")
public double getSensorDoseLimit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get read buffer contents")
public String getReadBuffer()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Format read buffer contents")
public String formatReadBuffer()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
level=50,
description="Set read timeout")
public void setTimeout(@Argument(description="The timeout (secs)")
double timeout)
throws org.lsst.ccs.drivers.commons.DriverException
timeout - The timeout (secs)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=0,
description="Get command retry limit")
public int getRetryLimit()
@Command(type=ACTION,
level=50,
description="Set command retry limit")
public void setRetryLimit(@Argument(description="The retry limit")
int limit)
limit - The limit@Command(type=QUERY,
level=0,
description="Get command retry count")
public int getRetryCount()
@Command(type=ACTION,
level=50,
description="Clear command retry count")
public void clearRetryCount()
Copyright © 2024 LSST. All rights reserved.