public class DL34970
extends org.lsst.ccs.drivers.scpi.Scpi
| Modifier and Type | Class and Description |
|---|---|
static class |
DL34970.TcType |
org.lsst.ccs.drivers.ascii.Ascii.ConnType, org.lsst.ccs.drivers.ascii.Ascii.DataBits, org.lsst.ccs.drivers.ascii.Ascii.FlowCtrl, org.lsst.ccs.drivers.ascii.Ascii.Option, org.lsst.ccs.drivers.ascii.Ascii.Parity, org.lsst.ccs.drivers.ascii.Ascii.StopBits| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BAUDRATE |
CHECK_CONTAINS, CHECK_ENDS_WITH, CHECK_EQUALS, CHECK_MATCHES, CHECK_STARTS_WITH, ESR_ANY_ERROR, ESR_COMMAND_ERROR, ESR_DEVICE_ERROR, ESR_EXECUTION_ERROR, ESR_QUERY_ERROR, IDENT_FW_VERSION, IDENT_MANUFACTURER, IDENT_MODEL_NAME, IDENT_SERIAL_NUMBER, SB_ERROR_QUEUE, SB_EVENT_STATUS, SB_MASTER_STATUS, SB_MESSAGE_AVAILABLE, SB_OPERATION_STATUS, SB_QUESTIONABLE_STATUS| Constructor and Description |
|---|
DL34970()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configTC(DL34970.TcType type,
int[] chans)
Configures channels for thermocouple reading.
|
void |
open(org.lsst.ccs.drivers.ascii.Ascii.ConnType connType,
String ident)
Opens a connection.
|
void |
open(org.lsst.ccs.drivers.ascii.Ascii.ConnType connType,
String ident,
int baudRate)
Opens a connection.
|
void |
open(org.lsst.ccs.drivers.ascii.Ascii.ConnType connType,
String ident,
int baudRate,
int dataChar)
Opens a connection.
|
double[] |
readData()
Reads data from channels in scan list.
|
double |
readData(int chan)
Reads data from one channel.
|
double[] |
readData(int[] chans)
Reads data from specified channels.
|
void |
setScanList(int[] chans)
Sets up the scan list.
|
checkIdentification, clearStatus, enableOperationComplete, getError, getEventStatus, getEventStatusEnable, getIdentification, getOperationComplete, getServiceRequestEnable, getStatusByte, makeChannelList, makeChannelList, readDouble, readDoubleArray, readFloat, readFloatArray, readInteger, readIntegerArray, readString, readStringArray, reset, runSelfTest, setEventStatusEnable, setServiceRequestEnable, testIdentification, waitCompletion, writeCommandpublic static final int DEFAULT_BAUDRATE
public void open(org.lsst.ccs.drivers.ascii.Ascii.ConnType connType,
String ident,
int baudRate,
int dataChar)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.AsciiconnType - The enumerated connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)baudRate - The baud ratedataChar - The data characteristicsorg.lsst.ccs.drivers.commons.DriverExceptionpublic void open(org.lsst.ccs.drivers.ascii.Ascii.ConnType connType,
String ident,
int baudRate)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.AsciiconnType - The enumerated connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)baudRate - The baud rateorg.lsst.ccs.drivers.commons.DriverExceptionpublic void open(org.lsst.ccs.drivers.ascii.Ascii.ConnType connType,
String ident)
throws org.lsst.ccs.drivers.commons.DriverException
connType - The enumerated connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)org.lsst.ccs.drivers.commons.DriverExceptionpublic void configTC(DL34970.TcType type, int[] chans) throws org.lsst.ccs.drivers.commons.DriverException
type - The thermocouple type (B, E, J, K, N, R, S. T)chans - The array of channel numbersorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setScanList(int[] chans)
throws org.lsst.ccs.drivers.commons.DriverException
chans - The array of channel numbersorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] readData()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readData(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] readData(int[] chans)
throws org.lsst.ccs.drivers.commons.DriverException
chans - The array of channel numbersorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2016 LSST. All rights reserved.