How do i merge these two VI's--PLZ HELP

HI,
     I am fairly new to Labview.I created two separate VI's.How can i merge them?In my Arc_Project vi i have a tank 3 where sample is collected.After 5 mins the loop will stop and the sample collected from tank 3 will be drained out to Interim Storage.
In the second Vi-Spatial Logic.vi all the five tanks drain the sample to Interim Storage too.How do i add the volume drained from VI 1 and V1 2.
Plz help.Thank you for your time..
Attachments:
Arc_Project_20070915_2_Final.vi ‏140 KB
Spatial Logic_2_Final.vi ‏223 KB

Ahh, you guys are all blessed with gigantic monitors! Look at that front panel!!!
To answer your question, SubVIs is the way to go.
While you're at it, you should clear up some misconceptions you seem to have about "local variables". A local variable just points to the same front panel object, so reading an indicator via a local variable and then immediately writing that value back to the same indicator is useless. Nothing will change! What you labeled "Main loop" servers no purpose. Keep the terminals of the indicators and delete the rest! Same with the chart loop!
You do way too many duplicate operations. For example you multiply five different wires with 0.1, using 5 diagram constants of 0.1. One would be enough! If you would multiply the headwater-tailwater difference with 0.1, you would do all in one operation and could eliminate all these other 0.1 multiplications. same result!
See here for details:
http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=4201#M4201
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Hi, when I upload music into itunes from a cd it sometimes appears in itunes as two different albums and split up the music in 2 or even three albums....how can i merge these albums...this is particularly true when one album may have different composers?

    Hi, when I upload music into itunes from a cd it sometimes appears in itunes as two different albums and split up the music in 2 or even three albums....how can i merge these albums...this is particularly true when one album may have different composers?

    Generally setting a common Album title and Album Artist will fix things.
    For compilations that aren't, select all tracks, Get Info, and on the option tab set Part of a Compilation to No. If it already says No tick the box alongside, then click OK.
    For deeper problems see Grouping tracks into albums.
    tt2

  • Hi. I have (stupidly) managed to create two iCloud accounts.... How can I merge these?

    Hi guys.. Can anyone help me merge these two accounts or take sensible steps to get rid of one account.. So that I can see all my music from one account?

    You cannot merge Appleaccounts. Delete the one you do not wish to use from the device.

  • I have 2 apple IDs from which I've bought different aps.  How do I merge these?

    By mistake I've made two different apple IDs and bought aps from both of them.  How do I merge these into one ID so i can use them all with my iphone?  Thanks!

    You cannot merge them.  Sorry.
    Authorize your computer for both accounts.

  • HT204150 After upgrading to Windows 8, in my Outlook 2007 Contacts I now have "Contacts in iCloud" and "Contacts from iCloud".   How can I merge the two into one Contacts list.

    After upgrading to Windows, in my Outlook 2007 Contacts I now have "Contacts in iCloud"  plus "Contacts from iCloud".  How can I merge the two to avoid duplication.

    Hi Ingo 2711,
    Thank you for your suggestion.  I backup on itunes. I went to itunes, deleted syncing my contacts, then re-synced them. But the Facetime capability option continues to be there on most (not all, for some curious reason) of my contacts. I am not sure I posed my question correctly.  I want to be able to FT with my family, so don't want to delete the FT capability totally from my iphone and ipad. But I don't want all these other iphone calls from various contacts to ring on my ipad as FT calls.  I want a way to select with whom I have FT capabilities. Any further suggestions? Thanks much, trekpal

  • HT4847 I have an iphone and ipad, how do I merge the two icloud space together

    I have an iphone and ipad, how do I merge the two icloud space together

    Your iCloud account has 5GB space for email, for calendar and contacts syncing, for iWork documents and for iOS backups - all these live on the sever. Both devices access the account; the 5GB space they make use of is the same and is on the server. It's not a case of two spaces, one for each device.

  • TS3988 how can i merge my two icloud accounts information

    How can I merge my two iCloud accounts information

    Apple doesn't provide a direct merge operation but you can connect in one account, disconnect but keep the data on the device, then connect with the other account and merge the data.
    Details...
    When connected to the account you want to GET data from, Go to Settings>iCloud and turn all data that is syncing with iCloud (contacts, calendars, etc.) to Off. 
    When prompted choose to keep the data on the iPhone. 
    After everything is turned off, scroll to the bottom and tap Delete Account.  Next, log into the other iCloud account using a different Apple ID and turn iCloud data syncing for contacts, etc. back to On.  When prompted, choose Merge.  This will upload the data to this new account.
    Note that this only affects the "Apple data" like contacts, calendars, reminders, etc.  Many third party apps also use iCloud to store data files there.  These files may be lost in the process, unless the apps also keep the data locally on the device.
    NOTE:  Photos in the first account's photo stream (if you use it) will not transfer to the other account.  It is advised that you save the photos to a computer before performing the account switch. 

  • I created one iTunes account on one pc and another iTunes account on my current pc. How do I merge the two accounts?

    I created one iTunes account on one pc and another iTunes account on my current pc. How do I merge the two accounts?

    Csound1 wrote:
    iMatch works by matching or uploading the music in your iTunes account, it doesn't matter where the music came from as long as it now in your account, but if you purchased it with a different account you will need to be logged in
    No.
    As long as you computer is authorized for that iTunes account, the songs will work with iTunes Match. The user does not need to be logged in on that computer.
    Husband's computer and husband's iTunes account signed in.
    Songs from wife's iTunes account on computer and computer authorized for wife's account. Songs from both will work with iTunes Match.

  • HT5621 When I got my new iPhone and was trying to switch everything over I accidentally set up a new icloud account with one email and had one on my old iphone with another account. Does anyone know how I can merge the two accounts?

    When I got my new iPhone and was trying to switch everything over I accidentally set up a new icloud account with one email and had one on my old iphone with another account. Does anyone know how I can merge the two accounts?

    You cannot merge Apple IDs but you can go to Settings > iCloud and 'Delete Account'.  When prompted to turn off documents and data, choose the only option which is Delete from my iPhone, but on the other prompt for Contacts, Calendars, etc you can choose 'Keep on my iPhone'  Then once the Account is Deleted form the iPhone, log back in with the correct Apple ID and choose Merge when prompted.  This will merge your data from this iPhone with that iCloud account effectively putting your devices on the same account.

  • I have created an iTunes account on my current computer for my daughters ipod touch and tried connecting my ipod nano and it won't sync and says that it is associated with another iTunes library so how do I merge the two libraries?

    I have created an iTunes account on my current computer for my daughters ipod touch and tried connecting my ipod nano and it won't sync and says that it is associated with another iTunes library so how do I merge the two libraries?

    You do not merge libraries.
    iDevices sync to one and only one computer.
    If you want a single library, you manually move the content from one library to another... all content will still be associated with the Apple ID it was acquired with.

  • How can I get these two results in two different columns?

    SELECT COUNT(attr_id)
    FROM pv_attribute
    WHERE port_id = 322;
    SELECT COUNT(attr_id)
    FROM pv_attribute
    WHERE port_id = 323;
    How can I get these two results in two different columns?
    Thanks

    So Jens made a tiny mistake with the column name... shame you couldn't be bothered to research Pivoting so you could have corrected the mistake (possibly it was deliberate *{:-) ) and learnt something.
    with pv_attribute as (select 16123 attr_id, 322 port_id from dual union all
                          select 16123 attr_id, 322 port_id from dual union all
                          select 19223 attr_id, 322 port_id from dual union all
                          select 11193 attr_id, 323 port_id from dual union all
                          select 13163 attr_id, 323 port_id from dual)
    -- end of test data setup
    select sum(decode(port_id, 322, 1, 0)) cnt_322,
           sum(decode(port_id, 323, 1, 0)) cnt_323
    from   pv_attribute
    where  port_id in (322, 323)

  • How can I combine these two DAQ tasks???

    I am using LabVIEW 11, Windows XP, cDAQ-9174 chassis, two NI-9205 modules.
    Please see my code for reference. I am very new so i will accept all suggestions.
    I am acquiring 12 volatage signals in a producer/consumer structure giving me a queue of 1-d array of waveform(dbl). Then I am acquiring 12 voltage signals in another loop giving me 2-d array of waveform(dbl).
    There is an issue creating the channels. How can I combine these two tasks?
    Thanks,
    ~Chris
    Attachments:
    WaveTest_6.2.vi ‏558 KB

    Hello chrisbe723,
    When you say that there is an issue creating the channels, are you getting a specific error message when running your code? Also are you referencing the same set of channels for the two DAQ task you are configuring?
    Paul-B
    Applications Engineer
    National Instruments

  • I've recently purchased an album, but it has not fully download.there is two songs missing. How can I download these two tracks? Please.

    I've recently purchased an album, but it has not fully download.there is two songs missing. How can I download these two tracks? Please.

    iTunes Store > Purchased > Music > Not on this computer.
    tt2

  • How can i merge my two licensee login to one

    how can i merge my two licensee login to one

    Hi DC Books,
    Please contact our chat support: http://helpx.adobe.com/contact.html.
    Regards,
    Romit Sinha

  • HT1338 I connected a HDMI cord to my macbook from my TV and I mirrored it so I can see my macbook on my TV but the sound wont transfer to my TV, How can I do make this happen? PLZ help, Thank you

    I connected a HDMI cord to my macbook from my TV and I mirrored it so I can see my macbook on my TV but the sound wont transfer to my TV, How can I do make this happen? PLZ help, Thank you

    What model and year is your MacBook?  Some older MacBooks don't support Audio out via miniport/HDMI (the display miniport is video only).

Maybe you are looking for

  • How to store the value into variable and access it in RMAN script

    I want to create a variable and dynamically assign a numeric value to it (may get the value may be from SQL )and access the value in RMAN script. Thanks...Raj

  • Snow leopard and 3.2.6 xcode

    To begin Snow leopard is 10.6.8 up to date. Well, as I only been searching up and down the web for a solution to this problem, I have found alot of dead ends and unanswered problems. Xcode 3.2.6 Seems to be the must rare thing in the universe to come

  • DeleteXml() causing xml data format error in database

    Hi, guys,   I'm using the oracle  xml db 11g in my website application. Last week I found that using the deletexml() to delete a node in the xml may cause a terrible problem that the rest data in the database had wrong xml format. I wonder is it a bu

  • SUNW.gds resource creation problem / service startup failure

    We have a vendor provided set of application server start and stop scripts that we are trying to mold into a GDS resource. The scripts must be run as a user not as root. This app takes about 6 minutes to start up and it creates about 400 processes in

  • Why can't I buy in iTunes....???

    hello..... i'm from mexico....... i have a .mac account.......... i have a paypal account....... i log in........ click on review info....... but i can't register a credit card because my billing info is not in the USA....... if i choose paypal......