04-25-2013 08:07 PM
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.
04-26-2013 12:35 PM
Hi iapetus2001;
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.
https://decibel.ni.com/content/docs/DOC-8962 Producer/Consumer
http://www.ni.com/white-paper/3023/en Master/Slave
I hope the info is useful
Good Luck!