From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-09-2017 01:28 PM
I do a bottle inspection, whether it is a bottle or not, when I try to take the bottle and place another bottle, an error message appears each time I remove the bottle, how can I solve this problem, I want that when The image detects the bottle the distance will be indicate, and when it detects nothing, it will indicate 0, but in that it shows me an error message :
message Error -1074395732 occurred at IMAQ Clamp Max
Possible reason(s):
IMAQ Vision: No curves were found in the image.
04-10-2017 03:30 PM
Are you using Vision Assistant, Vision Builder for Automated Inspection, or using the Vision Development Module in LabVIEW?
We are most likely getting the error because when the bottle is removed, the function you are using to detect the bottle (IMAQ Clamp Max) is no longer valid because the bottle is not there. Depending on the software you are using we may be able to do some error handling so that when you do see this error you can handle the case to ignore the error and instead output a distance of zero.
04-17-2017 03:17 AM
thank you so match,
so i use vision devlopement modele, How I can exploit the output of the error and display a distance of zero. I consider this output as the other output and I work with normally?
04-17-2017 03:58 AM
I WANT TO DETECT THE spots ON A BOTTLE, for that i used "max clamp"I, Is there any other frunction more helpful?
thanks
04-17-2017 06:42 AM
04-17-2017 04:48 PM
You can programmatically clear that error and write a distance of zero if necessary. That is my recommendation. In terms of detecting spots on the bottle the Clamp Max may work, but it depends on if the spots are always in the same place. Converting to a binary image may work. If you can, you might post a sample image so we can see what your image looks like to make suggestions.