LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access directly to Cluster on Front Panel inside other control

Solved!
Go to solution

Depends on how you have them arranged.

You can tree down quickly using my method.

Bear in mind that each page of a tab control has a different reference to it.

I bet not all 150 clusters are on the same tab page or just on the FP directly. - and I don't expect you need to update them all the same.

 

Are you trying to update all instances of the same cluster type - if so you might be better to do create initialisation function which gets all the references and allows you to update at runtime a specific one inside an action engine.

You want to think about which bits you want to make parallel, which things you want to make scalable and how fast your code wants to run.

Lots of open references = higher memory, but faster access is you know which is which and you don't need to keep searching for the control.

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 11 of 12
(1,665 Views)

This old nugget of mine shows how to get at the values of FP objects.

 

No scripting required, works in exes and can be a starting point to develop code to get at arbitrary FP controls.

 

It would be hard to get any more obfuscated than that code.

 

But it works, and does not rely on any new fangled gizmos.

 

Ben

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 12 of 12
(1,646 Views)