From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Class inner Cluster different from property

Solved!
Go to solution

Hi 

in my project there is a really big class

Matteo_R_C_0-1620644953491.png

this class manage the data from a usb to serial converter from specific devices, it transfer the raw data into something i can use in the program
the data structure in USB.ctl contain a Cluster

Matteo_R_C_1-1620645096739.png

called cumulative Error

this cluster when used on a property in the program that uses that class has an old configuration

Matteo_R_C_3-1620645624688.png

 

How do I Align them? 

0 Kudos
Message 1 of 3
(828 Views)
Solution
Accepted by topic author Matteo_R_C

the Data Structure  *.ctl is Different from the accessor

https://zone.ni.com/reference/en-XX/help/371361R-01/lvdialog/create_accessor_db/

accessors define the final Name of the property and i expected the name to Update automatically but it does this only on creation of the accessor

after you need to keep the accessor Up to date to have the same name on the property

i guess is the same on other languages that use properties, my Fault 😓

0 Kudos
Message 2 of 3
(756 Views)

and Read should be coherent with Write if not the Class is Broken

0 Kudos
Message 3 of 3
(751 Views)