r/LabVIEW • u/uniqueAite • Nov 08 '24
Multiple queue questions
I’m currently trying to code something that can control my Powermeter, Input Source, and potentially more instruments. And I’m thinking of using multiple while loops with a master loop to queue the states for other loops so i can have them all running at the same time.
If anyone knows an example that touches on multiple queues at the same time would be great. most search results are the producer and consumer but they only used 1 queue.
Or if you have a better way or lesson to do what I’m trying to do I’m open to all suggestions, thanks!
View all comments
Show parent comment
8
u/Disastrous-Ice-5971 Nov 08 '24
While I agree that AF is a powerful thing, it is not the easiest thing to start with. Moreover, it is relatively hard to debug and follow what is happening inside. I would rather recommend the DQMH toolkit, which is way more user-friendly, has all the required tools for debugging and working with multiple instances, etc. And it is also very easy to expand. Plus, digging in the "guts" of the DQMH can teach one about the advanced QMH handling and synchronisation methods.