-
Posts
27 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by ESST
-
-
I need to build a tab control with many pages (I won't say how many because someone will surely scold me). I'm too lazy to go through and keep doing "Add page after". Is there another way to do this? I've searched through all the invoke and property nodes. There was an entry at NI for doing this with Labwindows, but that doesn't help.
George
Hi,
You could try downloading the scripting.vit from Labview API Group, then modify the "FP" case to something like this:
Quick and (really) dirty, but seems to work.
This adds "Test1" to "Test5" as the first five pages of the selected Tab controls when the button is pushed (your tab controls parent vi, must be in edit mode). You will need to have scripting installed, due to the TabControl "Add Page" method.
Espen
RUN SUBVI
in LabVIEW General
Posted
Hi,
Do you have this problem when running the code under labview, or only when having compiled the exe?
I had the same problem. Used Open, Control Value Set (variant version), Run VI. Got the same behavior, diagram opened, did not seem to be running. Turns out there was an error in the vi I was opening, it ran once, too fast to notice. When I fixed that, it worked fine, both under Labview and as an Exe. Could it be something like that?
Espen