LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

controlling 3 VIs from 1 front panel

Hi, I need to be able to use 3 different vi's at the same time from one screen. I'm new to Labveiw and i don't know whether or not to use them as subVIs or something else. They don't really interact with each other, I simply need to control them from one screen. Thanks
0 Kudos
Message 1 of 7
(3,336 Views)
Look at the examples for subpanels.

André
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 7
(3,334 Views)
When you say "use 3 different vi's at the same time" what do you mean? Do you need to see indicators or change controls or just know that they are running? Tell us about your application and someone can probably recommend a good solution or several different ways of accomplishing your goals.

Lynn
0 Kudos
Message 3 of 7
(3,322 Views)
I'm picking up a project near the end of completion. It will be used to run and monitor a multimeter and a source meter (these are already combined into one VI), an oscilloscope, and a power supply programmer. The employee previous to me has already completed the VIs to control the individual units using and adapting the given instrument drivers. My job now is to assble them into one unit interface. Some but not all of the controls and indicators from each program will be needed for the final product. Is there an available tutorial or help section that addresses this usage of sub VIs?
0 Kudos
Message 4 of 7
(3,304 Views)
My recommendation would be to configure the VIs as subVIs and pass the front panel controls and indicators as terminals of the subVI.  Then you can add front panel items for all three subVIs on the main VI front panel and organize everything as you like.  Many of the examples shipped with LabVIEW do this, you can double-click on most subVIs and see the front panel indicators and controls of that VI.

If you search the 'Index' of the LabVIEW Help for 'subVIs, building' you will find a pretty nice how-to for creating a subVI.  Have a great weekend!

-Bob
0 Kudos
Message 5 of 7
(3,286 Views)
during a recent test of my system I created 2 binary files that recorded data. one was magnetic field v. time and the other voltage v. time. I need to combine them to show Bfield and voltage both as a function of time. I've tried to find a layering tool and a 3D graph creater but they both want arrays...
0 Kudos
Message 6 of 7
(3,191 Views)

Hi labrat101,

From what I understand, you want to combine data from two binary files to display versus time in a single 2D graph.  The type of graph and its configuration will depend largely on how you save the data to the binary file originally. If your data uses the same timing, then you can bundle the two sets of data together and pass it to a normal XY Graph, or you can eliminate the timing from one set of data, then build a new array to be passed to a Waveform Graph. I recommend checking out the shipping examples Waveform Graph.vi and XY Graph.vi which can be found in the Example Finder when browsing by Task to Fundamentals » Graphs and Charts. These examples show the different ways you can pass data to a Waveform or XY Graph.

Ryan D.
District Sales Manager for Boston & Northern New England
National Instruments
0 Kudos
Message 7 of 7
(3,137 Views)