01-06-2017 01:22 PM
Hello,
I'm currently using Vision Builder AI 2015 and I'll be using a CVS-1459RT with the embedded UI. I want to use the Count Pixel inspection step to search an image for certain pixels and I want to be able to overlay the blue histogram on my image while the inspection is running. Is this at all possible? I've attached an image of what i want to display in real time.
Thanks
01-06-2017 01:26 PM
I want to be able to use my front screen to set up the value of the manual threshold, which I've proven out, but I want to make it easier on the user and allow them to see the influence of the threshold on the front screen.
01-06-2017 01:34 PM
I believe one of the ways of achieving this is by using the Vision Assistant and filtering the image. The problem is I can't work out how to drop variables into the vision assistant setup.
01-06-2017 01:44 PM
Yeah, this is exactly what I need. Here are two images of the Count Pixel overlay and the Vision Assistant filter at the same threshold. The problem is how can I import the filter setting...
01-12-2017 04:30 PM
Unfortunately, there is not a way to use previous values or variables in the Vision Assistant threshold step.
The way to do what you want to do is to implement what you want to do in LabVIEW and call your VI from the Run LabVIEW step.
From VBAI, create a global variable or User interface control to define the threshold value. You can use that variable to set the threshold in the count pixel step, and also pass it as a parameter to your VI called by the run LabVIEW step. The Run LabVIEW step also allows you to pass to your VI the ROI that was used in the Count Pixels step.
Implement the threshold/overlay in your VI. That should work.
If you need an example, let me know!
Christophe
06-22-2017 01:36 PM
Hi,
Sorry it's been a while since responding. Yes please, if you could send an example that would help a lot. I have LabVIEW 2016 and VBAI 2015. I can just save the run VI to a previous version of LabVIEW right?
Thanks!