public class Maq20DevicePF
extends org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device
| Modifier and Type | Class and Description |
|---|---|
static class |
Maq20DevicePF.ChannelState |
org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.Maq20Control, org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.ModuleData, org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.ModuleDef| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_COLD_HEATER_READ |
static int |
CHAN_COLD_HEATER_SET |
static int |
CHAN_CRYO_HEATER_READ |
static int |
CHAN_CRYO_HEATER_SET |
static int |
CHAN_OTHER1_HEATER_SET |
static int |
CHAN_OTHER2_HEATER_SET |
static int |
CHAN_OTHER3_HEATER_SET |
static int |
CHAN_OTHER4_HEATER_SET |
CHAN_FREQUENCY, CHAN_PULSE_COUNT, CHAN_PULSE_RPM, CHAN_PWM_LOW1, CHAN_PWM_LOW2, CHAN_PWM_PERIOD, controlMap, DISC_FUNC_FREQ, DISC_FUNC_NONE, DISC_FUNC_PULSE, DISC_FUNC_PWM, maq, modules, node, NUM_CHAN_DINP, NUM_CHAN_DIOH, NUM_CHAN_DIOL, NUM_CHAN_DOUT, NUM_CHAN_FREQ, NUM_CHAN_IVD, NUM_CHAN_IVO, NUM_CHAN_IVS, NUM_CHAN_PULSE, NUM_CHAN_PWM, NUM_CHAN_RTD, NUM_CHAN_TC, serials| Constructor and Description |
|---|
Maq20DevicePF() |
| Modifier and Type | Method and Description |
|---|---|
void |
enableOutput(int chan,
boolean enable)
Enables the output.
|
double |
getHeaterLevel(int heaterId)
Get the heater control current
|
double |
getHeaterPower(int heaterId)
Get heater control current
|
long |
getHeaterSetTime(int heaterId)
Gets the set time for a heater.
|
double |
getWaterValveControlCurrent()
Get the control current of the valve
|
void |
initDevice()
Basic initialization.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
double |
setHeaterLevel(int heaterId,
double level)
Sets a heater level
|
void |
setHeaterPower(int heaterId,
double fractionPower)
Sets a heater level
|
void |
setWaterValveOpen(boolean openValve)
open/close water valve
|
checkChannel, close, furtherInitialization, getModuleCount, getModuleData, initChannel, initialize, setOnlineaddLine, checkChannel, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOutputLines, start, testOnlinepublic static final int CHAN_COLD_HEATER_SET
public static final int CHAN_CRYO_HEATER_SET
public static final int CHAN_OTHER1_HEATER_SET
public static final int CHAN_OTHER2_HEATER_SET
public static final int CHAN_OTHER3_HEATER_SET
public static final int CHAN_OTHER4_HEATER_SET
public static final int CHAN_COLD_HEATER_READ
public static final int CHAN_CRYO_HEATER_READ
public void initDevice()
initDevice in class org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Devicepublic void enableOutput(int chan,
boolean enable)
chan - The hardware channelenable - The enabled state to setprotected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.subsystem.common.devices.dataforth.Maq20DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.public void setHeaterPower(int heaterId,
double fractionPower)
heaterId - The heater IDfractionPower - (0.0-1.0)VacuumExceptionpublic double getHeaterPower(int heaterId)
throws VacuumException
VacuumExceptionpublic double setHeaterLevel(int heaterId,
double level)
throws VacuumException
heaterId - The heater IDlevel - (4-20)VacuumExceptionpublic void setWaterValveOpen(boolean openValve)
throws VacuumException
openValve - (true: open, false: close)VacuumExceptionpublic double getWaterValveControlCurrent()
throws VacuumException
VacuumExceptionpublic double getHeaterLevel(int heaterId)
throws VacuumException
VacuumExceptionpublic long getHeaterSetTime(int heaterId)
heaterId - The heater IDCopyright © 2022 LSST. All rights reserved.