10-20-2006 02:14 PM
10-20-2006 02:19 PM
You have many possibilities around that. LabVIEW is very flexible.
Dataflow is a very powerful paradigm, but you need to rethink your programming if you have a solid background in text-based coding. 😉
10-20-2006 02:35 PM
Can you post the VI in 7.0. I am have similar problem, well I think its similar. Or take a look at my VI at this link.
http://forums.ni.com/ni/board/message?board.id=170&message.id=211400
10-20-2006 02:55 PM
btw - i tried this just to see, and it works really well. so thatnks for sharing the idea! I honestly would not have thought of this on my own. Apparently i have some more practicing to do with respect to algorithms in LV!
@altenbach wrote:You have many possibilities around that. LabVIEW is very flexible.Dataflow is a very powerful paradigm, but you need to rethink your programming if you have a solid background in text-based coding. 😉
- Just wire a small value to the timeout terminal and place code that depends on the queue element inside a case wired to the "timed out?" terminal. The loop, and all other code in it will spin just fine.
- If the "other" terminals are part of the computation on the dequeued element, it would be silly to read them more often that whenever a new queue element has arrived.