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(String part)
Connects to a partition via DAQ V2/4.
|
void |
connect(TestGlobal.HdwType type,
int id,
String ifcName)
Connects to a REB.
|
void |
disconnect()
Disconnects from a partition or REB.
|
void |
sequence(int opcode)
Starts the sequencer(s).
|
void |
trigger(String name)
Acquires an image.
|
void |
trigger(String name,
String folder,
int opcode,
String annotation,
int... omittedIds)
Acquires an image.
|
@Command(name="connect",
description="Connect to a partition")
public void connect(@Argument(description="Partition name")
String part)
throws REBException
part - The partition nameREBException@Command(name="connect",
description="Connect to a REB")
public void connect(@Argument(description="Hardware type")
TestGlobal.HdwType type,
@Argument(description="REB ID")
int id,
@Argument(description="Network interface name")
String ifcName)
throws REBException
type - The hardware type (DAQ0, DAQ1, PCI0, PCI1)id - The REB IDifcName - The network interface or PCI device nameREBException@Command(name="disconnect",
description="Disconnect from a partition/REB")
public void disconnect()
throws REBException
REBException@Command(name="acquire",
description="Acquire an image")
public void trigger(@Argument(description="Image name")
String name)
throws REBException
name - The image nameREBException@Command(name="acquire",
description="Acquire an image")
public void trigger(@Argument(description="Image name")
String name,
@Argument(description="Folder name")
String folder,
@Argument(description="Sequencer opcode")
int opcode,
@Argument(description="Annotation")
String annotation,
@Argument(description="Omitted REB ids")
int... omittedIds)
throws REBException
name - The image namefolder - The image folder to useopcode - The sequencer opcodeannotation - The annotation stringomittedIds - REB ids to omit from image dataREBException@Command(name="sequence",
description="Start the sequrncers")
public void sequence(@Argument(description="Sequencer opcode")
int opcode)
throws REBException
opcode - The opcodeREBExceptionCopyright © 2023 LSST. All rights reserved.