LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to extend controls

I'd like to midify or extend controls.
 
For example:
I want a XY-Graph, that shows the coordinates of the mouse in two indicators below the graph.
 
So I have to get the coordinates via the MouseMove - event and to transforme them into the coordinates of the xy-graph.
This is no problem so far...
 
But if I want to use this modified XY-graph in other LV-projects, I have to copy this big circuit with all its functions and wires.
I would prefer to assign a small symbol to this modified XY-graph. So I could use this modification as easy as it would be in the case of a normal xy-graph.
 
The problem I describe is a bit similar to the sub-VIs, but I want to combine several functions AND controls to one symbol.
 
Is this possible?
If not: How do you reuse already built VIs? Do you always copy/paste these big circuits?
0 Kudos
Message 1 of 2
(2,235 Views)
hello thomas,

it sounds, that a X-Control might be useful in the application you describe.
take a look at this article:
Creating New Front Panel Objects with LabVIEW XControls

with X-Controls you can add functionality to a control and use it in different projects.

i hope this helps,
kind regards,

robert h
NI germany
0 Kudos
Message 2 of 2
(2,220 Views)