03-28-2007 02:22 PM
03-31-2007 01:47 AM
Hi javivi,
The queues in 5.1 are capable of supporting the producer-consumer model. See the queue example under "Execution Control Examples". It's showing a simple string value being "inserted" and "removed". To insert non-string data-types, use "Flatten to String" before "Insert Queue Element" then "Unflatten from String" after "Remove Queue Element".
What "different tasks" will you do based on the data? How is the data being read by the program - are you reading an analog-input? Is it a "continuous" acquisition?
Cheers!