LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
mniedernhuber

One Properies Node (e.g. Enable, Visible etc.) for more than one object, New Properties Node

Status: New

At the moment a properies node can be linked to one object, e.g String, Boolean etc.

to change the properties of that object.But sometimes it would be usefull to have a

new type of properties node (a second beside to the existing one) whre the logic

has inversed.

 

NOW: 1. Propertie Node -> link to ONE object -> select from a lot of properites

 

PROPOSED: 1. Propertie Node B, -> select ONE properties -> link to more than one object

 

Properties Knot.png

5 Comments
dthor
Active Participant

An interesting Idea. I'd like to see what the community has to say about this. How would you choose which objects get linked? Would you be able to use this for things that don't have a front panel object?

SteveChandler
Trusted Enthusiast

You can click on any reference and select which control it is for. I would imagine using the same method of selecting items for this idea. Maybe drag a reference to the node and it swallows it creating a new item.

 

You can build an array of references and wire it to a register for events. It would be nice if you could wire an array of references to a property node. I have not looked to see if an idea for that has been posted but it would be another way of solving the general problem.

 

Right now a cleaner way of setting properties for multiple controls is to use an array of references wired to a for loop.

 

Example_VI_BD.png

 

 

It would be nice if you could do this

 

Example_VI_BD.png

=====================
LabVIEW 2012


elset191
Active Participant

@Steve Chandler wrote:
It would be nice if you could wire an array of references to a property node.

It's been suggested at least twice.  I believe this is the original.

--
Tim Elsey
Certified LabVIEW Architect
mniedernhuber
Member

@Steve

I know that it ist possible to do the same with an arry as shown in your first picture.

But in my current project (> 800 VIs and 20 Subpanel) i have in each subpanel a lot

of indicators on the front panel. Actually i put around 30 references in different global

variables to make that what you proposed in your picture inside a for next loop.

 

But, imagine what a new properties node leed to:

 

It ist NOT necessary to put a lot of references into an array (that took a lot of work space)

Put 15 references info an array and use the automatic clear up function from LV (that makes

the blockdiagramm very big...

mniedernhuber
Member

@dthor

 

(How would you choose which objects get linked?)

 

That is a good point. I propose something like this...

 

Vorschlag1.png