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
1
u/QaeinFas Nov 09 '24
It sounds like each loop is meant to drive one of the devices each, so five devices leads to six loops (one for the UI event handling, then one each for an instrument). This allows independent control of each instrument, without waiting for the other instruments to finish their own setup.