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: 

LabVIEW Real-time: class private data accessors as property nodes

Solved!
Go to solution

Dear NI community,

 

let me, please, ask you a dummy question - do class accessors work on real-time system via property nodes? I except that they should, b/c it's not property node to the control, it's property node for private class data access, but anyway... Or they do not work with RT system?

 

Thank you very much in advance,

 

Sincerely, kosist90.

0 Kudos
Message 1 of 2
(2,198 Views)
Solution
Accepted by topic author kosist90

I use classes on RT. I use accessors to access data within those classes. I am pretty sure I can use property nodes to access the data, as long as I configured the accessor correctly when I created it (there is a check box to enable property nodes in the create accessor dialog).

 

To be honest though, I tend to use the accessor vi's instead. I think they look pretty neat. Plus, it is rare that I need to access multiple class data at the same moment in a block diagram (which property nodes allow).

CLA - Kudos is how we show our appreciation for comments that helped us!
Message 2 of 2
(2,192 Views)