How to call same vi for 4 times in a single vi?

Hi.. I ve one vi named 1D array Mult. I need to call this vi four times in another vi program. The problem i ve experienced is all the four vi outputs are same.
 My question is: How to call the same vi for many number of times?
Thanks in advance
Solved!
Go to Solution.

There is no problem (programmatically) with calling the same VI by placing it 4 times onto the block diagram.  You do not have to rename them VI1, VI2, VIn if they all do the same thing, as you have done here with 1D-arrayMult...  It's just messy.
You may need to make re-entrant in certain cases.
A better way to do it would of course be to use a For loop as shown (I left what you did in tact).
Are the two formula nodes identical?  I didn't check.  If so, use a for loop there too.  Build your A and B matrices to a 3D array and auto-index in For loop - single instance of your formula node.
It is quite concerning what you have done in your 1-D Array VI.  I have no idea what it is supposed to be doing, but it appears to be nothing; it is completely wrong.
There are backwards wires, your While loop does nothing (there is not shift-register) - how will it Stop?!, your cases 0, 1 and 2 are all the same!  Timer of 1000ms??! hmm..
If you are trying to multiply two matrices (arrays) together then just use the native LV function to do it and to add them at the end try this:
Hope this helps you!
Message Edited by battler. on 03-12-2010 03:49 AM

Similar Messages

  • Can two macs use same disk for Time Machine backup with Airport Extreme?

    Hi
    I use a Western Digital disk as a wireless Time Machine backup connected to the USB port on my Airport Extreme and it works great. My question is: can my girlfriend use that same disk for Time Machine backup from HER computer too? (I don't mind formatting the disk if needed.)
    If she can't, is it then possible to connect a USB hub and have two disks hooked up to the Airport Extreme?
    Thanks for helping. I am constantly in awe of all the help people like you give people like me. Thanks!!!
    Jakob

    I've gone through the manual setup and the assisted setup and can't seem to get my MacBook to use the Time Machine. Any thoughts or help would be greatly appreciated.
    Well, as the Jolly Giant points out....+this type of configuration is not supported by Apple+, so it's difficult, if not impossible, to provide a fix for something that Apple says that you cannot do. Reference these Apple Support documents regarding this topic:
    http://support.apple.com/kb/HT2038
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/15139.html
    Your situation is not unlike other users who try this and find that one computer may backup...(usually for a limited time before corruption issues start to creep in)...but another computer cannot backup. Count me as one of those users who thought that because things seemed to work that I had somehow "beat the system".
    I started getting the corruption error messages after 4-5 weeks of successful backups, so I figured that it did not make sense to continue to try to get a second computer to backup (yes, I too could not setup a second Mac to backup).
    Sorry, I could not get a second machine to backup, so can't tell you how to accomplish that goal. If you want to continue to try backing up this way, you might want to also think about a second backup strategy...just in case backups become corrupted on the WD drive.
    Maybe if Apple says you cannot do this, they just may be right?
    Message was edited by: Bob Timmons

  • How to use same actions for differ pop-up

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi,
    Take one integer value attribute in the context of view
    when you r performing action on POP1 set it's value to 1
    when you r performing action on POP2 set it's value to 2
    create one method which receives integer argument, say diaplay(int a)
    In the action call display(wdContext.currentContextElement().get<intvariable>()) by passing the value in the context attribute
    in display() method, Check the value of integer variable..
    if it is 1 then perform action related to POP1
    if it is 2 then perform action related to POP2
    Regards
    LakshmiNarayana

  • How to call hr_location_api.create_location for different address style with only those fields that belongs specific to  that address style.

    How to call hr_location_api.create_location for different address style with only those fields that belongs specific to  that address style. It should decide at run time means at run time it will come to know the type of address style and based on that only the fields which belong to address details mapped to calling hr_location_api.create_location.
    Thanks in advance.

    You can create a wrapper package on top of the API (hr_location_api.create_location)
    In the wrapper package you set all the values dynamically based on your requirements(say the style and add_line columns are populated on your conditions) and then you call the API.
    Does that not work ?

  • How to use same actions for differ pop-up buttons

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi ,
    u can use the method SUBSCRIBE_TO_BUTTON_EVENT of the IF_WD_WINDOW interface ... to handle the event fired by the popup .....used this method after creating the popup window ...
    regards
    Yash

  • Need a  code / How  to  call outstanding notification for a loggined user !!

    hi all ,
    Need a  code / How  to  call outstanding notification for a loggined user !!
    i need to create a service  such then when the user logins in he should see the outstanding service..

    Hello Prashanth,
    1) Goto QMEL table read OBJNR of the notification.
    2) Pass the notification number and the language to the function module "STATUS_TEXT_EDIT".
        in the return parameter read the parameter LINE, based on the first four characters you can find out       the status of the notification.
    OSNO - Outstanding notification
    NOPR - Notification in process
    NOCO - Notification completed
    Regards,
    TP

  • New External Drive how do I set it for Time Machine?

    I just bought a new 250g firewire to back up my hard drive - I formatted it and it's ok and all but I want to use it to back up my entire hard drive.
    I thought I was supposed to make a Disk Image?? but browsing these forums it seems I was supposed to designate it for Time Machine? I didn't know that. Can I still do that? If so what do I do? and how do I do it?
    also what is disk image? I thought that was supposed to be the back up feature -
    and if anyone else knows and I'm allowed more questions - I really wanted to install Final Cut Studio Pro on the external drive because apparently it ***** up disk space like a --- -well you know ----- - but it says it has to be on my regular drive - does that mean I have to uninstall some programs? can I set other software to work off the external or am I going to have the same problem?
    I'm so ******!! I bought the 120 g drive thinking it was enough to run programs off of and use the other for data storage - apparently not!
    I'm about 10 gigs short right now and that doesn't even count leaving something for extra space.
    I'm in a time crunch too - ok who isn't I know - but really - I'm on vaca now and was supposed to be working on my projects but instead am babysitting this freakin' computer and am really getting ******!!
    so anyone that can jump in here and help please do so. I appreciate it very much am used to windows machines am new to mac in case that wasn't already blatantly apparent!

    No disc image is required. Prepare the drive as follows:
    Extended Hard Drive Preparation
    1. Open Disk Utility in your Utilities folder. If you need to reformat your startup volume, then you must boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger or Leopard.)
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Click on the Options button, set the partition scheme to GUID (only required for Intel Macs) then click on the OK button. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Connect the drive to a Firewire port. Open Time Machine preferences and select the drive as the TM backup drive and turn on TM.
    If you use the external drive for backups you should not use it for installing applications or storing other files. It should be used as a dedicated backup drive. If you need additional storage space get another external drive.
    See Disk Image for discussion of what a disc image is.
    Visit The XLab FAQs and read the FAQ on Backup and Restore.
    Hopefully the next vacation you go on you will prepare for more thoroughly in advance. And, don't swear at the computer - it's a machine and only does what you tell it to do. If you need to swear at something look in the mirror!

  • How to use same form for Editing info and creating info.

    Hi all,
    Here my aim is to select the user from list and edit the user info. There is one more option to create the new user.
    Currently I am using two separate input forms one for Editing and one more creating new user.
    Can anyone tel me, how to use the same form for both editing and creating.
    Thanks,
    Ramesh Biradar

    Hi Ramesh,
    I'll make some assumptions about how you're going about this, and then give you a possible solution:
    I assume that you have a table with selection on one page. To edit an item, you wish to select it's radio button and click an edit button to take you to another page with the item filled in to edit it. To create a new item, you'd like to click a "new" button and go to the same page.
    If this is correct, here's the basic steps:
    1). Assuming you have both the list and edit pages already created, make sure you have a JSF navigation case defined going from the list page to the edit page. I'll call this navigation case "goToEditPage" for this discussion.
    2). To make the edit button, drag a command button from the component palette and drop it on the af:TableSelectOne (the column in your table containing the radio buttons for selection).
    3). Set the action property on this command button to "goToEditPage".
    4). Now, to make the create button, drag a command button from the component palette somewhere on the page. I like to put mine in a panelButtonBar inside the actions facet of an af:Page component.
    5). Now, for the Action property of this command button, bind it to a method in your page's backing bean. The code will look something like this:
    public String performNew()
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("Create");
        Object result = operationBinding.execute();
        if (!operationBinding.getErrors().isEmpty())
          return null;
        return "goToEditPage";
    }Hope this is helpful, Ramesh.
    Regards,
    John

  • How much should I partition for Time Machine/Backup?

    Hi all,
    I upgraded my PB G4 HD to a 160GB recently and have just purchased a 1TB External HD. How much should I partition in the external to be used for Time Machine backup purposes of my internal HD? Will the same size suffice, or should I allocate more?
    Also, I was thinking of formatting the drive so that it's both Windows and OS X friendly, but that means formatting it to MS-DOS something (I was just reading about it in another thread), will that cause any issues for the partition for Time Machine that I created? Thanks.

    Also, I was thinking of formatting the drive so that it's both Windows and OS X friendly, but that means formatting it to MS-DOS something (I was just reading about it in another thread), will that cause any issues for the partition for Time Machine that I created? Thanks.
    That's not practical. If you want to use the hard drive on a Windows machin while still being useful for Time Machine you should use MacDrive.
    I upgraded my PB G4 HD to a 160GB recently and have just purchased a 1TB External HD. How much should I partition in the external to be used for Time Machine backup purposes of my internal HD? Will the same size suffice, or should I allocate more?
    I would make the partition at least twice the size of the internal drive. Preferably, you would want 50 GB for a Leopard install that includes just the base operating system so you can boot off the 50 GB to recover your Time Machine data if your Leopard installer disc ever becomes unusable.
    Also since you have a Powerbook, your 1 TB hard drive should be Firewire. USB will not boot Powerbooks. If it is USB only, you can remove the external hard drive case and replace it with one compatible with the drive inside that case from http://www.macsales.com/ that has Firewire.

  • How to Call a procedure for UI5 application ?

    Hello experts,
    What are the possible ways to call a procedure from a UI5 application?
    I am trying to call the procedure created in the blog from a ui5 application. I had an idea of calling a procedure from view and generating odata services from views, but this being a read write procedure , not exactly sure if this would work .
    Looking forward for your opinions on this .
    Regards
    Virinchy

    Virinchi,
    Go through the below posts. You can get the source code of how to do it.
    How to call HANA store procedure with table variables in xsjs?
    JSDoc: Class: Connection
    Sreehari

  • How large should a disk for time machine be vs the hard disk

    Can anyone tell me how large a disk for time machine be vs the size of the hard disk?

    I usually say 2x or more but your milage may vary on that based on how much your hard drive is actually used, what sort of data (how large the files are) you typically handle and how far back you want your TM backup to go.

  • Calling same form multiple times

    Hi, i need to call a single form with different table names as parameters depending on conditions.
    for eg here is the approach
    if flag1_is_set
      call form1 multiple times with table1, table2....... as parameters
    "and i can avoid this
    "  form 1 using table 1
    "  form 1 using table 2
    "  form 1 using table 3
    "  form 1 using table 4
    "  form 1 using table 5
    elseif
      flag2_is_set
        form 1 using table 2
    elseif
      flag3_is_set
       form 1 using table 3.
    but i cannot call forms like this. can someone suggest
    an equivalent implementation on how to do this.
    if i dont implement in the above mentioned approach i have to code the same thing with minor changes multiple times
    thanks.
    your help would be appreciated.
    kranthi.

    You might try passing a field symbol (itab) in the tables.
    And assign the filed symbol with your itab as per the condition.
    Check if the program below gives you any idea.
    REPORT  Z_RAM_DYN_TAB_IN_FORM.
    PARAMETERS : P_TAB1 TYPE C.
    DATA: lt_users2 type standard table of usr02.
    DATA: lt_users1 type standard table of usr01.
    FIELD-SYMBOLS: <fs_itab> type standard table.
    SELECT * into table lt_users1 FROM usr01.
    SELECT * into table lt_users2 FROM usr02.
    IF P_TAB1 eq 'X'.
       ASSIGN lt_users1 to <fs_itab>.
    ELSE.
       ASSIGN lt_users2 to <fs_itab>.
    ENDIF.
    PERFORM test_form TABLES <fs_itab>.
    FORM test_form TABLES x_itab .
    FIELD-SYMBOLS: <fs_wa> type any.
    FIELD-SYMBOLS: <fs_field> type any.
      LOOP AT x_itab ASSIGNING <fs_wa>.
        DO 5 times.     "Write first 5 fields of itabs.
          ASSIGN COMPONENT sy-index OF STRUCTURE <fs_wa> to <fs_field>.
          WRITE :  <fs_field>.
        ENDDO.
        WRITE :/.
      ENDLOOP.
    Thanks,
    Ram
    Message was edited by: Ram Manohar Tiwari

  • How to call BADI Triggering Multiple Times

    Hi ,
        I got one requirement of Duplicate check for that i implemeted one BADI  in that i called Duplicat check function Module also so when i entered first, last and email id it is giving the message as Data is saved. when i entered the same data is entered it gives the message as Account is Duplicate and it wont save at that time when i modified the data then it wants to save that means it wants to call the duplicate check badi once again but thing is it wont save again it is giving the message as duplicate so for each change the badi wants to trigger agin and again but it wont so how can i do this one pls tell me which badi is suitable
    Regards
    Ravi

    I think you can do it by using the same BADI. you can just create a static data to keep the first, last and email id. If the first, last and email id are the same skip the duplication check.
    for examples:
      Method badi.........
        STATICS static_name TYPE name VALUE 10.
        IF static_name is initial.
          static_name = im_name.
          perform duplicate_check.....
        ELSE.
          if static_name ne im_name.
            perform duplicate_check.....
          endif.
        ENDIF.
      Endmethod
    Cheers,
    Chaiphon

  • How to call the function 5 times

    hi
    i have a function 'a'  with array 1x2, 1x3, 1x4...
    every step its 1x2 > answer
    1x3 > answer..
    ans so on
    if answer correct i call my function 'a' again.
    how i can call my function 'a' just 3 times?
    thank you.

    Hello!
    Well, it depends on some factors, like:
    1) Function 'a' itself checks if the answer is correct?
    2) Which event calls function 'a'?
    ... and so on.
    Please, if you could detail your problem and maybe post some code, it will be easier for us to understand it and help you :-).
    Message was edited by: rah02

  • How to call same form by different performs as below?

    Hi,
    i want to use a Form get_data by calling Perform get_data twice with two different internal tables as below
    perform get_data    tables   it_upload
                                using    tab_name
                                changing it_material. 
    it_material has structure as below
    types : begin of ty_material,
                 serno  type sy-tabix,
                 matnr1 type mara-matnr,
                 matnr2 type mara-matnr,
                 matnr3 type mara-matnr,
                end of ty_material.
    perform get_data    tables   it_upload
                                using    tab_name
                                changing it_location.
    it_location has structure as below
    types : begin of ty_location,
                site1  type mard-werks,
                site2  type mard-werks,
                sloc1  type mard-lgort,
                sloc2  type mard-lgort,
              end of ty_location.
    now how to declare Form Get_data
    can anyone suggest me how to declare Form Get_data

    FORM parameters are normally strongly typed, so if you want to pass different tables in different calls to the same PERFORM, you need to use two internal table parameters in the FORM interface like below
    FORM foo  USING /CHANGING itab1 TYPE <table type1>
                              itab2 TYPE <table type2>
    ENDFORM
    Otherwise you need to use TYPE STANDARD TABLE, in which case you can use a single parameter for both the internal tables but you will also need to FIELD-SYMBOLS, and there should be some indication for you to ASSIGN the field symbol to what internal table type that may come at runtime. This will be a overkill, without much use, when you can achieve what you want by simply using two parameters.

Maybe you are looking for

  • 2.98GB .m4v File won't import into iMove 11?

    I ripped a family movie off a DVD converted from a VHS tape, using Handbrake into an .m4v file and have tried twice now to import it into iMovie 11 without success.  Is there some kind of limit that would make this fail?  It starts building a .mov fi

  • Custom F4 in ALV List

    Hi, I am working on REUSE_ALV_LIST_DISPLAY FM. I want to have a Custom F4 Editable field in the ALV. I am able to get a standard F4 help, that is by making use of ref_fieldname and ref_tabname  in the field catalog. I need help in achieving Custom F4

  • Sending spreadsheets

    I have posted this under another topic but thought this might be a more suitable place. I have been sending spreadsheets on a regular basis for months via e-mail attachments with no problem. Now I cannot get the spreadsheets into an e-mail either by

  • Help with Graphics on bootcamp and Windows 7...

    So, i installed windows 7 home premium 64bit via bootcamp on my mac.  I'm playing RIFT, and honestly, on medium graphics I'm getting poor fps (14 at best) and over all the graphics seem lower quality than I feel they should.  My question is, is it po

  • IMessage is not working, whatsApp won't notify unless app is open

    iMessage won't work, trying to send, but in the end says Failed whatsApp won't notify you about incoming messages, and won't receive them, unless application itself is open. CAN'T UPDATE TO iOS6. PUSH NOTIFICATIONS NOT WORKING Message was edited by: