|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent
com.kuka.roboticsAPI.controllerModel.sunrise.api.Module
com.kuka.roboticsAPI.controllerModel.sunrise.predefinedCompounds.DynDFELoggerModule
public class DynDFELoggerModule
Predefined compound for the DynDFELogger module. Please refer to the Component Realization of the module for a detailed description of the parameters.
| Nested Class Summary | |
|---|---|
static class |
DynDFELoggerModule.DataType
DFE data type. |
static class |
DynDFELoggerModule.RecordingState
Enumeration for the states in which the logger should record. |
| Constructor Summary | |
|---|---|
DynDFELoggerModule()
Creates a new DynDFELoggerModule instance. |
|
| Method Summary | |
|---|---|
void |
addConversionFactorToDFE(String portName,
double conversionFactor)
Adds a conversion factor a DFE. |
void |
addDFEToLog(String portName,
DynDFELoggerModule.DataType dataType,
int rowCount,
int columnCount)
Adds a DFE to be logged. |
void |
setLogfileName(String logfileName)
Sets the output file name of the logger. |
void |
setNumberOfSamples(int numberOfSamples)
Sets the number of samples to be stored in the circular buffer of the logger. |
void |
setRecordingStates(Set<DynDFELoggerModule.RecordingState> recordingStates)
Sets the SPR states, in which the recorder will perform recording. |
void |
setSampleInterval(int sampleInterval)
Sets the interval between two samples in [ms]. |
void |
setTimeout(int timeout)
Sets the timeout of the logger, to which it will run, if not explicitly stopped. |
void |
setWriteWhenBufferFull(boolean writeWhenBufferFull)
Sets whether the recorder will stop and write the recorded data to a file, when the allocated memory is full, or it will continue running and writing new recordings into its circular buffer. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.Module |
|---|
getComponentType, getComponentVersion |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent |
|---|
addInPort, addInPort, addOutPort, addOutPort, addParameter, getChecksum, getExpressionSegmentString, getInPort, getInPorts, getInstanceName, getName, getOutPort, getOutPorts, getParameter, getParameterList, getSPR, hasSameDataAs, onAsyncEvent, onFinished, onInitialize, onSerialization, onSPRStateChanged, onSPRStateChangedSync, setInstanceName, setName, toString, tryGetParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DynDFELoggerModule()
| Method Detail |
|---|
public void setLogfileName(String logfileName)
Default is DataRecorder<SPR-ID>.log.
logfileName - The filename.public void setTimeout(int timeout)
Default is "no timeout".
timeout - The timeout.
IllegalStateException - Thrown if the memory requirement of the recording would be larger than the limit with this timeout.public void setSampleInterval(int sampleInterval)
Default is 1.
sampleInterval - The sample interval.
IllegalStateException - Thrown if the memory requirement of the recording would be larger than the limit with this sample
interval.public void setRecordingStates(Set<DynDFELoggerModule.RecordingState> recordingStates)
recordingStates - The set of the SPR state to record in. Hint: use EnumSet#of(Enum, Enum...)) to easily
specify this parameter.public void setWriteWhenBufferFull(boolean writeWhenBufferFull)
Default is false.
writeWhenBufferFull - If true, the recorder will stop and flush to file when full, will continue otherwise.public void setNumberOfSamples(int numberOfSamples)
Default is 0.
numberOfSamples - The number of samples.
public void addDFEToLog(String portName,
DynDFELoggerModule.DataType dataType,
int rowCount,
int columnCount)
portName - The name of the DFEdataType - The DataType of the DFErowCount - The number of rows the DFE has.columnCount - The number of columns the DFE has.
public void addConversionFactorToDFE(String portName,
double conversionFactor)
portName - The name of the DFEconversionFactor - The conversion factor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||