I am trying to exchange some data between a Codesys solution with a RevPi_Virtual device and a Python script that accesses the virtual device's process image via "f = open("/dev/piControl0", "wb+",0);", thinking this is one of the virtual device's intentions. I couldn't run it, so I decided to investigate the problem.
It shows the same behavior when I use "piTest -w ..." on the command line, as you can see in the attached images. When I write into the first byte of the device, all the other bytes are also set. When writing into the other bytes, nothing happens.
From there I don't know if I'm doing something wrong or if the connection (data processing) between Codesysruntime and RevPi is not working?
Can anyone confirm the behavior or give advice on how to do it right?