LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get name and type of data in an object?

Solved!
Go to solution

Yes you are right...

 

(I am confused about this by-value / by-reference stuff!)

0 Kudos
Message 11 of 15
(1,667 Views)

out of interest, how does the labview "context help" get this information? (This box that appears on the screen and tells you about the vi, or wire the mouse is hanging over.)

 

Thanks,

Paul.

0 Kudos
Message 12 of 15
(1,663 Views)
It displays the content of the "Description" property (may be HTML)
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 13 of 15
(1,660 Views)

chrisger wrote:


The class wire is simply a reference to the classes instance.


That's not entirely accurate, since the data on the wire points to a single instance of that class (i.e. if you split a wire, you get a new instance), so a more accurate description would be that the wire *is* an instance.

 

To be honest, that description isn't accurate either, since you can split a wire in a single instance (e.g. when you do an unbundle and a bundle on the same wire), but it's generally true.

 

As for the context help window, you should note that the whole hiding issue is entirely an IDE thing. The only reason you can't see the class data in VIs outside the class is that NI wrote it that way. When they did that, they also wrote it so that the CH window will be able to see the class data.

 

Incidentally, the control is probably saved in the lvclass file and you might be able to extract it from there for analysis.

 

P.S. Why do you actually want to do this?


___________________
Try to take over the world!
0 Kudos
Message 14 of 15
(1,635 Views)
Solution
Accepted by topic author labJunky

You can also use the VIs attached here, which demonstrate how to get a reference to the VI holding the private data control. You can then use the method already shown here to get the control values.


___________________
Try to take over the world!
Message 15 of 15
(1,629 Views)