Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Not seeing value of any function in calculator

Hi, please help me,

 

I using a function pixel count in my inspection. In a main window i can see a count of pixels, which is 171698. But if I try to debug calculator function, the value is 0,00E+0. Any idea why the values are not the same. Thank you dor any helping answer

 

Calculator Problem.png

0 Kudos
Message 1 of 2
(4,659 Views)

Hello,
in general there is a big difference between editing and running calculator step. Values of controls coming from previous steps are not automatically updated (while creating calculator step). You need to click "compute results" button on the Measurement tab to force update of inputs . After that you will be able to debug your code with proper control values.

 

using_calculator.png

 

Regards,

 

Ondrej K.

NIEE AE

CLA, CTA, CLED
0 Kudos
Message 2 of 2
(4,631 Views)