05-02-2009 12:55 PM
I`m using an IMAQ Edge find tool. There is ROI descriptor connected to the IMAQ Edge find tool. I need one value in the ROI descriptor to be variable. How can I do it? First idea: build your own ROI descriptor from basics. I tried it but still getting error:
The type of the source is 1-D array of
cluster of 2 elements.
The type of the sink is typedef 'ROI Descriptor'
cluster of 2 elements.
For better understanding about the issue one shall look at attached screenshot.
Do you know how to set a typedef to a cluster? Or do you any other ideas how to solve mentioned issue?
Thank you a lot!
Solved! Go to Solution.
05-02-2009 01:49 PM
Hi xombox@se...,
use the "bundle by name" function and connect your values. Use the constant as input to the "bundle by name" function.
Mike
05-03-2009 08:52 AM - edited 05-03-2009 08:56 AM
Mike, thank you for pointing me to the right direction. It worked!
I attached solution screenshot for the others with similar problem.
Just a small question: is it possible to put all this set ROI to one element (I measn this ROI being represented only by one icon) so that my labview code is more well-arranged and readable?
Martin
05-04-2009 01:12 AM
Hi Martin,
you can create a subvi.
Mike