public class GlobalClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
GlobalClient.Impl
Inner interface to support choosing the hardware.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
HDW_TYPE_DAQ0 |
static int |
HDW_TYPE_DAQ1 |
static int |
HDW_TYPE_PCI |
static int |
HDW_TYPE_PCI0 |
static int |
HDW_TYPE_PCI1 |
| Constructor and Description |
|---|
GlobalClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireImage(String name)
Acquires an image (by setting the trigger).
|
void |
close()
Closes a connection.
|
protected void |
finalize()
Finalizer.
|
void |
open(int hdw,
int[] ids,
String ifc)
Deprecated.
|
void |
open(int hdw,
int[] ids,
String[] ifcs)
Opens a connection to a set of REBs.
|
void |
setClientFactory(ClientFactory clientFactory)
Sets an alternative client factory.
|
void |
setRegisterlist(int rebType,
int[] registers)
Sets the list of registers to be read when the image is acquired.
|
public static final int HDW_TYPE_DAQ0
public static final int HDW_TYPE_DAQ1
public static final int HDW_TYPE_PCI0
public static final int HDW_TYPE_PCI1
public static final int HDW_TYPE_PCI
protected void finalize()
throws Throwable
public void setClientFactory(ClientFactory clientFactory)
clientFactory - The ClientFactory to usepublic void open(int hdw,
int[] ids,
String[] ifcs)
throws REBException
hdw - The hardware typeids - The array of IDs of the REBs to connect toifcs - 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.REBException@Deprecated public void open(int hdw, int[] ids, String ifc) throws REBException
REBExceptionpublic void close()
throws REBException
REBExceptionpublic void setRegisterlist(int rebType,
int[] registers)
throws REBException
rebType - The encoded REB typeregisters - The array of register addressesREBExceptionpublic void acquireImage(String name) throws REBException
name - The name of the imageREBExceptionCopyright © 2016 LSST. All rights reserved.