public class SequencerUtils extends Sequencer
lines, prog, REG_SEQ_BEB, REG_SEQ_LINES, REG_SEQ_NSLICE, REG_SEQ_PROGRAM, REG_SEQ_SOURCE, REG_SEQ_SSIZE, REG_SEQ_STACK, REG_SEQ_STEP, REG_SEQ_STEP_0, REG_SEQ_STOP, REG_SEQ_STOP_0, REG_SEQ_TIMES, SEQ_MAX_FUNC, SEQ_MAX_FUNC_0, SEQ_MAX_PROGRAM, SEQ_MAX_SLICE, SEQ_MAX_STACK, SEQ_OPC_END_PROG, SEQ_OPC_END_SUBR, SEQ_OPC_EXECUTE, SEQ_OPC_JUMP, SEQ_PRG_M_EXCCNT, SEQ_PRG_M_FUNC, SEQ_PRG_M_SUBADD, SEQ_PRG_M_SUBCNT, SEQ_PRG_V_FUNC, SEQ_PRG_V_LOOP, SEQ_PRG_V_OPCODE, SEQ_PRG_V_SUBADD, SEQ_SRC_ADC, SEQ_SRC_BEB_ADC, SEQ_SRC_BEB_PTN, SEQ_SRC_FPGA_PTN, SEQ_SRC_PATTERN, SEQ_STK_M_COUNT, SEQ_STK_M_FUNC, SEQ_STK_V_FUNC, SEQ_STK_V_LOOP, stack, stackSize, timesCLOCK_PERIOD_0, CLOCK_PERIOD_1, REG_ID, REG_SCHEMA, REG_STATE, REG_TIME_BASE, REG_TRIG_TIME, REG_TRIGGER, REG_VERSION, RSET_POWER_ADCS, RSET_SEQUENCER, RSET_STATUS, RSET_TEMP_ADCS, RSET_TIME_BASE, VERSION_0, VERSION_1, VERSION_2, VERSION_UNKNOWN, VERSION_UNSET| Constructor and Description |
|---|
SequencerUtils()
Constructors.
|
SequencerUtils(RegClient reg) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Clears the sequencer program cached copy.
|
int |
getCacheSliceCount()
Gets the slice count of the sequencer program cached copy.
|
void |
loadCommand(String cmnd)
Carries out a sequencer load command.
|
void |
loadCommand(String cmnd,
int lineNum)
Carries out a sequencer load command.
|
int |
loadFile(String fileName)
Loads the sequencer from a file.
|
disable, enable, getTriggerTime, sendStep, sendStop, writeBebSelect, writeDataSource, writeLines, writeLines, writeLines, writeProgEnd, writeProgEndSubr, writeProgExec, writeProgJump, writeProgram, writeProgram, writeProgram, writeSliceCount, writeStack, writeStack, writeStack, writeStack, writeStack, writeStackSize, writeTimes, writeTimes, writeTimescheckNotVersion, checkVersion, disable, enable, getTime, getTimeRaw, getTriggerTime, getTriggerTimeRaw, getVersion, setTime, setTime, setTimeRaw, waitDonepublic SequencerUtils()
public SequencerUtils(RegClient reg)
public void loadCommand(String cmnd) throws RcmException
cmnd - A sequencer commandRcmExceptionpublic void loadCommand(String cmnd, int lineNum) throws RcmException
cmnd - A sequencer commandlineNum - The line number associated with the command, or zero
if there is no line numberRcmExceptionpublic int loadFile(String fileName) throws RcmException, IOException
fileName - The name of the file containing sequencer commandsRcmExceptionIOExceptionpublic void clearCache()
throws RcmException
RcmExceptionpublic int getCacheSliceCount()
throws RcmException
RcmExceptionCopyright © 2013 LSST. All Rights Reserved.