LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Ray.R

write or read property node preference set in option

Status: Declined

Any idea that has received less than 7 kudos within 7 years after posting will be automatically declined.

When placing a property node on the block diagram, it is often set to read.  I find myself having to right click on the property node and select "Change to Write". 

 

It would be great if there was an option where the user could select their preference when the property node is placed on the block diagram.  This would provide a more efficient way of pre-setting all the property nodes to Write or Read based on useage.

 

I checked and did not see a similar idea.

 

 

8 Comments
Ray.R
Knight of NI

crossrulz
Knight of NI

One caveat I can quickly think of:  any property that is read only should still be set to read by default.

Still need to give this one some thought.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Ray.R
Knight of NI

Of course..  You would not want to overwrite that.  🙂

I am looking at an option for convenience, not for added functionality.

Darin.K
Trusted Enthusiast

Write by default = broken code due to required input.  Read by default = good to go.  Not that I care that much, just saying.

 

I would also not mind two Right-click menus (Property Node (Read), Property Node (Write)).

 

Why should I even have to tell LV read or write?  Just put two terminals on there, if I wire to the input clearly I want to write, if I wire to the output clearly I want to read.  Even nicer, if I wire to both I can pass through (write then read).  Unwired connections are simply ignored.

SteenSchmidt
Trusted Enthusiast

@Darin.K: That is a seriously good idea; both write and read terminals on all property nodes (only a single terminal on the read-only and write-only properties of course). Will you post this as a separate idea, or do you want me to do it? When having both terminals wired we must suggest an order the read and write will occur in. I suggest this order to be read-then-write, as the other way around would just return your written value which you might as well could have taken from the wire.

 

Cheers,

Steen

CLA, CTA, CLED & LabVIEW Champion
Darin.K
Trusted Enthusiast

New idea posted here:

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Allow-Wiring-to-Determine-Property-Node-Read-Write/idi...

 

I slightly advocate for write then read, mostly because that is my initial reaction when I see it and I am happy when things work like I expect them to unless there is a very good reason not to....

Ray.R
Knight of NI

I'm glad this idea expanded into an even better one.  🙂

Time to Kudo the other idea.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 7 kudos within 7 years after posting will be automatically declined.