. |
Best Practices when using the Data RecorderIt is possible to fill up a data recorder’s buffer on the controller if data is collected more slowly than it is generated. When the buffer on the controller fills up, the data collection will normally be suspended, not stopped. When data is later collected, the recorder buffer will no longer be full, and the data collection will resume. NOTE: If MPIRecorderConfig.bufferWrap is TRUE, then the data collection will not be suspended. Please see the documentation for MPIRecorderConfig.bufferWrap for more information. The consequences are that gaps in data can easily occur and easily be missed by an application. There are two ways to detect gaps:
Frequently Asked QuestionsHow may I reduce the chances that the recorder’s buffer will fill up? A simple solution is to increase the size of the recorder’s buffer. The other solution is to reduce the amount of time it takes the application to handle the data. A common method to do reduce this time is to read all the data into memory or onto a disk. Then after enough data has been collected, the application may analyze the data. Is there any way to really stop the recorder in the case the recorder buffer becomes full without creating gaps in the data? Yes. The recorder’s stop trigger must be configured to stop when the recorder is full. Currently, it is not possible to do this in the MPX. This is currently only possible in the MPI. See AlsoMPI MPX
|
| | Copyright © 2001-2021 Motion Engineering |