LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

information hiding

Solved!
Go to solution

I have a general question that didn't show up in a search. I'd like to implement information hiding for some of my VI's. LabVIEW seems to do this nicely with refnums.

 

For the drivers I'm writing, I need to keep state. Easily done with Clusters. However, I want to hide the contents of the cluster to the main application so they're forced not to use anything within the Cluster. It will also reduce the visible size considerably for some of the other typedefs and state machines I have.

 

So far, I can convert them to refnums and back but this is a lot of work. is there something simpler?

0 Kudos
Message 1 of 3
(2,732 Views)
Solution
Accepted by jcurl

Hi there

 

have you thougt about LV classes? This is maybe the best way to hide private data for calling applications.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 2 of 3
(2,711 Views)

LVOOP, my thouhgts exactly.

 

Ben

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