Hello
I have to track objects that have barcodes along a conveyor line. Some of them will get pushed, and some will reach the end of the line depending on cameras that inspect them.
The barcode scanner is at the very beginning, and there are 5 cameras that need the barcode to map the results.
I was reading around the forum and saw things like FIFO and UDTs, and so far FIFOs have been okay, but right now it's so there's a FIFO array for the barcodes, then another one for the first camera's results etc..
It would be nice if there could be a way to update the fifo array for each object
for example
FIFO_Array[10] of UDT DataResults
DataResults is an array[6] of the barcode and results together
0 = barcode
1 = camera result 1
2 = camera result 2
etc.
Another thing is, if the first camera's result is bad, then it won't even reach the other cameras
Same thing with the second camera, if the result is bad, then it won't reach the next cameras
I've been thinking of something like a pointer or index for each camera
Any suggestions? Thanks
I have to track objects that have barcodes along a conveyor line. Some of them will get pushed, and some will reach the end of the line depending on cameras that inspect them.
The barcode scanner is at the very beginning, and there are 5 cameras that need the barcode to map the results.
I was reading around the forum and saw things like FIFO and UDTs, and so far FIFOs have been okay, but right now it's so there's a FIFO array for the barcodes, then another one for the first camera's results etc..
It would be nice if there could be a way to update the fifo array for each object
for example
FIFO_Array[10] of UDT DataResults
DataResults is an array[6] of the barcode and results together
0 = barcode
1 = camera result 1
2 = camera result 2
etc.
Another thing is, if the first camera's result is bad, then it won't even reach the other cameras
Same thing with the second camera, if the result is bad, then it won't reach the next cameras
I've been thinking of something like a pointer or index for each camera
Any suggestions? Thanks