Hi Alexander,

Well now that you have seen all of the normal answers to this Q, let
me bring up another.

Warning! This is not for the faint of heart!

Please see this thread for an exchange Jean-Pierre (I would have given
him 5 stars if this was an answer) and I had about two years ago.

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500000005000000AF5E0000&HTHREAD=000024239000024248&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

In this exchange he suggests a technique that makes virtual controls a
reality. This approach requires quite a bit of work to make it happen
but it does work.

I have used variations on this technique ever since and my customers
cannot tell the diffence between my virtual controls and LV native
controls. I should say the is one big short comming with this
approach, that being, the controls look so much like normal LV
controls that you find yourself double-clicking on them!).

The technique is based on the fact that you can use an "invoke Node"
to get the image of a control. This image can then be inserted into a
picture control where ever it is needed. You then use events from the
picture control to figure out which virtual device was clicked and
then direct your execution as indicated.

I have also extended this idea a bit. Once a virtaul control has been
clicked, the "prototype" of the control can be made visable and
positioned over its image in the picture control and key focus
assigned. The use then can play with the native LV control as they
expect. When done changing the control, the prototype is again hidden
and the new value is used to update the picture control.

Summarizing:
Yes it is possible to have an unlimited number of controls in LV,
But,
It is not a native functionality and you have to do alot of work to
make it happen!

And finally let me quote someone "Be careful what you ask for, you
just might get it!"

It is truly amazing what you can do with LV if you really want!

Ben


<a
href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner</a>
<a href="
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638";>
Certified LabVIEW Developer </a>
www.DSAutomation.com

Reply via email to