Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Builder - draw line from global variables

Hello,
 
I've started using the Vision Builder for Automated Inspection program to develop some really small apps.
Now I'm creating a larger application and I want to draw some lines, ... based on some values located inside my global variables.
 
When I select Custom Overlay and Draw Line I can only set to Start and End point to a User-defined value. (so a "constant" value)
I cannot find how I can use a global variable to specifiy the behgin en and point.
 
 
 
Is this because you cannot have points as global variables?
Is there another way (create a LabVIEW VI  that takes some global variables as an input and outputs points) so that I can do what I want?
 
Thanks in advance for all the help!
 
noxus.
0 Kudos
Message 1 of 2
(3,308 Views)
Hi,

> I want to draw some lines, ... based on some values located inside my global variables.
>
> When I select Custom Overlay and Draw Line I can only set to Start and End point to a User-defined value. (so a "constant" value)
> I cannot find how I can use a global variable to specifiy the behgin en and point.
 
You need to define a global variable of type Point (last item in the list).
See attached example.
 
-Christophe
 
0 Kudos
Message 2 of 2
(3,305 Views)