At the TU/e we've constructed several controllers each containing several components. Every component acts on a triggerport.
So the sequence goes as follows:
ReadEncoders -> CalculateErrors -> Gain -> WriteOutput
The first component has an update frequency of 1khz.
Now in order to identify our hardware we want to log the data send over these channels without missing samples. We hope to get a text file were every line represents the date send at that milisecond over each channel:
TimeStamp ReadEncoders CalculateErrors Gain WriteOutput 0.0000 0.000 0.000 0.000 0.000 0.0010 0.300 0.100 0.300 3.000 0.0020 0.400 0.104 0.390 3.330 etc.
However the current reporter has hardcoded buffers as I understood, so what is the best way of doing this? It is also important that every line represents sequential data.
Thanks in advance!