How to create a separate new arrays for each loop

I have a question about creating new arrays. For example : In my for loop, the initial value is 1 and the final value is 4 and  each iteration increment by 1, meaning that in this case i have 4 iterations. At the same time, i want to create  4 separate arrays called array 1 for first iteration, array 2 for the second iteration and so on, that depends on the number of iteration. Could you give me some advice please?

Hi Darren,
Your suggestion is what I want. However, when i try an example, it doesn't come out with the result that i want. Maybe I did something wrong. Basically, I have a 2D array with some default value in it. So if the number of loops is 2, it suppose to have 2 separate array with the same set of elements. However, I only had one array with growing set of elements. To illustrate, it suppose to be
Array1    Array 2  
| 1 2 |     | 1 2 |                                        |12|
| 3 4 |     | 3 4 |         rather than              |34|
| 5 6 |     | 5 6 |                                         | 56|                
                                                  ​             |12|
                                                  ​             |34|
                                                  ​             |56|
I have attached the file. Could you please show me where the mistake is ?
Attachments:
newarray.vi ‏26 KB

Similar Messages

  • How do I get separate iCloud accounts for each family members device and still share iTunes?

    how do I get separate iCloud's for each family members iPhone, iPod and iPad and still share iTunes?

    Have everyone share the same iTunes store ID, but use separate IDs for iCloud.  The ID you use for iCloud does not have to be the same as the ID you use for the iTunes & App store.

  • How do I set birthday reminders without having to create a separate contact card for each person in a family?

    I'm trying to set birthday reminders in iCal based on the birthday field in Contacts. But in order to create separate birthday entries for individuals in the same family, you have to set up a separate card for each person. Anyway around that?

    Thank you to johnbeardy, Anthony.Ralph and Rob for your replies.  The OP (I guess that's me, Maps Man) has been happy with CS since CS2. I have upgraded etc and used it successfully.  Unfortunately, I have recently up graded my camera as well but CS5 would not read the new RAW files.  My natural inclination was to look at a CS upgrade but Adobe effectively priced me out. It obviously is not interested in amateur hobbyists anymore perhaps because they don't produce enough cash for Adobe.   Even the new "Cheap" offer they are offering is still very pricey as well as being ongoing for life. I looked at a variety of alternatives including Elements, Lightroom and DxO Pro 8.  In the meantime I used a combination of Nikon's ViewNX2 to judge my uploads off camera then Adobe DNG Converter to change them to DNG and back to CS5 for the fun bit.  Rightly or wrongly, I decided that Lightroom was the least objectionable both for cost and user friendliness.  And I do like the results I get using it.  I can now go back to coming straight out of camera, do a substantial amount of edit work and go directly to CS5 for final touches such as size and frame (perhaps Lightroom does that also but I have not yet found how!  Time will tell.)  It is just that I find the first part so annoying.  I do not mind organisations giving us suggestions (e.g. Catalogues) I just find it a nuisance that I cannot say "Thanks, but no thanks it is too complicated for what I want."  As for using it "properly" it is debatable whether Adobe's engineers have done it "properly" if they don't give that choice.  After all, CS5 etc does not need catalogues to work well so why should Lightroom's catalogues be "proper?" 
    Obviously I will be sticking with Lightroom and I will try to find my way round the problem.  I had hoped that there may have been some way to customize it for my needs but there does not seem to be.
    Thank you again for your comments.

  • How to define a separate virtual host for each client in SICF

    Hello,
    We have an ERP system with multiple clients running on it. The WebDynpro ABAP applications once developed are available on all clients, as standard. However, this is not our desired behavior. We want:
    1. The WebDynpro ABAP applications should be managed separately in SICF depending on the client
    2. The URL for accessing the WebDynpro application should have a own host name for each client. e.g.
    A WebDynpro application on client 100 should be accessed by http://host1:5000/sap/bc/... and the same application on client 200 should be accessed by http://host2:5000/sap/bc/...
    After a while researching I find out that creating a virtual host for each client in SICF would be a possible solution to fulfill the above mentioned requirments:
    1. Set the profile parameter is/HTTP/virt_host_* with corresponding host name and port number
    2. Create a new virtual host in SICF assigning the profile paramter to it
    3. Assign a client to this virtual host
    My question is how to specify a client to a virtual host? I didn't find any possibilities in SICF!
    Anyone can help me? Thanks a lot in advance!
    Best Regards
    Di Li

    Hi Srikishan,
    thanks for your reply. Your suggested way is certainly a potential, and also my preferred option for solving the multiple-client-capable URL access to WebDynpro / BSP applications.
    However, for some reasons, based on the customer requirements, the client should not be visible in the URL. The URL for accessing the WebDynpro / BSP applications on different client should have different host name, as if they are different companies. Besides that, we want to manage each WebDynpro / BSP application on different clients in SICF separately.
    Therefore, at least on my opinion, we need to introduce a virtual host for each client in SICF. But how do I make it happen?
    Regards
    Di

  • How to define a separate virtual host for each client in ICF for WebDynpro

    Hi,
    We have an ERP system with multiple clients running on it. The WebDynpro ABAP applications once developed are available on all clients, as standard. However, this is not our desired behavior. We want:
    1. The WebDynpro ABAP applications should be managed separately in SICF depending on the client
    2. The URL for accessing the WebDynpro application should have a own host name for each client. e.g.
    A WebDynpro application on client 100 should be accessed by http://host1:5000/sap/bc/... and the same application on client 200 should be accessed by http://host2:5000/sap/bc/...
    After a while researching I find out that creating a virtual host for each client in SICF would be a possible solution to fulfill the above mentioned requirments:
    1. Set the profile parameter is/HTTP/virt_host_* with corresponding host name and port number
    2. Create a new virtual host in SICF assigning the profile paramter to it
    3. Assign a client to this virtual host
    My question is how to specify a client to a virtual host? I didn't find any possibilities in SICF!
    Anyone can help me? Thanks a lot in advance!
    Best Regards
    Di Li

    Hi Srikishan,
    thanks for your reply. Your suggested way is certainly a potential, and also my preferred option for solving the multiple-client-capable URL access to WebDynpro / BSP applications.
    However, for some reasons, based on the customer requirements, the client should not be visible in the URL. The URL for accessing the WebDynpro / BSP applications on different client should have different host name, as if they are different companies. Besides that, we want to manage each WebDynpro / BSP application on different clients in SICF separately.
    Therefore, at least on my opinion, we need to introduce a virtual host for each client in SICF. But how do I make it happen?
    Regards
    Di

  • How to create a complete new image for Satellite A100 PSAA9E ?

    My Satellite A100 PSAA9E is so incredible slow that I think the only option is to uninstall everything. Mean how can I restore my laptop to its original condition inlc. latest driver units.
    best regards,
    stef

    Hi,
    Before making a new installation you can clean your system using software like TuneUp utilities. it's shareware but you can use it free for a month. It cleans the registry, removes duplicated files, and...
    If you want to restore to it's original condition, use recovery disks or Hdd recovery image (Pressing F8 on startup). If you didn't burn and hdd recovery image gone, you can order from Toshiba for money or get windows copy for installation (all the drivers you can find on Toshiba driver page)
    Greets

  • HT1495 I followed Method 3 to create a separate iTunes library for each device, and now I can't find my original iTunes

    I pressed held down shift when I opened iTunes to follow the method to create separate iTunes libraries, and now I cannot find my original iTunes. I am so frustrated.

    Does the original library file still exist on the computer?  Hopefully when creating the new library it was done in a seperate folder as I do not believe iTunes allows for two library files in the same location.

  • How to create formula based on Sales for each week

    Hi,
    I have a requirement to show Variance in Sales in a separate column. My data in the cube is like this.
    Week         $Sales
    1                  80
    2                 100
    3                 120
    Now I want the report output like this.
    Week      $Sales          Variance
    1              80          
    2             100           1.25 (100 / 80)
    3             120           1.2 (120/100)
    Formula for Variance column for row 2 (Week 2) will be week 2/week1 sales.
    I do not want to use cell editor because this will give fixed rows/columns and also I want to display week in the rows.
    Any help will be greatly appreciated
    Thanks,
    Laxma

    Hi,
    Thank you for your time but probably I misguide you with less data in my example..
    Here is my scenario.
    Data in the cube is stored by week as shown below
    Week         Sales         
    01/2007      45           
    02/2007      65             
    03/2007      55              
    04/2007      80             
    05/2007      95           
    Required output   
    Week        Sales         Build %
    01/2007      45             0
    02/2007      65             1.44
    03/2007      55              0.85
    04/2007      80             1.45
    05/2007      95             1.19
    Formula for Build % = Current Week Sales / Previous Week Sales.
    Example for week 03/2007 (i.e Row 3) build % = 55 / 65 that will give 0.85.
    Any help will be greatly appreciated
    Thanks

  • I have an itunes account.  However, I need to copy music onto a different iPod than my own.  How do I do that?  Do I need to create a separate iTunes account for that iPod?

    I have an itunes account.  However, I need to copy music onto a different iPod than my own.  How do I do that?  Do I need to create a separate iTunes account for that iPod?

    An account means an iTunes Store account which is an online service.  Do you mean that, or do you mean a library on a computer?
    iOS devices can only be synced to one iTunes library at a time.  You can sync that iPod to your account but it will wipe everything currently on it.
    iTunes: Syncing media content to iOS devices and iPod - http://support.apple.com/en-us/HT201253 - detailed example: https://discussions.apple.com/message/18860187#18860187
    If you use manual syncing, you can sync items from more than one iTunes library to your iPod. (You can sync iPod touch, iPhone, and iPad with only one iTunes library.) When manually managing content, you can add content from multiple libraries to your iPod or iPad. Even when manually managing music, some content may be available from only one library at time. This includes all content on iPhone and video content on iPod and iPad. http://support.apple.com/kb/PH12113  and http://support.apple.com/kb/HT1202
    I could post another 2 pages of stuff trying to cover every possible scenario.  It would help if you let us know exactly what you want to do.  Are you trying to sync just a few songs (like giving them to a friend which is something iTunes is deliberately set up not to do)?

  • How do I create a new Folder for each test report based on Serial number?

    I want to be able to create a new folder for each test report based on serial number. Each time a UUT is tested, I want the report to go to the appropriate folder. What is the best way to do this?
    Thanks

    Hello Tman,
    This is a slightly tricky question. The reason being, the report options like the report path etc, are set before you see the serial number prompt when you run your UUT. There might be other ways of getting around this, but a quick solution would be modifying the process model.
    I modified the PreUUT callback to set the report options. I passed the reportOptions as a parameter to this sequence. In the PreUUT sequence, I set the following fields:
    Parameters.ReportOptions.GeneratePath=False
    Parameters.ReportOptions.ReportFilePath= "c:\\"+ Locals.SerialNumber +"\\report.xml"
    I hope this would give you an idea.
    SijinK

  • My family has multiple iOS devices, all with 1 Apple ID. With iCloud coming, should I create separate Apple IDs for each member of my family?

    Hello,
    Between my family, we have 2 iPhones, multiple computers, iPads, and an Apple TV ALL tied in to the same Apple ID (the one I created when I got my first device). With iCloud coming, I wanted to know if I need to create separate Apple IDs for each family member (for emails, contacts, calendars, etc.). For instance, I would like to share certain contacts and a calendar with only my wife, all media between all family members, and have home sharing so that I can play/stream content on my Apple TV. Will there be a way to have multiple and distinct me.com accounts and yet share the same Apple ID?
    Apologies for being verbose — just wanted to give ample info/background.
    Thanks,
    Jay.

    I happened to stop at the Apple store yesterday for a separate issue and had a discussion about iCloud. Seems like this is how iCloud works (also, there's another thread on this forum that explains it well).
    Each member of the family can have their own iCloud ID, which will be used for Mail, Calendar, Contacts, Apps, Bookmarks, Media, Photos, etc. and having this content synced automatically with a Mac (computer). The iCloud IDs work in tandem with the associated Apple ID — so while you cannot have multiple Apple IDs, you can certainly have multiple iCloud IDs tagged with a certain Apple ID.
    While all this makes sense from the iOS device standpoint, I'm unclear on how things will sync with a Mac computer, especially if the family uses a single iMac with multiple login IDs for various members. For instance, I currently have an iMac and iTunes content resides in my Public folder, which my wife can still access when she logs in with her login ID. I'm guessing that I'll be able to set up her iCloud ID using her login, set up my iCloud ID using my login, while both our iMac logins will retain the same Apple ID. This would take care of syncing Photos, Contacts, Calendars, etc.
    Another (not sure if unique) problem I face is our Address Book — right now, we have one GIANT address book with different groups set up. Certain groups sync to her iPhone, while others to mine. Some contacts are common between both of us. I'm hoping that if she/I updates a common contact, then the change will be reflected in both our groups of contacts. I hope this makes sense — for instance, I update a contact named Joe, and he's on my group of contacts in my iPhone. Hope iCloud updates the master contact card for Joe on the iMac, which would then automatically trigger the update on my wife's group of contacts—that Joe also belongs to— leading to an update on her iOS device as well.
    Apologies for the lengthy response..

  • FillBy always fills in the same row in data grid view. How to make it fill in a new row for each click of the Fillby Button? VB 2010 EXPRESS?

    Hi there, 
    I am a beginner in Visual Basic Express 2010. I have a Point of Sale program that uses DataGridView to display records from an external microsoft access
    database using the fillby query. 
    It works, but it repopulates the same row each time, but i want to be able to display multiple records at the same time, a new row should be filled for
    each click of the fillby button. 
    also I want to be able to delete any records if the customer suddenly decides to not buy an item after it has already been entered. 
    so actually 2 questions here: 
    1. how to populate a new row for each click of the fillby button 
    2. how to delete records from data grid view after an item has been entered 
    Thanks 
    Vishwas

    Hello,
    The FillBy method loads data according to what the results are from the SELECT statement, so if there is one row then you get one row in the DataGridView, have two rows then two rows show up.
    Some examples
    Form load populates our dataset with all data as it was defined with a plain SELECT statement. Button1 loads via a query I created after the fact to filter on a column, the next button adds a new row to the existing data. When adding a new row it is appended
    to the current data displayed and the primary key is a negative value but the new key is shown after pressing the save button on the BindingNavigator or there are other ways to get the new key by manually adding the row to the backend table bypassing the Adapter.
    The following article with code shows this but does not address adapters.
    Conceptually speaking the code in the second code block shows how to get the new key
    Public Class Form1
    Private Sub StudentsBindingNavigatorSaveItem_Click(
    sender As Object, e As EventArgs) Handles StudentsBindingNavigatorSaveItem.Click
    Me.Validate()
    Me.StudentsBindingSource.EndEdit()
    Me.TableAdapterManager.UpdateAll(Me.MyDataSet)
    End Sub
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    'TODO: This line of code loads data into the 'MyDataSet.Students' table. You can move, or remove it, as needed.
    Me.StudentsTableAdapter.Fill(Me.MyDataSet.Students)
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Me.StudentsTableAdapter.FillBy(Me.MyDataSet.Students, ComboBox1.Text)
    End Sub
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    Me.MyDataSet.Students.AddStudentsRow("Jane", "Adams", "Female")
    End Sub
    End Class
    Get new key taken from
    this article.
    Public Function AddNewRow(ByVal sender As Customer, ByRef Identfier As Integer) As Boolean
    Dim Success As Boolean = True
    Try
    Using cn As New OleDb.OleDbConnection With {.ConnectionString = Builder.ConnectionString}
    Using cmd As New OleDb.OleDbCommand With {.Connection = cn}
    cmd.CommandText = InsertStatement
    cmd.Parameters.AddWithValue("@CompanyName", sender.CompanyName)
    cmd.Parameters.AddWithValue("@ContactName", sender.ContactName)
    cmd.Parameters.AddWithValue("@ContactTitle", sender.ContactTitle)
    cn.Open()
    cmd.ExecuteNonQuery()
    cmd.CommandText = "Select @@Identity"
    Identfier = CInt(cmd.ExecuteScalar)
    End Using
    End Using
    Catch ex As Exception
    Success = False
    End Try
    Return Success
    End Function
    In closing I have not given you a solution but hopefully given you some stuff/logic to assist with this issue, if not perhaps I missed what you want conceptually speaking.
    Additional resources
    http://msdn.microsoft.com/en-us/library/fxsa23t6.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Create new session for each window opening

    From a jsp page i open a page called student.jsp by clicking on students admision no.Therefore lots of pages can be opend in new windows with relevent student details.
    but when i click on the link i called a servlet, get relevent details and redirect to student.jsp. The problem is ,all opened windows have same session id and there are session conflicts.
    How can i create new sessions for each page thru the servlet or is there any other alternatives

    I actually was working on a problem that was similar to this, and the problem is with how each web-browser works with sessions...
    Each browser window (Except in one case with IE) will use the same session in each window.
    However, you might be able to use URL-Rewritting to manage your sessions and get around using cookies for for session tracking. I personally haven't tried this, but I'm betting that it will work.
    Best of Luck,
    Nate

  • How to create backup file on itunes for ipod touch 4g game apps data? Is there a way to do it? I want to try an app on my friend's computer, but you can't add apps on another computer without having your own ipod's data being deleted. Thx for any help!

    How to create backup file on itunes for ipod touch 4g game apps data? Is there a way to do it? I want to try an app on my friend's computer, but you can't add apps on another computer without having your own ipod's data being deleted. Thx for any help!
    I want to know how to create a backup file (because I'm pretty new with itunes, and it's hard to use it for me still), how to store my app data/media/videos, etc. And how I can retrieve them back when I'm done with the app I tried on my friend's computer.
    If anyone can help, it'd be great! Thank you so much!

    Sure-glad to help you. You will not lose any data by changing synching to MacBook Pro from imac. You have set up Time Machine, right? that's how you'd do your backup, so I was told, and how I do my backup on my mac.  You should be able to set a password for it. Save it.  Your stuff should be saved there. So if you want to make your MacBook Pro your primary computer,  I suppose,  back up your stuff with Time machine, turn off Time machine on the iMac, turn it on on the new MacBook Pro, select the hard drive in your Time Capsule, enter your password, and do a backup from there. It might work, and it might take a while, but it should go. As for clogging the hard drive, I can't say. Depends how much stuff you have, and the hard drive's capacity.  As for moving syncing from your iMac to your macbook pro, should be the same. Your phone uses iTunes to sync and so that data should be in the cloud. You can move your iTunes Library to your new Macbook pro
    you should be able to sync your phone on your new MacBook Pro. Don't know if you can move the older backups yet-maybe try someone else, anyways,
    This handy article from Apple explains how
    How to move your iTunes library to a new computer - Apple Support''
    don't forget to de-authorize your iMac if you don't want to play purchased stuff there
    and re-authorize your new macBook Pro
    time machine is an application, and should be found in the Applications folder. it is built in to OS X, so there is nothing else to buy. double click on it, get it going, choose the Hard drive in your Time capsule/Airport as your backup Time Machine  and go for it.  You should see a circle with an arrow on the top right hand of your screen (the Desktop), next to the bluetooth icon, and just after the wifi and eject key (looks sorta like a clock face). This will do automatic backups  of your stuff.

  • How to create an user input variable for customer exit variable? - BW3.5

    Hi Guru,
    I have a requirement for the selection period of my reports. There are 3 possible reporting periods which should be user selectable:
    1. Month: Current reporting month
    2. Fiscal Year to Date
    3. Project Year to Date
    Here I need 2 variable to do these, 1 customer exit and 1 user input variable. I have created a variable customer exit to calculate all these requirement. But can any1 tell on how to create the user input variable for my customer exit? I need a user input variable with drop down list like below.
    01-Current month
    02- Fiscal Year to Date
    03-Project Year to Date
    I have create a new master data for this variable, but it's not working. What I need now is a standalone master data which do not need to link to any exiting records. Can any1 tell me how to create this?

    Just go to the definition of the variable for which you have created a customer exit. There you will find a check box for "Ready for Input". Just tick that checkbox and the variable will be available as a selection variable in the reports selection screen.
    Regards,
    Yogesh

Maybe you are looking for