LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
TapSch

Use "In Place Element Structure" for VIs for Data Member Access (lvclass)

Status: New

To achieve better performance and efficiency, the “In Place Element Structure” should be used instead of the “Bundle by Name” method for “VIs for Data Member Access” (specifically for write VIs). The "Mark as Modifier" option should also be activated.

 

TapioS_4-1740049307134.png

 

TapioS_3-1740049278327.png

If the compiler optimization can do this automatically, I apologize for this post. 

3 Comments
crossrulz
Knight of NI

1. I'm pretty certain the compiler makes those two equivalent.

 

2. I think you are misunderstanding the point of the Idea Exchange. The reason for the Idea Exchange is to tell NI features/changes we want to see in the LabVIEW IDE.


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
TapSch
Member

1. Ok than I apologize for this post. 

2. If you work with lvclass you are able to build this VI for Data Member Access automatically. So I think it is a feature/change for LabVIEW IDE.

wiebe@CARYA
Knight of NI

The IPE is only potentially more efficient if you actually read, modify and write (clusters, array elements, variant attributes, etc).

 

If you only write the value, the IPE is not going to be more efficient.

 

The hole point of the IPE is that the read value is modified, in place, to avoid a copy.