11-08-2012 09:05 PM
I have two sensors on a conveyor system that will determine if an object needs to be rejected or not. Another sensor is located 80 cm away where the object will be kicked off the conveyor belt. I was told to use queues but haven't had any luck so far. Could someone explain how they work, and if possible, post a sample code roughly relating to my conveyor system? Thank you!
Solved! Go to Solution.
11-08-2012 09:27 PM
Think of a queue as a line at the movie theater. As people come up they get in line. When the person selling tickets is ready they will get the first person in line and sell them a ticket. As more people arive they will get in the end of the line. This process will continue until there is no one left in line. The ticket seller will always take the person at the front of the line and new people will be placed at the end of the line.
There are examples that ship with LabVIEW illustrating how to use queues. Use the example finder and search for queues.
As for your particular situation more detail would be needed in order to give better advice.