Overview
This is a simple implementation of LabVIEW subpanel structure. This demo shows how to run different VIs in a single app.
Description
Each VI is executed in another thread; each VI runs independently at a time, data can be shared between VIs after each execution, a shared file is very helpful in case of multiple VIs shares multiple set of data. After each run the next VI read and write data while performs a task, so this process will be repeated by each VI in the subpanel after a call.
For each individual VI running into a subpanel structure you can share data using shared files. I have used shared files with awesome results, other techniques like shared variables could work, but noticed in some cases prone to race conditions.
Steps to Implement or Execute Code
Requirements
Software
Download LabVIEW 2014
Hardware
Windows Compatible Computer
Additional Images or Video
Figure 1. shows the main program or mainframe
Figure 2. shows the Block Diagram
Have Fun!
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
can u upload in 2012 as well .. Thanks
pl try lv12
Please convert all subVIs to 12.0 .
does it build by labview 2012?
Can you please upload it for LabView 2011?
Can I using subpanel controls into subpunelcontrols? I mean multiply Inteface structers more complex, and I'm not sure is the good solution.
patty23 wrote:
Can I using subpanel controls into subpunelcontrols? I mean multiply Inteface structers more complex, and I'm not sure is the good solution.
I have put subpanels on VIs that I load into subpanels. It does become interesting explaining how that works and it only really worked well due to the object oriented design I had for the instrument control I was doing.