10-16-2014 10:24 AM
Hi,
I have master and slave vi working on Queues and notifiers concept, I have test system to test one product and this program works fine,
Now we are trying to duplicate the same test system to test same product but with single software to increase the production output, I am thinking of cloning my VI and use it has to run the other stations.
I will have one main user interface vi and I can start my test on any station at any time, this main user interface vi will have cloned vi's of master and slave vi which I am talking about.
Will this concept work ? I am afraid since the notifiers will have the same name and it causes some conflicts.
Please share your thoughts
Thanks
Solved! Go to Solution.
10-16-2014 10:55 AM
Named queues are going to cause conflicts between the different instances.
I would get rid of the names and just use the reference wires that each queue or notifier will create.
You could use a functional global action engine to store the references of multiple queues or notifiiers in an array.
If you want to still stick with named queues, I'd modify the name of the queue so that it also includes a number that is based on whatever index you assign it. So instead of "NamedQueue", I'd called it "NamedQueue1", wire a 2 into the VI have have it obtain "NamedQueue2"