Class LLRFWaveformSumApplication
java.lang.Object
org.scictrl.csshell.epics.server.application.AbstractApplication
org.scictrl.csshell.epics.server.application.WaveformSumApplication
org.scictrl.csshell.epics.server.application.LLRFWaveformSumApplication
- All Implemented Interfaces:
org.scictrl.csshell.epics.server.Application
,org.scictrl.csshell.epics.server.processor.OnDemandValueProcessor.ValueProvider
public class LLRFWaveformSumApplication
extends org.scictrl.csshell.epics.server.application.WaveformSumApplication
Waveform summary calculator with conversion from amplitude to power.
Formula:
POWER = (AMPLITUDE/(CAL_SCA/0.8)*BIT_SCALING)^2 / POWER.SCALING
Where:
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.csshell.epics.server.application.WaveformSumApplication
idx, INDEX, input, INPUT, integral, INTEGRAL, max, MAX, min, MIN, psInput, sample, SAMPLE, sampleStep
Fields inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
database, DEFAULT_NAME_DELIMITER, dynamicRecordCreator, ERROR_SUM, LINK_ERROR, LINK_ERROR_STRING, links, log, name, NAME_DELIMITER, nameDelimiter, records
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected double[]
extract
(org.scictrl.csshell.epics.server.Record input) protected void
notifyLinkChange
(String name) Methods inherited from class org.scictrl.csshell.epics.server.application.WaveformSumApplication
notifyRecordChange, update
Methods inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
activate, addRecord, addRecordOfCommandProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfOnDemandProcessor, addRecordOfOnLinkValueProcessor, configure, connectLinks, createNewStore, fullRecordName, getLinks, getName, getNameDelimiter, getNotNull, getRecord, getRecordErrorSum, getRecordLinkError, getRecordNames, getRecords, getStore, getStore, getValue, initialize, isActivated, isDynamicRecordCreator, log4debug, log4error, log4error, log4info, notifyRecordWrite, processLinkChange, pushDoneCommandProcessor, reconnectLinks, resetOnDemandProcessor, restore, store, toString, updateErrorSum, updateErrorSum, updateLinkError, updateLinkError
-
Constructor Details
-
LLRFWaveformSumApplication
public LLRFWaveformSumApplication()Constructor.
-
-
Method Details
-
configure
public void configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config) - Specified by:
configure
in interfaceorg.scictrl.csshell.epics.server.Application
- Overrides:
configure
in classorg.scictrl.csshell.epics.server.application.WaveformSumApplication
-
notifyLinkChange
- Overrides:
notifyLinkChange
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
extract
protected double[] extract(org.scictrl.csshell.epics.server.Record input) - Overrides:
extract
in classorg.scictrl.csshell.epics.server.application.WaveformSumApplication
-