I have an application that has a tab control with 10 tabs, relating to 10 Power supplies. The supplies are connected to the system via a serial gateway which has one shared protocol. I have established the need for a Rx Comms loop and a Tx comms loop so that monitor messages can be recieved popped into a queue, and demand instructions can be popped into a queue and transmitted at a constant rate to the gateway.
My problem is that i do not know the best way of implementing the main control loop(s) that processes the recieved messages and builds instructions from the data I input. I have VI's to code and decode data once i have it into the correct protocols, but am lost as to how to control the system as a whole as there are many
tabs and will be more controlling different peices of hardware. I considered using a producer/consumer queue on events from the labview 7 templates. is this a good way of going forward, or would there be a better way??
any slighty more detailed (than the labview templates) code examples on a suitable architecture would be greatly appreciated so i can get a direction!