Hello @lukas.struber
All the ideas were good but it wasn’t exavtly what I had in mind. I think it would be possible to do what I want using this python wrapper for PVI:
https://github.com/hilch/Pvi.py
But I haven’t had the time to fully develop the idea.
Ideally it would be a python scripts that autmatically reads the variable names in ‘Cpu.per’, connects to the PLC and reads their values using the PVI python wrapper and stores everything in a .csv or .txt file.