COGNEX PROGRAMMING

We are trying to figure out how to code our cognex to scan a tube twice . Our cognex is programmed to scan the barcodes on our tubes to make sure the correct samples are on the rack, however in our procedure, we sometimes want to use the same sample so we need the cognex to scan it again. It can’t do that right now. Is there a multi-scanning feature? thanks.

1 Like

Can you provide some more clarification on your use case? When you first scan the barcodes of the tubes, those values and their positions can be stored (like in an array) which can be referenced throughout the method. If there is a need to re-scan to confirm nothing has changed, then the carrier could be unloaded and loaded again to be re-scanned.

If you could specify your platform and the Cognex setup, that would be helpful as well. We have several Cognex options so I’d like to confirm - a picture would likely suffice!

Thanks,

Eric

Hi! We have a Macro that is imported to our Hamilton Star that includes barcodes that cognex is scanning to ensure the right tubes with these barcodes have been loaded. On this list barcodes might appear twice because we need to use a tube twice. For example we might have 3 barcodes on the list but only have 2 tubes loaded. We are not sure how to get the congnex to scan a tube twice so it matches up.

I do not think scanning the barcode twice in this situation is necessary. If you scan it once, you know the barcode and position for what was physically loaded onto the system. These values can be placed into an array. When you import the list of what to test, it could have multiple entries to transfer from the same barcoded sample(s). You can reference the array to confirm the tubes were loaded, build a sequence for the pipetting, etc.

There are several posts about worklisting and barcode matching on the forum. Here’s a thread that provides example methods on approaches you can implement.

3 Likes

Thank you!

Could this also be used to make sure position of tube and barcodes match? Thanks

Yes, it can!

1 Like