
public class RebPsDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Class and Description |
|---|---|
static interface |
RebPsDevice.Event
Interface for open/close event listener.
|
| Constructor and Description |
|---|
RebPsDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a monitoring channel's parameters for validity.
|
protected void |
clearListener()
Clears the event listener.
|
protected void |
close()
Closes the connection.
|
protected void |
configure(org.lsst.ccs.monitor.Monitor mon)
Performs configuration.
|
protected double[] |
getBiasDacs()
Gets the HV bias DAC values.
|
protected double[] |
getDphiDacs()
Gets the DPHI DAC values.
|
protected int[] |
getErrors()
Gets the error counters.
|
protected String |
getPsId()
Gets the power supply ID.
|
protected int[] |
getState()
Gets the power state data.
|
protected void |
initialize()
Performs full initialization.
|
protected double |
readChannel(int hwChan,
int type)
Reads a monitoring channel.
|
protected void |
sequencePower(boolean on)
Sequences a whole power supply on or off.
|
protected void |
sequencePower(int reb,
boolean on)
Sequences a power supply section on or off.
|
protected void |
setBiasDac(int rebNum,
double value)
Sets a HV bias DAC value.
|
protected void |
setDphiDac(int rebNum,
double value)
Sets a DPHI DAC value.
|
protected void |
setListener(RebPsDevice.Event listen)
Sets an event listener.
|
protected void |
setPowerOn(int reb,
int psNum,
boolean on)
Turns a power supply on or off.
|
protected void |
togglePower(int reb,
int psNum)
Toggles the on/off state of a power supply.
|
addChannel, addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkStarted, checkStopped, checkTimeout, disable, dropChannel, enable, getFullName, getOutputLines, init, initChannel, initChannel, initDevice, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void configure(org.lsst.ccs.monitor.Monitor mon)
configure in class org.lsst.ccs.monitor.Devicemon - The monitor objectprotected void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected void close()
close in class org.lsst.ccs.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.Devicename - The channel namehwChan - The hardware channeltype - The channel type stringsubtype - The channel subtype stringException - If parameters are invalidprotected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.monitor.DevicehwChan - The hardware channel numbertype - The encoded channel typeprotected int[] getState()
throws PowerException
PowerExceptionprotected double[] getBiasDacs()
throws PowerException
PowerExceptionprotected double[] getDphiDacs()
throws PowerException
PowerExceptionprotected void setBiasDac(int rebNum,
double value)
throws PowerException
rebNum - The REB numbervalue - The value to setPowerExceptionprotected void setDphiDac(int rebNum,
double value)
throws PowerException
rebNum - The REB numbervalue - The value to setPowerExceptionprotected void setPowerOn(int reb,
int psNum,
boolean on)
throws PowerException
reb - The REB numberpsNum - The power supply number, or -1 for master switchon - Turn on if true, off if falsePowerExceptionprotected void togglePower(int reb,
int psNum)
throws PowerException
reb - The REB numberpsNum - The power supply number, or -1 for master switchPowerExceptionprotected void sequencePower(int reb,
boolean on)
throws PowerException
reb - The REB numberon - Turns on if true, off if falsePowerExceptionprotected void sequencePower(boolean on)
throws PowerException
on - Turns on if true, off if falsePowerExceptionprotected void setListener(RebPsDevice.Event listen)
listen - The listener objectprotected void clearListener()
protected int[] getErrors()
protected String getPsId()
Copyright © 2017 LSST. All rights reserved.