Hello,
I have about 150 valve states that I need to retrieve. I will use these states to allow / not allow certain other actions to happen.
Example: Valve1 will not open if valve 2 is also open
Whats the cleanest way to accomplish this?
I’ve considered assigning each digital output or input in a table manually, but it would be many lines of code. I’ve also thought about using the “GetAllModuleStates” command, but I’m not sure how to utilize the 32 bit int’s that are inserted in the table from that command.
Does it matter in terms of performance which route is taken? If the GetAllModuleStates is the best method, what is a good command to test the bits?