Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

"vision builder" "inspection output"

Hello.
I use W2000 + IMaq 1407 + Vision Builder 2.0
I program an inspection in Vision Builder:
Acquire image with a trigger signal (a switch)
Match pattern
Set coordinate system
Read Text

I configure an inspection output like "data logging"
After every inspection, I read this file to take
the text readed.

The problem is:
In "inspection interface", when I start the inspection
the program puts the output continuosly in the output file, it doesn't wait the trigger signal.

When I open the data logging file, is full of fails.

I need in this file, only the inspection results when
the trigger signal is on, or the pass inspection.

I need help.
Thank you.
0 Kudos
Message 1 of 3
(3,254 Views)
Hello,

The default option for the data logging setup is to Log Measurements Only when Inspection Fails. Unless you change that to Log All Measurements, it'll only log the failing inspections.
In order to only log the passing states you need to insert a Decision Making step and define the cases that you want to log as a Fail and then keep the Log Measurements Only when Inspection Fails option.
Let me know if you have further questions regarding this.

Best regards,

Yusuf Cavdarli
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,254 Views)
Thank you for your answer.
I insert a Decision Making, like you say.
But, when i run in loop, ALWAYS the result
is "Fail".
I change the operand, the operators ... but
always the same "fail".
Is a bug in the software ?

I tried other thing, in the acquire, in the
trigger, increase the timeout 'till maximum :60seconds
The problem is, when launch the inspection, the Vision
Builder takes all the cpu resources, and the computer becomes very slow.

Any idea?
0 Kudos
Message 3 of 3
(3,254 Views)