02-13-2008 09:11 AM
02-14-2008
01:48 PM
- last edited on
04-27-2025
10:18 PM
by
Content Cleaner
Hi jmb22,
Do you think you can post a screenshot of your block diagram? I am having a hard time understanding what you are trying to do. A subvi is not a special kind of vi. You can call any vi as a functional block in another vi's diagram. If the vi you are going to call has inputs/outputs, you have to define its connector pattern (right click on front panel icon) to be able to wire data to/from it in the main vi's diagram. Note that you will still be able to run the vi separately, which is a good feature for debugging. You can then just drag and drop the vi from file explorer to the main vi's diagram, or use "Select a VI..." from the functions palette. The main vi will not inherit the called vi's front panel: each specific vi describes specific processes using specific front panel terminals. Some configuration options (right click on front panel icon) in a subvi, such as the "Show Front Panel When Called" option, should be set carefully. There is such great information about this in the LabVIEW help about creating sub-VIs. I hope this helps!
Carla
02-14-2008 03:38 PM
02-15-2008
05:02 PM
- last edited on
04-27-2025
10:18 PM
by
Content Cleaner