public class TestGlobal extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestGlobal.HdwType
Enumeration for hardware type.
|
| Constructor and Description |
|---|
TestGlobal() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(TestGlobal.HdwType type,
int id)
Connects to a REB.
|
void |
connect(TestGlobal.HdwType type,
int id,
String ifcName)
Connects to a REB.
|
void |
disconnect()
Disconnects from a REB.
|
void |
trigger(String name)
Acquires an image.
|
@Command(name="connect",
description="Connect to a REB")
public void connect(@Argument(name="type",description="Hardware type")
TestGlobal.HdwType type,
@Argument(name="id",description="REB ID")
int id)
throws REBException
type - The hardware type (DAQ0, DAQ1, DAQ2, PCI0, PCI1)id - The REB IDREBException@Command(name="connect",
description="Connect to a REB")
public void connect(@Argument(name="type",description="Hardware type")
TestGlobal.HdwType type,
@Argument(name="id",description="REB ID")
int id,
@Argument(name="ifcname",description="Network interface name")
String ifcName)
throws REBException
type - The hardware type (DAQ0, DAQ1, DAQ2, PCI0, PCI1)id - The REB IDifcName - The partition, network interface, or PCI device nameREBException@Command(name="disconnect",
description="Disconnect from a REB")
public void disconnect()
throws REBException
REBException@Command(name="acquire",
description="Acquire an image")
public void trigger(@Argument(name="name",description="Image name")
String name)
throws REBException
name - The image nameREBExceptionCopyright © 2018 LSST. All rights reserved.