I am trying to use the U12 in order to read and input data from a robot. I programmed in C++ using ROS. With ROS I have many different tasks, services... And multiple tasks/programms should be able to apply changes to the U12 and read Data from it. However now it seems that whenever a new part of the software communicates with the U12 it is somehow reinitialized and channels (I'm currently working with Digital ports). I have so far only been working with the Easy Functions. How can I prevent the U12 from doing so? Is it maybe possible with the DigitalIO function?
Just to add: also reading from analog input ports clears all digital states to 0.
For any help thanks in advance!