07-14-2016 10:37 AM
In vision assistant, we have the option of manually setting the coordinate system (the origin and the angle) while creating a template. I could not find a similar option in lab view (Learn template vi doesn't have the option of setting coordinate system). Any help will be appreciated.
Solved! Go to Solution.
07-14-2016 11:06 AM
07-14-2016 12:28 PM
Hi..Thanks for the reply. I did use ROI to extract template. However I have no idea on how to set coordinate reference system to learn the template image. I can't find any such option in labview
07-14-2016 01:01 PM
07-15-2016 03:02 PM
In your start menu, go to all programs -> National Instruments -> Vision -> Utilities.
The template editor is in that folder. You should be able to create your template and then use it in LabVIEW similar to what you were experiencing with the Vision Assistant (I'm assuming you were using the standalone assistant?)
07-15-2016 03:22 PM
Thanks for the reply. I found the template editor under vision utilities and it is exactly what I want. However I wanted to do that in labview itself (without having to leave it). That's why I wasn't using vision assistant. Nevertheless, I manually created the option of setting coordinate reference system in labview and the problem is now solved.
07-18-2016 01:25 PM
The typical use case for templates requires the template to be built during edit time. I'm not sure why it's not integrated into LabVIEW (even if just in the tools menu). It sounds like you're set and you can move forward.
In case you were curious, you CAN modify your application to allow users to create a template during runtime. Check out this KB: http://digital.ni.com/public.nsf/allkb/8E19CA81874FFDD786256BE40066C151
With this, you can call applications using the command prompt. It lets you create an application that will call the Template Editor using the command prompt so your user can modify the template. It takes a bit more work and isn't quite as common as creating the template during edit time. But, it's a tool you may want for another day.