08-28-2006 03:54 PM
08-28-2006 05:00 PM
08-29-2006 10:54 AM
08-29-2006 12:14 PM
CC,
You are trully amazing! You're an encyclopedia of knowledge.
I didn't think you could actually change the properties of decorations. And you proved me wrong.
Hope you had a good vacation and it's good to see you back!
RayR
03-01-2013 09:48 AM
Good day,
I haven't been able to learn how this program works!
Can you please help me to find out how to call those funcitons and how to assign them to specific decorations? Where do i find docuemntation for that?
Thanks a lot.
03-01-2013 10:09 AM
On the diagram page of the example, click on the "Help" selection on the tool bar and make sure that "Show Context Help" is enabled. Now hovering your mouse over the components will show help for them. If you click on the help window's "Detailed Help" it will provide more information on these functions. They are located on the "Application Control" tool panel. You can copy, or drag and drop them from the example to where you want to use them as well. The first one, "VI" provides a "reference" the green wire, for the vi's panel, the second one "Pnl", provides an array of references to all the "decorations" on the front panel, which in this case is only the triangle. It gets more interesting if there are other decorations.

08-03-2019 12:30 PM
Hello ,
I have around three decorations that has to be modified programmatically, but all I could do with above method is change only one all the time.
How to modify decorations if there are multiple instances.
Regards,
ravi
08-03-2019 01:29 PM - edited 08-03-2019 01:34 PM
Index out other references from the array. Build the references you want into its own array and feed that to a For Loop.
The trickiest part of the whole thing is knowing which references in that array pertain to which decoration. The references are in order by the z-order of the decorations.

Note: After I tested the snippet and cleaned it up, I added the two labels. Well they also happen to be decorations and the fell within the first two of the z-order causing them to be affected. So this snippet may not work exactly until the z-orders are rearranged or you pick the correct references out of the array.
But this will give you the idea of how to solve your question.
08-04-2019 05:39 AM
Hi,
That was a quick reply.
Let me give more information about my requirement.
I have a front panel with both horizontal and vertical splitters. And I have decorations on multiple panes. Every time the decoration in first pane only used to change irrespective of changing the index of the array after property->decos[].
I have used panes property first and then decos[] which helped me to change decorations in that particular pane. I have attached how I implemented the solution and also overview of my front panel.
Panes numbering I have given is obtained by trial and error.
I didn't exactly followed your reply, but my problem is resolved.
Thanks,
Ravi
08-04-2019 04:43 PM
You can give Panes labels. Then when you get the Pane References you can search by label. It should make it easier to search then by trial and error.
Search through the label array to find the pane you want.
mcduff