05-24-2019 09:32 AM
Hi Guys,
I need to use the Canny filter in VBAI 2015 f3, unfortunately it doesn't seem to have it. Also Vision Assistant inside Vision Builder seems to be limited and doesn't have that filter. Is there any way to implement Canny into my VBAI code?
Thanks a lot,
Tomasz
Solved! Go to Solution.
05-24-2019 09:43 AM
The only way at this point would be to add the functionality with a Run LabVIEW step. Do you have LabVIEW 2015 and Vision Development Module?
05-24-2019 09:47 AM
Hi Christophe,
thanks for swift reply. I do have those, however the VI I created did not work in VBAI. Could you please suggest how it should be done?
Thanks,
Tomasz
05-24-2019 11:16 AM - edited 05-24-2019 11:18 AM
The FAQ tab of the Run LabVIEW step context help will guide you on how to create a LabVIEW project and save the VI for source distribution.
I encourage you to go through it to learn how to do it. This is a good way to add functionality to Vision Builder AI.
For your convenience, I created a small example for you and attached it to the post.
Look for the VBAI example in the build folder.
Hope this helps,
Christophe
05-24-2019 12:42 PM
Hi Christophe,
this actually works wonderfully. I did not realize earlier that I'm supposed to put the vbai indpection file into the build folder as well. Thank you so much!!!!
Right now I'm struggling with deploying this on Linux RT IC-3120. Do you have any idea what could help? Getting same error as previously on PC.
Tomasz
05-24-2019 06:47 PM
The IC-3120 is running LinuxRT 64. The llb must be compiled for the right target. I added the 3120 to the project and created a build distribution for this target. The build llb is located in the folder builds\RT IC-3120 Target\home\lvuser\natinst\vbai\User VIs
Copy this llb to the target at the following location: \home\lvuser\natinst\vbai\User VIs
This is the default location where VBAI will look for Run LabVIEW llbs on RT.
Point to the VBAI Canny Edge Detection.vi with the Run LabVIEW step and it should now work.
05-25-2019 04:59 AM
Hi Cristophe,
it seems like I was lacking some drivers as the only IC I was able to add to my project was 3110. Thanks to your help right now everything is working fine and I'm able to add custom steps to VBAI. This has opened a whole lot of new possibilities for me and I couldn't thank you enough for that.
Regards,
Tomasz
05-28-2019 08:08 AM
To be able to save a VI for distribution to use with VBAI 2015f3 on the IC, you would need LabVIEW 2015, LabVIEW Real-Time 2015, Vision Development Module and the Industrial Controller Device Drivers.
Try installing the latest Industrial Controller Device Drivers at the following link: