ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
Is there a way that when clicking on a sub vi on my block diagram I get the sub vis block diagram instead of its front panel?
Thanks
已解决! 转到解答。
I assume you mean when you are in "Development mode" and creating (or modifying) LabVIEW code on the Block Diagram. Clicking on a sub-VI on your block diagram is equivalent to clicking on it in LabVIEW Project or in Windows Explorer -- it opens the sub-VI in LabVIEW, which opens the Front Panel. I don't think you can change this (but am willing to be proven wrong) -- I think this is the intended, designed-in, and logical behavior. It only takes a Ctrl-E to get to the Block Diagram ...
Bob Schor
Yeah, I get that its a logical step that the front panel is displayed then press ctrl-e to get to the block diagram, but when Im going down a few levels of sub vis my monitors get really cluttered. I'd prefer it was the other way, I press ctrl-e to see the front pannel.
Thanks though
You can "declutter" monitors by minimizing (the little "-" sign in the upper right corner of the Window) the Front Panels you don't want to see. But you are correct -- the screen can get "filled with VI parts" making it difficult to navigate. One thing you can try is the Find feature (Ctrl-F) -- if you have, say, 20 VIs in memory and they are all on the Screen, and you want to see where your "Open Acquisition" is called, just Find "Open Acquisition". [Hmm -- this might only find where Open Acquisition is called, not the VI itself, but you can also quickly find it by clicking on the LabVIEW Icon on the Task Bar which brings up an organized list of all the LabVIEW Windows that are currently open -- just click the one to which you want to jump).
Bob Schor
@pathare535 wrote:Is there a way that when clicking on a sub vi on my block diagram I get the sub vis block diagram instead of its front panel?
You can Ctrl+Double Click on the subVI and the block diagram will open up. However, the front panel will also be opened.
@crossrulz wrote:
@pathare535 wrote:Is there a way that when clicking on a sub vi on my block diagram I get the sub vis block diagram instead of its front panel?
You can Ctrl+Double Click on the subVI and the block diagram will open up. However, the front panel will also be opened.
See? You always learn "something new" on the LabVIEW Forums!
Bob Schor
@Bob_Schor wrote:I assume you mean when you are in "Development mode" and creating (or modifying) LabVIEW code on the Block Diagram. Clicking on a sub-VI on your block diagram is equivalent to clicking on it in LabVIEW Project or in Windows Explorer -- it opens the sub-VI in LabVIEW, which opens the Front Panel. I don't think you can change this (but am willing to be proven wrong) -- I think this is the intended, designed-in, and logical behavior. It only takes a Ctrl-E to get to the Block Diagram ...
Bob Schor
Use Ctrl+Double Click on SubVI