LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

indexing data into a class wire

OK, I give up. Smiley Mad

 

I'm trying to learn OOP in LabVIEW and I want to auto-populate the contents of the 00147 array of three elements into the first three parts of the class cluster to the right of it in this snippet. What's the easy way to do that? Or am I trying to make this class do too much? I tried using the array to cluster tool and LabVIEW crashed and burned most horribly.

 

Tay

0 Kudos
Message 1 of 3
(2,729 Views)

 

The data of a a Class is protected and can only be accessed by members of the class or its children. So you either have to make that VI a member of the class OR you should right accessor VI for that class that can be used by your code.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(2,720 Views)

Well, It was the insertion of the array into the wire I had trouble with. Here's what I did, in the upper right.

 

 

0 Kudos
Message 3 of 3
(2,691 Views)