LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inserting a vi to another vi

Solved!
Go to solution

I'd like to insert the 'power spectrum averaging' vi into the 'simulated signals' vi. What I want to accomplish is that I want to get the power spectrum of the two combined simulated signals. I don't know where to start and and not sure how to wire it. Could someone give me any ideas or comments?

 

The snippets of the two file are attached.

 

 

Thanks.

 

Download All
0 Kudos
Message 1 of 7
(18,222 Views)
Solution
Accepted by topic author tronne

You can use the Power Spectrum Averaging VI as a "subVI".

When you are in the block diagram of your Simulated Signals VI, click "select a VI" and you can insert the Power Spectrum VI.

Cory K
0 Kudos
Message 2 of 7
(18,194 Views)

Hi Cory...

 

I opened the block diagram but couldn't find 'select a vi' in the menus...could you tell me where it is located? thanks again

 

Also, I actually have tried this...on the block diagram of the 'power spectrum averaging' VI, I selected all that contains in it, then I go to EDIT>Create SubVI...but then it will say that some of the functions in the VI will not work once it is turned into a SubVI.

 

If I were able to insert the 'power spectrum averaging' VI, how do I exactly wire it..from where to where...

 

thanks for your help

0 Kudos
Message 3 of 7
(18,177 Views)

I think you would be best served by searching this site for tutorials on using LabVIEW (ther are many posts just search).

 

What you are asking is covered in the tutorials. If you still need help then post back for the more advanced Q's.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 7
(18,173 Views)

 


@tronne wrote:

Hi Cory...

 

I opened the block diagram but couldn't find 'select a vi' in the menus...could you tell me where it is located? thanks again

 

Also, I actually have tried this...on the block diagram of the 'power spectrum averaging' VI, I selected all that contains in it, then I go to EDIT>Create SubVI...but then it will say that some of the functions in the VI will not work once it is turned into a SubVI.

 

If I were able to insert the 'power spectrum averaging' VI, how do I exactly wire it..from where to where...

 

thanks for your help


 

Its not in the menus at the top of the window.

Right click somewhere in your block diagram, this will cause your Tool Palette to popup.

At the bottom of this Palette, there will be the 'Select A VI' option.

Cory K
Message 5 of 7
(18,152 Views)

 

Hi Cory,

 

I got it...thanks so much for answering my 'dumb' questions...you're a true NI helper.. 🙂

0 Kudos
Message 6 of 7
(18,145 Views)

Personally i usually open the other vi and drag'n'drop it's icon or drag it from an explorer window ...

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 7 of 7
(18,123 Views)