public class TsFixedRateSimulation extends ModuleAdapter
It differs from TsSimulation in that it establishes a fixed data rate to the EB accepting inputs from a particular group of ROCs.
ModuleAdapter.RateCalculatorThread
attributeMap, avgEventSize, emu, endCallback, epThreadsSetInConfig, errorMsg, eventCountTotal, eventProducingThreads, eventRate, goodChunk_X_EtBufSize, id, inputChanLevels, inputChanNames, inputChannelCount, inputChannels, logger, maxEventSize, minEventSize, moduleState, name, outputChanLevels, outputChanNames, outputChannelCount, outputChannels, outputOrder, paused, prestartCallback, RateCalculator, representStatistics, statGatheringPeriod, statistics, timeStatsOn, timeToBuild, wordCountTotal, wordRate
Constructor and Description |
---|
TsFixedRateSimulation(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attributeMap,
Emu emu)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
end()
This method implements the END transition of the CODA run control state machine.
|
void |
go()
This method implements the GO transition of the CODA run control state machine.
|
void |
prestart()
This method implements the PRESTART transition of the CODA run control state machine.
|
void |
reset()
This method implements the RESET transition of the CODA run control state machine.
|
addInputChannels, addOutputChannels, adjustStatistics, clearChannels, download, eventToOutputChannel, eventToOutputChannel, getAttr, getEndCallback, getError, getEventProducingThreadCount, getInputChannels, getInputLevels, getInputNames, getIntAttr, getInternalRingCount, getOutputChannels, getOutputLevels, getOutputNames, getOutputOrder, getPrestartCallback, getStatistics, name, pause, registerEndCallback, registerPrestartCallback, representsEmuStatistics, state
public TsFixedRateSimulation(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> attributeMap, Emu emu)
name
- name of moduleattributeMap
- map containing attributes of moduleemu
- Emu this module belongs to.public void go()
go
in interface CODAStateMachine
go
in class ModuleAdapter
public void prestart()
prestart
in interface CODAStateMachine
prestart
in class ModuleAdapter
public void reset()
reset
in interface CODAStateMachine
reset
in class ModuleAdapter
public void end() throws CmdExecException
end
in interface CODAStateMachine
end
in class ModuleAdapter
CmdExecException
- if error during command execution.