0

Best practice for polling inputs in the background while doing other functions simultaneously?

Hannah 1 month ago in IQANdesign updated by Gustav Widén (System support) 3 weeks ago 1

Hello, I am using IQAN Design and would like to know if there is a best way to poll inputs? I will need to almost constantly read several inputs and be able to control an output if any of them are in the wrong state. This is not the main functionality of the system either, so if there is a way to do this in the background that would be helpful! Otherwise, I think I would need to have some pretty complex state machines, but maybe you have a better way of doing this! Please let me know what you think. Thanks!

Local inputs are sampled at the start of every cycle. 

So there shouldn't be any need to do anything in the background. Just keep all function groups enabled and your application should work fine.