public class GlobalClientSimulation extends Object implements GlobalClient.Impl
| Modifier and Type | Method and Description |
|---|---|
void |
deleteGlobalClient()
Deletes an object.
|
int |
getHwType()
Gets the hardware type.
|
void |
newGlobalClient(int[] ids,
String[] ifc)
Creates a new object.
|
void |
newGlobalClient(String part)
Creates a new object.
|
void |
setRegisterList(int rebType,
int[] registers)
Sets the registers to be read at image acquisition.
|
long |
startSequencer(int opcode)
Starts the sequencer.
|
long |
triggerImage(String name)
Triggers image acquisition.
|
long |
triggerImage(String name,
String folder,
int opcode,
String annotation,
int... ids)
Triggers image acquisition.
|
public void setRegisterList(int rebType,
int[] registers)
GlobalClient.ImplsetRegisterList in interface GlobalClient.ImplrebType - The encode REB typeregisters - The array of register addressespublic long triggerImage(String name)
GlobalClient.ImpltriggerImage in interface GlobalClient.Implname - The image namepublic long startSequencer(int opcode)
throws REBException
GlobalClient.ImplstartSequencer in interface GlobalClient.Implopcode - The sequencer opcodeREBExceptionpublic long triggerImage(String name, String folder, int opcode, String annotation, int... ids) throws REBException
GlobalClient.ImpltriggerImage in interface GlobalClient.Implname - The image namefolder - The image folder to useopcode - The sequencer opcodeannotation - The image annotationids - An array of REB ids to use; if empty, use whole partitionREBExceptionpublic void deleteGlobalClient()
GlobalClient.ImpldeleteGlobalClient in interface GlobalClient.Implpublic void newGlobalClient(int[] ids,
String[] ifc)
throws REBException
GlobalClient.ImplnewGlobalClient in interface GlobalClient.Implids - The IDs of the REBs to connect toifc - The names of the hardware interfaces to use for the
corresponding IDs. If null, or an element is null or
empty, the default interface is used.REBExceptionpublic void newGlobalClient(String part) throws REBException
GlobalClient.ImplnewGlobalClient in interface GlobalClient.Implpart - The name of the DAQ partition to useREBExceptionpublic int getHwType()
GlobalClient.ImplgetHwType in interface GlobalClient.ImplCopyright © 2021 LSST. All rights reserved.