public class TestBfr extends TestSrp
TestSrp.ConsThread, TestSrp.OnOffconsThread, srp| Constructor and Description |
|---|
TestBfr()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
allRelaysOff() |
void |
allRelaysOn() |
double[] |
readCurrent(Bfr.CurrentType type) |
double |
readCurrent(Bfr.CurrentType type,
int sensor) |
double[] |
readCurrent(Bfr.CurrentType type,
int sensor,
int count) |
double[] |
readHeldCurrent(Bfr.CurrentType type) |
double |
readHeldCurrent(Bfr.CurrentType type,
int sensor) |
double[] |
readHeldCurrent(Bfr.CurrentType type,
int sensor,
int count) |
double[] |
readMaxCurrent(Bfr.CurrentType type) |
double |
readMaxCurrent(Bfr.CurrentType type,
int sensor) |
double[] |
readMaxCurrent(Bfr.CurrentType type,
int sensor,
int count) |
double[] |
readMinCurrent(Bfr.CurrentType type) |
double |
readMinCurrent(Bfr.CurrentType type,
int sensor) |
double[] |
readMinCurrent(Bfr.CurrentType type,
int sensor,
int count) |
void |
relayOff(int relay) |
void |
relayOffN(String relay) |
void |
relayOn(int relay) |
void |
relayOnN(String relay) |
void |
relaysOff(int... relays) |
void |
relaysOffN(String... relays) |
void |
relaysOn(int... relays) |
void |
relaysOnN(String... relays) |
void |
resetExtrema() |
String |
showRelay(int relay) |
String |
showRelayN(String relay) |
static String |
showRelayNames() |
String |
showRelays() |
void |
triggerHold() |
connect, connect, connectIp, connectIp, contRead, disconnect, formatHex, formatRate, read, read, setDebug, setSrpVersion, setTimeout, setWarnTime, showBoardType, showBuildStamp, showNumSeqErr, showNumTimeout, showTimeout, showWarnTime, update, write@Command(description="Show the relay names") public static String showRelayNames() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on a relay")
public void relayOn(@Argument(description="Relay number")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on a named relay")
public void relayOnN(@Argument(description="Relay name")
String relay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on some relays")
public void relaysOn(@Argument(description="Relay numbers")
int... relays)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on some named relays")
public void relaysOnN(@Argument(description="Relay names")
String... relays)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on all relays")
public void allRelaysOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off a relay")
public void relayOff(@Argument(description="Relay number")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off a named relay")
public void relayOffN(@Argument(description="Relay name")
String relay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off some relays")
public void relaysOff(@Argument(description="Relay numbers")
int... relays)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off some named relays")
public void relaysOffN(@Argument(description="Relay names")
String... relays)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off all relays")
public void allRelaysOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the state of a relay") public String showRelay(@Argument(description="Relay number") int relay) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the state of a named relay") public String showRelayN(@Argument(description="Relay name") String relay) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the state of all relays") public String showRelays() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a range of instantaneous currents")
public double[] readCurrent(@Argument(description="Current type")
Bfr.CurrentType type,
@Argument(description="Sensor number")
int sensor,
@Argument(description="Sensor count")
int count)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read an instantaneous current")
public double readCurrent(@Argument(description="Current type")
Bfr.CurrentType type,
@Argument(description="Sensor number")
int sensor)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read all instantaneous currents")
public double[] readCurrent(@Argument(description="Current type")
Bfr.CurrentType type)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a range of minimum currents")
public double[] readMinCurrent(@Argument(description="Current type")
Bfr.CurrentType type,
@Argument(description="Sensor number")
int sensor,
@Argument(description="Sensor count")
int count)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a minimum current")
public double readMinCurrent(@Argument(description="Current type")
Bfr.CurrentType type,
@Argument(description="Sensor number")
int sensor)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read all minimum currents")
public double[] readMinCurrent(@Argument(description="Current type")
Bfr.CurrentType type)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a range of maximum currents")
public double[] readMaxCurrent(@Argument(description="Current type")
Bfr.CurrentType type,
@Argument(description="Sensor number")
int sensor,
@Argument(description="Sensor count")
int count)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a maximum current")
public double readMaxCurrent(@Argument(description="Current type")
Bfr.CurrentType type,
@Argument(description="Sensor number")
int sensor)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read all maximum currents")
public double[] readMaxCurrent(@Argument(description="Current type")
Bfr.CurrentType type)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a range of held currents")
public double[] readHeldCurrent(@Argument(description="Current type")
Bfr.CurrentType type,
@Argument(description="Sensor number")
int sensor,
@Argument(description="Sensor count")
int count)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a held current")
public double readHeldCurrent(@Argument(description="Current type")
Bfr.CurrentType type,
@Argument(description="Sensor number")
int sensor)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read all held currents")
public double[] readHeldCurrent(@Argument(description="Current type")
Bfr.CurrentType type)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Reset all maximum and minimum values")
public void resetExtrema()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Trigger a hold operation")
public void triggerHold()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2022 LSST. All rights reserved.