10-23-2013 02:09 PM
Hi All,
I've got 3 SoMat eDAQ's that I am streaming data from at 10Hz. I'm planning on 3 producer loops and one consumer loop to handle processing.
I'm pretty certain when I show my customer they will want to increase the number of devices. This then scuppers the producer/consumer model unless I can programatically change the number of producers and the rest of the associated architecture.
Is there a way to do this or a better architecture?
Phil
Solved! Go to Solution.
10-23-2013 02:19 PM
As long as there is an ID of some sort in your Queue command, I don't see why your consumer can't handle as many producers as you might need. I would turn the producer code into a subVI. Make that subVI reentrant. Then you can dynamically call that VI as many times as is needed, one per instrument.