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
Data fields.
|
static int |
HDW_TYPE_DAQ1
Data fields.
|
static int |
HDW_TYPE_PCI
Data fields.
|
static int |
HDW_TYPE_PCI0
Data fields.
|
static int |
HDW_TYPE_PCI1
Data fields.
|
| 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)
Opens a connection to a set of REBs.
|
void |
setClientFactory(ClientFactory clientFactory)
Sets an alternative client factory.
|
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 ifc)
throws REBException
hdw - The hardware typeids - The array of IDs of the REBs to connect toifc - The name of the hardware interface to use. If null or
empty, the default interface is used.REBExceptionpublic void close()
throws REBException
REBExceptionpublic void acquireImage(String name) throws REBException
name - The name of the imageREBExceptionCopyright © 2016 LSST. All rights reserved.