|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of DscudException in org.lsst.ccs.drivers.dscud |
|---|
| Methods in org.lsst.ccs.drivers.dscud that throw DscudException | |
|---|---|
void |
Dscud.adAutoCal(byte range,
byte bootRange)
Calibarate one ADC range or all of them |
void |
Dscud.adCalVerify(byte range,
float[] offsetError,
float[] gainError)
Verify an ADC calibration |
double |
Dscud.adCodeToVoltage(byte polarity,
byte gain,
byte range,
short code)
Convert an ADC value to a voltage |
short |
Dscud.adSample()
Read the next ADC sample |
double |
Dscud.adSampleAvg(int count)
Read and average values from successive ADC samples |
void |
Dscud.adSampleInt(int nConv,
byte lowChan,
byte highChan,
float rate,
byte clkSrc,
short fifoDepth,
int thresh,
short[] values)
Read ADC values in sample mode using interrupts |
void |
Dscud.adScan(byte lowChan,
byte highChan,
short[] values)
Read a range of ADC values in scan mode |
void |
Dscud.adScanAvg(byte lowChan,
byte highChan,
double[] averages,
int count)
Read and average a range of ADC values in scan mode |
void |
Dscud.adScanInt(int nConv,
byte lowChan,
byte highChan,
float rate,
byte clkSrc,
short fifoDepth,
int thresh,
short[] values)
Read ADC values in scan mode using interrupts |
void |
Dscud.adSetChannel(byte lowChan,
byte highChan)
Set ADC sample channel range |
void |
Dscud.adSetSettings(byte channel,
byte gain,
byte range,
byte polarity,
boolean loadCal,
byte scanIntvl,
byte diff)
Set ADC parameters |
void |
Dscud.cancelOp()
Cancel all interrupt activity |
void |
Dscud.cancelOpType(int int_type)
Cancel one type of interrupt activity |
void |
Dscud.counterDirectSet(byte code,
int value,
byte ctr)
Perform an operation on a counter directly |
int |
Dscud.counterRead(byte ctr)
Read the value of a counter |
void |
Dscud.counterSetRate(float hertz)
Set the rate for all counters |
void |
Dscud.counterSetRateSingle(float hertz,
byte ctr)
Set the rate for counter This routine uses the current frequency set for the counter to determine the value to be loaded into the counter. |
void |
Dscud.daAutoCal(byte range)
Calibarate one DAC range |
void |
Dscud.daCalVerify(byte range,
float[] offsetError,
float[] gainError)
Verify a DAC calibration |
double |
Dscud.daCodeToVoltage(byte polarity,
byte gain,
float range,
int code)
Convert a DAC value to a voltage |
void |
Dscud.daConvert(byte channel,
int code)
Write a value to a DAC |
void |
Dscud.daConvertScan(int[] chanEnab,
int[] codes)
Write an array of values to a set of DACs |
void |
Dscud.daSetPolarity(byte polarity)
Set the DAC polarity |
void |
Dscud.daSetSettings(byte polarity,
boolean loadCal,
float range,
byte gain,
boolean simUpdate,
boolean polEnab,
boolean urSet,
byte urChan)
Set the DAC parameters |
void |
Dscud.dioClearBit(byte port,
byte bit)
Clear a bit in a digital I/O port |
byte |
Dscud.dioInputBit(byte port,
byte bit)
Read a bit from a digital I/O port |
byte |
Dscud.dioInputByte(byte port)
Read a byte from a digital I/O port |
short |
Dscud.dioInputWord(byte port)
Read a short integer from a digital I/O port |
void |
Dscud.dioOutputBit(byte port,
byte bit,
byte digital_value)
Write a bit to a digital I/O port |
void |
Dscud.dioOutputByte(byte port,
byte digital_value)
Write a byte to a digital I/O port |
void |
Dscud.dioOutputWord(byte port,
short digital_value)
Write a short integer to a digital I/O port |
void |
Dscud.dioSetBit(byte port,
byte bit)
Set a bit in a digital I/O port |
void |
Dscud.dioSetConfig(byte[] config_bytes)
Configure the digital I/O ports |
void |
Dscud.freeBoard()
Free a board |
static byte |
Dscud.getBoardMacro(java.lang.String boardtype)
Get a board's type given its name (static) |
static int |
Dscud.getTime()
Get the current time (static) |
void |
Dscud.initBoard(byte type,
short baseAddr,
byte intLevel)
Initialize a board, short version |
void |
Dscud.initBoard(byte type,
short baseAddr,
byte intLevel,
byte clkFrq0,
byte clkFrq1,
byte clkSel1)
Initialize a board |
static byte |
Dscud.inp(int address)
Read a byte from I/O space (static) |
static int |
Dscud.inpl(int address)
Read an integer from I/O space (static) |
static short |
Dscud.inpw(int address)
Read a short integer from I/O space (static) |
static void |
Dscud.inpws(int address,
short[] buffer,
short n)
Read a short integer repeatedly from I/O space FIFO (static) |
static void |
Dscud.outp(int address,
byte value)
Write a byte to I/O space (static) |
static void |
Dscud.outpl(int address,
int value)
Write an integer to I/O space (static) |
static void |
Dscud.outpw(int address,
short value)
Write a short integer to I/O space (static) |
static void |
Dscud.outpws(int address,
short[] buffer,
short n)
Write a short integer array to I/O space FIFO (static) |
void |
Dscud.pauseOp()
Pause all interrupt activity |
void |
Dscud.pciInitBoard(byte type,
byte pciSlot)
Initialize a board on the PCI bus |
byte |
Dscud.registerRead(short address)
Read the value of a board register |
void |
Dscud.registerWrite(short address,
byte data)
Write a value to a board register |
void |
Dscud.resumeOp()
Resume all interrupt activity |
static void |
Dscud.setSystemPriority(int priority)
Set the execution priority (static) |
static void |
Dscud.sleep(int ms)
Pause execution for a time (static) |
int |
Dscud.userInt(byte intSrc,
byte counter,
byte clkSrc,
float rate,
java.lang.Object cbObj,
java.lang.String cbMeth)
Start user interrupt processing on counter or digital interrupt (default version) |
int |
Dscud.userInt(byte intSrc,
byte counter,
byte clkSrc,
float rate,
java.lang.Object cbObj,
java.lang.String cbMeth,
boolean useDsc)
Start user interrupt processing on counter or digital I/O interrupt |
short |
Dscud.voltageToAdCode(byte polarity,
byte gain,
byte range,
double voltage)
Convert a voltage to an ADC value |
int |
Dscud.voltageToDaCode(byte polarity,
byte gain,
float range,
double voltage)
Convert a voltage to a DAC value |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||