Michael Aivaliotis Posted February 4, 2004 Report Share Posted February 4, 2004 I accidentaly discovered how to reveal the subpanel terminal. This terminal is usually hidden from view. Only certain methods and properties are allowed on it. Place a subpanel frame inside a tab control. Right-click on the subpanel frame and replace it with a sub-panel. Goto the digram. You will see a black terminal which is the subpanel. Another spooky thing is that if you then drag the front panel (subPanel) outside the tab control then you have lost it. It dissapears from the front panel but the diagram terminal remains... Quote Link to comment
Michael Aivaliotis Posted February 4, 2004 Author Report Share Posted February 4, 2004 oops, I just discovered something else... . You can't delete the subpanel control either! . Thank god for undo. Quote Link to comment
Jim Kring Posted February 4, 2004 Report Share Posted February 4, 2004 :thumbup: Cool detective work. It sounds like you found a bug (not a feature). Actually, the SubPanel must have a terminal since it inherits from the control GObj. NI is just being sneaky and hiding it. This reminds me of how you could get RufNum constants onto the block diagram (pre-7.0) by adding them to a cluster typedef that had and instance already on a BD. Yup, that crashed LabVIEW a lot... Quote Link to comment
Norm Kirchner Posted February 4, 2004 Report Share Posted February 4, 2004 After ftuzing around with the sub panel for a while too, looks like there are lots of things that can go wrong if you try. Does this warrant a CAR though? Quote Link to comment
Jim Kring Posted February 4, 2004 Report Share Posted February 4, 2004 Try it with a Cluster instead of Tab Control: Put a SubPanel in a cluster and replace the SubPanel with another SubPanel. Then, delete the Cluster, and the SubPanel terminal will remain on the BD. Now, press the RUN button to crash LabVIEW... Yup, Norm, I think a CAR is in order. Michael, if you are in the current LabVIEW beta program, maybe you want to submit this, so that it'll be fixed in the next release. Quote Link to comment
regisphilbin Posted February 13, 2004 Report Share Posted February 13, 2004 is there any useful functionality of this BD control? Quote Link to comment
Jim Kring Posted February 14, 2004 Report Share Posted February 14, 2004 is there any useful functionality of this BD control? Impressing your friends :gathering: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.