public class ASM380
extends org.lsst.ccs.drivers.ascii.Ascii
org.lsst.ccs.drivers.ascii.Ascii.DataBits, org.lsst.ccs.drivers.ascii.Ascii.FlowCtrl, org.lsst.ccs.drivers.ascii.Ascii.Option, org.lsst.ccs.drivers.ascii.Ascii.Parity, org.lsst.ccs.drivers.ascii.Ascii.StopBits, org.lsst.ccs.drivers.ascii.Ascii.Terminator| Modifier and Type | Field and Description |
|---|---|
static int |
IX_AUTOCAL_OK |
static int |
IX_CYCLE_AVAIL |
static int |
IX_CYCLE_TYPE |
static int |
IX_FILAMENT_2 |
static int |
IX_FILAMENT_ON |
static int |
IX_HIGH_VAC_SYNC |
static int |
IX_IN_CYCLE |
static int |
IX_INLET_VENT |
static int |
IX_NO_FAULTS |
static int |
IX_PANEL_UNLOCKED |
static int |
IX_SNIFF_TEST |
static int |
IX_SNIFF_UNCLOGGED |
static int |
NUM_STATUS_ITEMS |
static int |
ST_AUTOCAL_OK
Public constants
|
static int |
ST_CYCLE_AVAIL
Public constants
|
static int |
ST_CYCLE_TYPE
Public constants
|
static int |
ST_FILAMENT_2
Public constants
|
static int |
ST_FILAMENT_ON
Public constants
|
static int |
ST_HIGH_VAC_SYNC
Public constants
|
static int |
ST_IN_CYCLE
Public constants
|
static int |
ST_INLET_VENT
Public constants
|
static int |
ST_NO_FAULTS
Public constants
|
static int |
ST_PANEL_UNLOCKED
Public constants
|
static int |
ST_SNIFF_TEST
Public constants
|
static int |
ST_SNIFF_UNCLOGGED
Public constants
|
| Constructor and Description |
|---|
ASM380()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearFaults()
Clears the stored fault codes.
|
void |
clearWarnings()
Clears the stored warning codes.
|
String[] |
decodeStatus()
Decodes the instrument status into a string array.
|
void |
enableAlarm(boolean enable)
enable alarm
|
String |
getCycleStatus()
check cycle status
|
int[] |
getFaultCodes()
Gets the array of fault codes.
|
int |
getHighVacHours()
Gets the high vacuum pump hours.
|
int |
getPrimaryHours()
Gets the primary pump hours.
|
String |
getPumpStatus()
check pump status
|
int |
getStatus()
Gets the instrument status.
|
String |
getVentValveParms()
get vent valve setup
|
String |
getVentValveStatus()
check vent valve status
|
String |
getVersion()
Gets the software version.
|
int[] |
getWarningCodes()
Gets the array of warning codes.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int parm1,
int parm2)
Opens a connection.
|
void |
openVentValve(boolean open)
Execute open valve sequence
|
void |
pumpOn(boolean on)
pumpOn
|
double |
readInletPressure()
Reads the inlet pressure.
|
int |
readTemperature()
Reads the temperature.
|
void |
setVentValveNominal()
Setup open valve sequence
|
void |
setVentValveParms(int delay,
int period)
Setup open valve sequence
|
String |
writeCommand(String command)
Writes a command and checks for error.
|
close, closeSilent, flush, getConnTimeout, getTimeout, isDropEcho, isOpen, makeDataCharacteristics, open, open, openFtdi, openFtdi, openFtdi, openNet, openNet, openSerial, openSerial, openSerial, read, read, readBytes, readBytes, setCommandTerm, setConnTimeout, setConnTimeout, setDefaultBaud, setDefaultParm, setDefaultPort, setMultidrop, setOptions, setResponseTerm, setTerminator, setTimeout, setTimeout, write, writeBytes, writeBytespublic static final int ST_FILAMENT_2
public static final int ST_FILAMENT_ON
public static final int ST_IN_CYCLE
public static final int ST_CYCLE_TYPE
public static final int ST_SNIFF_TEST
public static final int ST_AUTOCAL_OK
public static final int ST_PANEL_UNLOCKED
public static final int ST_NO_FAULTS
public static final int ST_INLET_VENT
public static final int ST_CYCLE_AVAIL
public static final int ST_HIGH_VAC_SYNC
public static final int ST_SNIFF_UNCLOGGED
public static final int IX_FILAMENT_2
public static final int IX_FILAMENT_ON
public static final int IX_IN_CYCLE
public static final int IX_CYCLE_TYPE
public static final int IX_SNIFF_TEST
public static final int IX_AUTOCAL_OK
public static final int IX_PANEL_UNLOCKED
public static final int IX_NO_FAULTS
public static final int IX_INLET_VENT
public static final int IX_CYCLE_AVAIL
public static final int IX_HIGH_VAC_SYNC
public static final int IX_SNIFF_UNCLOGGED
public static final int NUM_STATUS_ITEMS
public void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int parm1,
int parm2)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.AsciiconnType - The connection typeident - The device identifierparm1 - The first parameter (ignored)parm2 - The second parameter (ignored)org.lsst.ccs.drivers.commons.DriverExceptionpublic String getVersion() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int getStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String[] decodeStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readInletPressure()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int readTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int getPrimaryHours()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int getHighVacHours()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int[] getWarningCodes()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int[] getFaultCodes()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void clearWarnings()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void clearFaults()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void pumpOn(boolean on)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getPumpStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getCycleStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void enableAlarm(boolean enable)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void openVentValve(boolean open)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setVentValveParms(@Argument(description="delay before actuation (0->2 secs)")
int delay,
@Argument(description="time (seconds) in actuated state")
int period)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setVentValveNominal()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getVentValveParms() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getVentValveStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String writeCommand(String command) throws org.lsst.ccs.drivers.commons.DriverException
command - The commandorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2023 LSST. All rights reserved.