Jump to content

[Discuss] Controls to Variant

Recommended Posts


File Name: Controls to Variant

File Submitter: LAVA 1.0 Content

File Submitted: 02 Jul 2009

File Category: LabVIEW IDE

LabVIEW Version: 7.0

File Version: 1.0.0

License Type: Creative Commons Attribution 3.0

Potentially make this file available on the VI Package Network?: Undecided

Copyright © 2007, ERIC BOBILLIER

All rights reserved.




--see readme file for contact information


This Vi creat a initialise variant controls from selected controls.

You creat a array of variant if there is more one controls selected.

You have the choice between array of variant or array of cluster (Name and Variant Data).

If you paste it in front panel it's control, and if in diagram it's constant.

If you select "Not array If lonely" a single control is convert in variant

(array with one value inother case).

This tools run with Vis and Globals

If you Hold Alt Key down during running , the selected controls are convert

in Variant array (or cluster array) directely in source Vi.

This option run with Vi only.

How use this tool:

First :select control (s) in a Vi

Second : Select kind of variant control you want creat.

Third : Run this Vi (with or without alt Key down)

Fourth: Paste control in you destination Vi.(if Alt Key unused)

Test on Labview 7.0 and XP

Change Log:

1.0.0: Initial release of the code.

Click here to download this file

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.