LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't place splitter reference in class private data control

Solved!
Go to solution

Any reason I can't drag and drop a splitter reference from my block diagram to an open class private data control? Basically I'm ignored when I drop even though I see a "drop" icon after I drag over the control.

0 Kudos
Message 1 of 4
(3,002 Views)

Apparently, it doesn't matter if the control is private data or just a plain control. Dropping the splitter ref into the cluster does nothing.

0 Kudos
Message 2 of 4
(2,988 Views)
Solution
Accepted by topic author BillMe

Well, I think I got smart and just placed a generic Control Refnum in the control cluster, then used the VI Server Class to identify it as a Splitter. Interesting how I could drag and drop references to subpanels and other types but not a splitter.

0 Kudos
Message 3 of 4
(2,969 Views)

@BillMe wrote:

Any reason I can't drag and drop a splitter reference from my block diagram to an open class private data control?


Yes. The same reason you can't drag a subVI or an add node. These all may return the data type you want, but they are not themselves data and so do not represent a data type. To do what you want, you could also right click the reference's output and create a constant or control, which you can then drag into other containers.


___________________
Try to take over the world!
Message 4 of 4
(2,950 Views)