Hi, I would like to know if there is possibility to register long term values in Plecs coder. For example I would like to see estimated temperature. Sampling of this value can be very low (e.g. 1 sample per second), But I would like to see long horizon of changes (100 - 200s). When I set axis x of a scope, it doesn’t matter, new samples arriving delete previous data package. I can increase the decimation, but then it is refreshed every 100s, which is also not good, because I would like to monitor value constantly. Can I ask for any help how to do it proper way?
Are you aware of the “CSV” block? It allows streaming signals to a serial port in CSV format. Such a stream could be saved to a file or processed and displayed by a Python script.
Alternatively, one can retrieve data from the target by means of the JSON-RPC protocol, for example also from Python.
Note however, that this approach uses the same serial port as the external mode. Therefore, this only works while your PLECS model is not connected to the target via external mode.