How to set the input and output of a subVI
I am trying to configure a subVI by following Chap. 7 of "LabVIEW fundamentals". But I stuck at "Building the connector pane".
My subvi is quite simple, just for testing purpose. I plan to do a summation and display the result. So I placed one numeric Add icon on the block diagram and a numeric Indicator on the front panel. I built a connector pane with three terminals, two for input and one for output.
But, how could I associate the terminals on connector pane with inputs and outputs of terminals on the block diagram? I wanna build a subVI, whose input are two numbers and display the summation on the subVI.
Forrest Sheng Bao, Ph.D.
Assistant Professor, Dept. of Electrical & Computer Engineering
University of Akron, Akron, OH, USA
https://sites.google.com/site/forrestbao/
Hi Forrest Bao,
use the right mouse key as often as you can in LabVIEW. It´s very helpful. If you right click on a link in the connector pane, then you can select to disconnect selected or all.
Mike
Message Edited by MikeS81 on 08-28-2008 01:33 PM
Similar Messages
-
How to change the input and output schema in BPEL process
hi',
Please tell me how to change the input and output schema in BPEL process after the process is made.
thanks
YatanIf your intention is just changing the content you are passing to bpel/returning from bpel
Here is another way
just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
Regards,
Praveen -
How to view the input and output layouts created in the planning folder?
Hi all,
How to view the input and output layouts created in the planning folder in the bw 3.5?
Thanks
PoojaHi,
You can refer to this link. How to create planning folder and executing the planning folder.
http://help.sap.com/saphelp_nw04/Helpdata/EN/5d/7c4b52691011d4b2f00050dadfb23f/frameset.htm
Hope this helps -
How to control (the input and output) EXE file after I call it using exec?
Hi,
I knew that I can use runtime.exec() to call one EXE file, and this works. But this EXE has two characteristics:
1. After this exe starts, it asks user to input number such as 1 or 2 onto computer screen, then press return. Then the exe will start the calculation.
2. after it starts calculation, it prints 3 columns of numbers onto the screen.
My two questions are:
1. How to use java to input the number such as 1 or 2 automatically? this EXE can not work like this in DOS command line:
C:> file.exe parameter
The parameter is the number such as 1 or 2 that I wanna input.
2. how to redirect the 3 columns of numbers from computer screen to txt file?
My colleague can solve these two questions using Mathematica. So I know that definitely there is at least one solution for it. I just can not do it using Java. This wierd exe file bothered me a lot and I really wish that I can get help from someone in java community.
Thank you!
TonyWhen you call Runtime.exec, you get a Process object. (I presume something similar happens when you use ProcessBuilder.) Process has methods with names getOutput, getInput, and getError. These correspond to the standard input, standard output, and standard error streams of the spawned process.
You can read and write to the process on the streams corresponding to input and output that the process writes to the console.
[add]
In fact, you should be grabbing and reading the output/error streams anyway, because of the points raised by the Traps article. Google "Java Runtime exec traps" and you'll probably get a link to this JavaWorld article, which describes common Runtime.exec problems and how to solve them.
Edited by: paulcw on Jun 15, 2010 4:09 PM -
How to get the sine wave sample of the input and output in the same time?
I discovered that the samples were acquired did not in the same time in my vi.Could you tell me how to get the sine wave sample of the input and output in the same time?
Output:9263;
Input:9201
Attachments:
singal requency.vi 104 KBHello Yun_Zhu,
Your VI looks like you started from an example, and you are on the right track.
To clarify are you trying to synchronize the input and the output waveforms? If you you will need to share a time base and a start trigger. Check out the synchronization examples from LabVIEW
Anthony F.
Product Marketing Engineer
National Instruments
Attachments:
HIODAQmxSyncMultiDev.png 70 KB -
When you set up tracks what is best to pick for the input and output?
When you set up tracks what is best to pick for the input and output? also what is the buss output? Thanks
First part of the question I don't understand, so could you elaborate please?
Second part: bus output is used for submixes, for example, let's say you want the same EQ to be applied to all guitars in the song, so instead of using same EQ plug-in on all guitar tracks, you feed the output from these tracks to a bus track and use the effect just once on this bus submix. -
How to set the gain and input coupling for each channel on a NI 4462 DaQ card?
I've seen a few examples in how to set the gain for NI 4462, but none tell me how to chose the channel I wish to set this gain. Also the same problem with input coupling
Does anyone know how to set the gain and input coupling for each individual channel?
Thanks,
Hector
LabView 8.5 Windows XPHey Hector,
http://forums.ni.com/ni/board/message?board.id=100&thread.id=1688
This has a few examples of how to do that. Let me know if you have further questions.
Have fun!
-gaving -
How can I make Apple Earphones be the Input and Output for Audio
I have some older headphones and they aren't compatible with a Mid 2010 (Intel Core i3) 21.5 Inch iMac
Is there some way to make Apple Earphones be the Input and Output for Audio in the iMac
This is a problem for me personally as when I am talking to someone on Skype the iMac picks up the In-built Microphone audio, and yes the headphones I'm using do work straight from the iMac as audio output
Any help is appreciatedyou can connect the headset to something like this
http://www.ebay.com/itm/NEW-MaelineA-3-5mm-Female-to-2-Male-Gold-Plated-Headphon e-Mic-Audio-Y-Splitter-/381100440348
and then connect the mic to the input and the headset to the headset port -
How to set the IP and MAC address in C program?
My working environment is Sun250 Server, Solaris 7 operating system. I encountered a problem ---- How to set the IP and MAC address in C program to make the system change it IP & MAC at runtime?
Any idea is welcome! Thanks!Hi
As a simplest possible solution, you can use the system command
to run ifconfig that can set both the mac address and the IP address of the system. You will have to use setuid though.
Or you can use the DLPI calls ( do a man DLPI or search for a
Sun documentation on the same at http://soldc.sun.com) to write
a pure C program.
HTH
Shridhar -
How to set the WIDTH and ALIGN of h:column in h:dataTable ??
How to set the WIDTH and ALIGN of <h:column> in <h:dataTable>??
Thanks a lot!Hi,thanks to your reply.
Now I find a more convenient appraoch to set column's width and align respectively:
<h:dataTable ...>
<h:column>
<f:facet name='header'>
</f:facet>
<h:outputText style="width:80px; text-align: right;" value='#{row.fieldA}'/>
</h:column>
<h:column>
<f:facet name='header'>
</f:facet>
<h:outputText style="width:120px; text-align: left;" value='#{row.fieldB}'/>
</h:column>
</h:dataTable>
It works fine.
^-^ -
How to set the router and play the Command & Conquer using direct IP mode?
My router is WRT54GFirmware Version: v3.03.1
How to set the router and play the Command & Conquer using direct IP mode with other computer?Hi, when you say direct IP mode, what do you mean ? do you wanna play the game online or on the LAN ??
can you give a few more details. -
How to set the Mail and Fax options for the Smartforms ???
How to set the Mail and Fax options for the Smartforms ??? Please reply me very soon. Its a life deciding question now for me. Please .
>
veera Karthik wrote:
> How to set the Mail and Fax options for the Smartforms ??? Please reply me very soon. Its a life deciding question now for me. Please .
Hi
Check this Link:
http://help.sap.com/saphelp_nw04/helpdata/en/a5/28d3b9d26211d4b646006094192fe3/frameset.htm
P.S: Never say reply me soon....people answer you here voluntarily and as everyone has their own desk to manage...sp replies may late or early..depending upon the availabality of the members.
Vishwa. -
How to set the AppleTV to output PCM DIGITAL via toslink
how do you set the AppleTV to output PCM DIGITAL via toslink - my amp can only recieve PCM audio via toslink cable
I am having the same problem. I bought an optical-analog convertor from Amazon (SANOXY) and had Onkyo try to help me set it up. No luck. I am going to try a Monoprice version. I was able to output audio through my DirectTV box to the Zone 2 speakers, so that isn't the problem. I was able to hear the music from my iMac through the AppleTV/Onkyo receiver on the 5.1 side but was unable to output it through Zone 2 to the speakers.
Very frustrating!!!! -
Please help me :How to set the width and height for my View page "test.htm"
Hi,
I have controller class. When i call the view[test.htm]from this controller class ,i am getting the view with output tableview..it is fine.
My requirement:
the output view window is showing full browser window. I want the view output like showModeldialog. I want to set the width and height for the output view window. How is possible?
or
i want to call the test.view in the window.showModelDialog..
Please help me .. Urgent requirement.Yes you can set the width & Height of the view as follows..
<div style="width:580px; height:750px; margin-top:15px; overflow:auto;">
<htmb:form......>
</htmlb:form>
</div>
<i>*Reward each useful answer</i>
Raja T -
When exporting, the footage in the Input and output monitor is not showing up.
I use Premiere Pro CS4.
When I export my project and I choose the formats and options, they all work fine and it will export fine, but my footage does not show up in the input or output source montior.
Thanks for your timeSee:
* [https://bugzilla.mozilla.org/show_bug.cgi?id=547004 Bug 547004] – Implement <input type="color">
''(please do not comment in bug reports; you can vote instead)''
* https://developer.mozilla.org/en/HTML/element/input
Maybe you are looking for
-
Hi all, I have used TOM's query for my DBF downloading create or replace package body dbase_pkg as -- Might have to change depending on platform!!! -- Controls the byte order of binary integers read in -- from the dbase file BIG_ENDIAN constant
-
Anyone that works for Apple, please read this
I have a brilliant suggestion and didn't know where to post it but here it is. I work at a pharmacy. The program we are currently using is called PDX Pharmacy. I'll be honest with you, it *****. It takes a million steps to complete one simple task. M
-
why has my landscape orientation feature quit working. Display does not rotate when device is rotated.
-
Hi Guys I am new to SQL Tuning and i wanna know what exactly are the tables involved in finding the explain plan of sql's and what all the views that needs to be queried to find the explain lan of a query. Kindly help me . Thanks Ram
-
Hi, We are using oracle financials 1.we need to know the base tables for the following modules Cash management Account payables Account Receivables General Ledger Purchase 2.We need to know the API's used in these modules. Waiting for ur valuable rep