I've been reading a lot of theory, but at the moment for starting my mind goes blank and I don't find the way to solve my problem.
What's the best arquitecture/model to control + datalogging + display???
What I need it's just simple. I need to control one transducer by 4-20mA and another with voltage 0-5V. I need to control an output depending of the value of the 4-20mA transducer, and if the voltage goes above a defined threshold, then it aborts everything.
I'm still new but need this....hope you can help. Thanks in advance.
in thsi case I would recommend a mix of two design patterns, first Master/Slave for control and display (use the same loop for both) and Producer/Consumer for datalogging. Here are two examples of both Design Patterns.
I hope the info is useful