LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Iterate Over class object controls

Solved!
Go to solution

I don't think you can use the Oven class, you'll need to use the Oven.ctl, then it should work.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 14
(1,302 Views)

Hmm ... it should've worked ... what's missing?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 12 of 14
(1,301 Views)
Solution
Accepted by AdamZeroK

There might be some smarter solution, but this works. 🙂

GetObjectItemsClass.png

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 13 of 14
(1,298 Views)

Very nice.  Only downside is it won't work without an update if the number of elements of the object change, which is a nice feature of the original code.

 

As an aside, assuming I don't use a class, combining what you originally posted with the stuff in this other thread allows me to work on an arbitrary cluster without the control[] reference array:

 

lv_cluster_norefs.png

 

Thanks!

Message 14 of 14
(1,281 Views)