|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Problems With Vision Processing
We have been trying to learn how to process images using Vision Assistant in the last few days, but the VI file for the script we made
(The example script in the tutorial for Vision Assistant - http://www.ni.com/pdf/manuals/372228f.pdf) doesn't work. The error code we got when we tried to debug the code was: -1074396080. The VI file is atached here. Please help us, Thanks. |
|
#2
|
|||
|
|||
|
Re: Problems With Vision Processing
My guess is that your subVI is fine provided you wire up a mono image to it. The camera and Get Image VI return color images. You may want to add one more step, which is to extract a color plane or otherwise convert to mono.
Greg McKaskle |
|
#3
|
|||
|
|||
|
Re: Problems With Vision Processing
Firstly, thanks - the vi works now. But there is another problem- when we try to debug the vi by watching the result image after each step of the processing - and we try to watch the image after being converted to binary- we get a black image. Is there any way to see the binary image in red\black the same way as in Vision Assistant while the code is running?
Thanks |
|
#4
|
|||
|
|||
|
Re: Problems With Vision Processing
It is a little annoying when that happens, but easy to correct. You right click on the image control -- on the panel or in a probe, and you choose Palette>Binary. The others are more useful for color or monochrome.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|