Unable to plot 1-D array with a cluster of 2 elements on an XY graph

I'm Unable to plot a 1-D array with a cluster of 2 elements on an XY graph. The data appears at the input to the graph but nothing is plotted. I'm trying to plot a line connecting each point generated.
Solved!
Go to Solution.
Attachments:
TEST11.vi ‏13 KB

Chuck,
0. Do not post VIs with infinite loops! Change the True constant to a control.  One of the regular participants on these Forums has commented that using the Abort button to stop a VI is like using a tree to stop a car.  It works, but may have undesired consequences!
1. Use a shift register on the For loop also.
2. Inserting into an empty array leaves you with an empty array.  Initialize the array outside the loop to a size greater or equal to the maximum size you will be using.  Then use Replace Array Subest inside the loop.
3. Just make an array of the cluster of points.  No need for the extra cluster.
Lynn
Attachments:
TEST11.2.vi ‏11 KB

Similar Messages

  • How to create an array of a cluster?

    Hello!
    Now we need some help or tip again :-) We have an array of strings coming out from a for-loop. We want to pick this array in peaces and get the string-elements out. These elements we want to get into a cluster together with boolean constant. Of this cluster we then want to create an array. The problem is that we do not know how to overcome the trouble with data-types and for-loopes... *scratching our head...* Anyone? Thank you

    Hello Ex-jobb,
    have a look at my example. I included a second way to build your array of cluster.
    The string generation at the left of the diagram is to simulate your text file reading, it also gives you an array of strings.
    This array is in the upper part converted by using autoindexing of an for-loop. In the lower part I used just an "Index Array" with
    "Build cluster" and "build array".
    Hope this helps,
    GerdW
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    ArrayOfCluster.vi ‏29 KB

  • Trying to replace an array in a cluster

    I have a 1-D array of a type definition with a cluster of 5 elements. One of the elements is an array that I want to replace. Can anyone help me understand how to do that?
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    CMM_Set_SN.vi ‏20 KB

    You're missing a lot of VI's and controls.  So it is difficult to tell exactly what you are doing.
    Are you getting an error?  I see an error due to mismatched datatypes where you are trying to feed an array of strings into an array of U8's.
    You are also going through a song and dance of converting your 1-D array of clusters into a cluster, then later converting that cluster back into an array.
    You need to index out an element of your 1-D array of clusters, replace the cluster element that is a 1-D array of U8's with another 1-D array of U8's using the bundle by name, then use the replace array subset to get that element back into your array.
    Are you sure you really need as complicated of a data structure as your are trying to use?
    Message Edited by Ravens Fan on 03-27-2010 10:27 PM

  • Failed MDADM Array With Ext.4 Partition

    Hi Guys,
    I had a powerfailure and now my MDADM array with Ext4 partition is broken.
    The array has now rebuilt but I still can't mount.
    sudo mdadm -D /dev/md0
    [hodge@hodge-fs ~]$ sudo mdadm -D /dev/md0
    /dev/md0:
    Version : 0.90
    Creation Time : Sun Apr 25 01:39:25 2010
    Raid Level : raid5
    Array Size : 8790815232 (8383.57 GiB 9001.79 GB)
    Used Dev Size : 1465135872 (1397.26 GiB 1500.30 GB)
    Raid Devices : 7
    Total Devices : 7
    Preferred Minor : 0
    Persistence : Superblock is persistent
    Update Time : Sun Aug 8 07:30:06 2010
    State : clean
    Active Devices : 7
    Working Devices : 7
    Failed Devices : 0
    Spare Devices : 0
    Layout : left-symmetric
    Chunk Size : 128K
    UUID : 44a8f730:b9bea6ea:3a28392c:12b22235 (local to host hodge-fs)
    Events : 0.1307880
    Number Major Minor RaidDevice State
    0 8 81 0 active sync /dev/sdf1
    1 8 97 1 active sync /dev/sdg1
    2 8 113 2 active sync /dev/sdh1
    3 8 65 3 active sync /dev/sde1
    4 8 49 4 active sync /dev/sdd1
    5 8 33 5 active sync /dev/sdc1
    6 8 16 6 active sync /dev/sdb
    sudo mount -a
    [hodge@hodge-fs ~]$ sudo mount -a
    mount: wrong fs type, bad option, bad superblock on /dev/md0,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    sudo fsck.ext4 /dev/md0
    [hodge@hodge-fs ~]$ sudo fsck.ext4 /dev/md0
    e2fsck 1.41.12 (17-May-2010)
    fsck.ext4: Group descriptors look bad... trying backup blocks...
    /dev/md0: recovering journal
    fsck.ext4: unable to set superblock flags on /dev/md0
    sudo dumpe2fs /dev/md0 | grep -i superblock
    hodge@hodge-fs ~]$ sudo dumpe2fs /dev/md0 | grep -i superblock
    dumpe2fs 1.41.12 (17-May-2010)
    Primary superblock at 0, Group descriptors at 1-524
    Backup superblock at 32768, Group descriptors at 32769-33292
    Backup superblock at 98304, Group descriptors at 98305-98828
    Backup superblock at 163840, Group descriptors at 163841-164364
    Backup superblock at 229376, Group descriptors at 229377-229900
    Backup superblock at 294912, Group descriptors at 294913-295436
    Backup superblock at 819200, Group descriptors at 819201-819724
    Backup superblock at 884736, Group descriptors at 884737-885260
    Backup superblock at 1605632, Group descriptors at 1605633-1606156
    Backup superblock at 2654208, Group descriptors at 2654209-2654732
    Backup superblock at 4096000, Group descriptors at 4096001-4096524
    Backup superblock at 7962624, Group descriptors at 7962625-7963148
    Backup superblock at 11239424, Group descriptors at 11239425-11239948
    Backup superblock at 20480000, Group descriptors at 20480001-20480524
    Backup superblock at 23887872, Group descriptors at 23887873-23888396
    Backup superblock at 71663616, Group descriptors at 71663617-71664140
    Backup superblock at 78675968, Group descriptors at 78675969-78676492
    Backup superblock at 102400000, Group descriptors at 102400001-102400524
    Backup superblock at 214990848, Group descriptors at 214990849-214991372
    Backup superblock at 512000000, Group descriptors at 512000001-512000524
    Backup superblock at 550731776, Group descriptors at 550731777-550732300
    Backup superblock at 644972544, Group descriptors at 644972545-644973068
    Backup superblock at 1934917632, Group descriptors at 1934917633-1934918156
    sudo e2fsck -b 32768 /dev/md0
    [hodge@hodge-fs ~]$ sudo e2fsck -b 32768 /dev/md0
    e2fsck 1.41.12 (17-May-2010)
    /dev/md0: recovering journal
    e2fsck: unable to set superblock flags on /dev/md0
    sudo dmesg | tail
    [hodge@hodge-fs ~]$ sudo dmesg | tail
    EXT4-fs (md0): ext4_check_descriptors: Checksum for group 0 failed (59837!=29115)
    EXT4-fs (md0): group descriptors corrupted!
    EXT4-fs (md0): ext4_check_descriptors: Checksum for group 0 failed (59837!=29115)
    EXT4-fs (md0): group descriptors corrupted!
    Please Help!

    Give a tip here is somewhat delicate. Perhaps a tip works perfect in some cases and in one case only worsen the situation.
    Have you tried to send an email to linux-ext4 mailing list? There are lots of people involved that may help. http://vger.kernel.org/vger-lists.html#linux-ext4
    I hope that you recover all your information.

  • Unable to edit document using "Edit with Word" option

    Hi All,
    i am having an issue with Office web apps. i am using SharePoint 2013 and Office web apps 2013. all the configurations have been done successfully. but i have a different kind of issue.
    i am able to open documents in browser
    i am able to edit document using " edit with word/excel web" option
    but i am unable to edit document using "edit with word/excel" option
    i have Office 2010 installed on my local machine.
    do we need to have MS office of 2013 version? or is there anything missing from configuration part.
    Please help me.
    Thank You,
    Bhaskar.

    Hi,
    According to your post, my understanding is that you could not use the "edit with word/excel" option.
    I had tested the issue with the Office 2010, the option worked well.
    You don’t need to install the Office 2013 to use this option.
    What did you mean “but i am unable to edit document using "edit with word/excel" option
    Did you mean the option gray out? Did the issue occur in other browsers?
    You can use compatibility mode to check whether it works.
    Open IE->Tools->Compatibility View Settings
    You can also add the site into Trusted sites.
    Open the IE->Internet Options->Security->Sites->add the site into the Websites, then check whether it works.
    What's more, you can also use other browsers to check whether it works, such as Firefox, Chrome.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • On messages i put on my email adress to sign in. then it gives me unable to verify adress. an email with a verification link has been sent to the above email adress. what do i do?

    I am so angry at messages because when i am trying to sign in, they want my email adress. when i put my email adress it says unable to verify adress. an email with a verification link has been sent to the above email adress. I did that like over a billon times and i am so desprate to talk with my friends. please please help this is really troubling me. i even tried to put in my apple id and still didn't work all it said check mail but i delete it. plz plz help

    The message you go says that Apple sent to the email account you used an email to verify your email account. You have to open up that email message and then click on the link inside to complete verifying the email address.

  • Lots of blank space when printing array with only last element printed

    I have a slight problem I have been trying to figure it out for days but can't see where my problem is, its probably staring me in the face but just can't seem to see it.
    I am trying to print out my 2 dimensional array outdie my try block. Inside the trying block I have two for loops in for the arrays. Within the second for loop I have a while to put token from Stringtokeniser into my 2 arrays. When I print my arrays in this while bit it prints fine however when I print outside the try block it only print the last element and lots of blank space before the element.
    Below is the code, hope you guys can see the problem. Thank you in advance
       import java.io.*;
       import java.net.*;
       import java.lang.*;
       import java.util.*;
       import javax.swing.*;
       public class javaflights4
          public static final String MESSAGE_SEPERATOR  = "#";
          public static final String MESSAGE_SEPERATOR1  = "*";
          public static void main(String[] args) throws IOException
             String data = null;
             File file;
             BufferedReader reader = null;
             file = new File("datafile.txt");
             String flights[] [];
                   //String flightdata[];
             flights = new String[21][7];
             int x = 0;
                   //flightdata = new String[7];
             int y = 0;
             try
                reader = new BufferedReader(new FileReader(file));   
                //data = reader.readLine();   
                while((data = reader.readLine())!= null)   
                   data.trim();
                   StringTokenizer tokenised = new StringTokenizer(data, MESSAGE_SEPERATOR1);
                   for(x = 0; x<=flights.length; x++)
                      for(y = 0; y<=flights.length; y++)
                         while(tokenised.hasMoreTokens())
                            //System.out.println(tokenised.nextToken());
                            flights [x] [y] = tokenised.nextToken();
                            //System.out.print("*"+ flights [x] [y]+"&");
                   System.out.println();
                catch(ArrayIndexOutOfBoundsException e1)
                   System.out.println("error at " + e1);
                catch(Exception e)
                finally
                   try
                      reader.close();
                      catch(Exception e)
             int i = 0;
             int j = 0;
             System.out.print(flights [j]);
    //System.out.println();

    A number of problems.
    First, I bet you see a lot of "error at" messages, don't you? You create a 21x7 array, then go through the first array up to 21, going through the second one all the way to 21 as well.
    your second for loop should go to flights[x].length, not flights.length. That will eliminate the need for ArrayIndexOutOfBounds checking, which should have been an indication that you were doing something wrong.
    Second, when you get to flights[0][0] (the very first iteration of the inner loop) you are taking every element from the StringTokenizer and setting flights[0][0] to each, thereby overwriting the previous one. There will be nothing in the StringTokenizer left for any of the other (21x7)-1=146 array elements. At the end of all the loops, the very first element in the array (flights[0][0]) should contain the last token in the file.
    At the end, you only print the first element (i=0, j=0, println(flight[ i][j])) which explains why you see the last element from the file.
    I'm assuming you have a file with 21 lines, each of which has 7 items on the line. Here is some pseudo-code to help you out:
    count the lines
    reset the file
    create a 2d array with the first dimension set to the number of lines.
    int i = 0;
    while (read a line) {
      Tokenize the line;
      count the tokens;
      create an array whose size is the number of tokens;
      stuff the tokens into the array;
      set flights[i++] to this array;
    }

  • How can I convert an array with varying length into a cluster

    Hi,
    I need to convert an array of n elements into a cluster. Usually, it only involves the "Array to Cluster" function. But since the array length is not constant and the number of elements in the function is constant and can not be changed programaticaly, I need to find another way to do that.
    Any ideas?
    Thanks.

    Hi,
    I also tried to do this but without success. I think that's not possible.
    For me it's a general problem using labview. I often wanted to generate standard controls dynamically which is not possible (or I haven't found the solution yet). So I think that's the reason why you can't create a cluster during runtime (the program would have to add controls dynamically to the cluster).
    Do you have an upper limit for your array-size? Although it needs a lot more memory, it would be a possibility to create the cluster with the maximum number of elements.
    If you don't have a maximum, you will have to look for another way, I'm afraid.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • How can I create a RAWpic-file with header(cluster of 8elements) and 2D Array?

    I have created a cluster with 8 "I32"elements (Header). I also got picture information into a 2D array (i converted information from a ROI into a 2Darray("Image pixels(I16)")
    Now I want to create a RAW picture file (first the header information followed by the picture information.)
    I think I have to convert the Header-cluster into an array with "cluster to array". But even this is not possible(Info:"you cannot combine 2 different clusters"). Then I have to combine the 2 arrays with "insert into array"??? But the header array would be a 1Darray if the "cluster to array conversation" works and the picture information is 2D.
    Can anyone help me please?

    I think this is actually pretty straightforward, barring any byte-order issues. Attached is an image that demonstrates what I think jotthape wants to do.
    The key is to let multiple Write File nodes do the work for you. There's no need to combine all the data into a single structure for the write, and avoiding that makes things easier in this case, because you don't have to worry about some of the data being I32 and the rest being I16.
    Give this a shot,
    John
    P.S. It does seem likely that you will run into byte-order problems if you want to read your custom RAW file in using some other piece of Windows software. You can check the forum and the NI site for info on byte order, then ask a new question if you're still having a problem.
    Attachments:
    writeRaw.png ‏8 KB

  • Unable to charge my Ipad 4 with my Laptop (HP 7010tx) USB . I am Getting error message as "Not Charging" . Please give a solution for this ...???

    Unable to charge my Ipad 4 with my Laptop (HP 7010tx) USB . I am Getting error message as "Not Charging" . Please give a solution for this ...???

    The quickest way (and really the only way) to charge your iPad is with the included 10W or 12W (5W on Mini) USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (2.5W, most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Best Practices for iPad Battery Charging
    http://www.ilounge.com/index.php/articles/comments/best-practices-for-ipad-batte ry-charging/
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    How to Save and Prolong the battery life of your new ipad
    https://discussions.apple.com/thread/4480944?tstart=0
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327
    Install and use Battery Doctor HD
    http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8
    To Extend a Device’s Battery Life, Get to Know It Better
    http://tinyurl.com/b67c7xz
    iPad Battery Replacement
    http://www.apple.com/batteries/replacements.html
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • Unable to connect to Wi-Fi with password

    Hello,
    I'm having a slight issue with an iPod and iPad. As the title says, I'm unable to connect to wi-fi with password encryption (WPA2). I don't understand why! I can connect to wi-fi when I take the password encryption off. I've been able to connect to wi-fi previously with password encryption enabled. I live in a complex with three other neighbors. I'd prefer to not leave the encryption off. Does anyone have an idea as to how to solve this problem? I've already tried restatarting the iPod and restarting the wireless router. I tried to forget the network as well on both devices and reconnect them, however, when I try to reconnect them it tells me "unable to connect to the network". I do not wish to do a factory reset for either devices. Also, I'm unsure whether this is related or not, but I just updated my software recently to OS 6.1.2 ...my problem began a day after doing so.
    Any feedback would be much appreciated! Thanks in advance. 8]
    I have a Netgear WNDR3400 wireless router.

    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    I would try another encryption but still use encryption. Also try changing the PW.
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.

  • Auto-indexing is slow for arrays with 1 dimensions

    Hi,
    I was looking at the performance of operations on all individual elements in 3D arrays, especially the difference between auto-indexing (left image) and manual-indexing (right image, calling "Index array" and "Replace array subset" in the innermost loop). I'm a bit puzzled by the results and post it here for discussion and hopefully somebody's benefit in the future.
    Left: auto-indexing; right: manual-indexing
    In the tests I added a different random number to all individual elements in a 3D array. I found that auto-indexing is 1.2 to 1.5 times slower than manual-indexing. I also found that the performance of auto-indexing is much more dependent on the size the dimensions: an array with 1000x200x40 elements is 20% slower than an array with 1000x40x200 elements. For manual-indexing there is hardly any difference. The detailed results can be found at the end of this post.
    I was under the impression that auto-indexing was the preferred method for this kind of operation: it achieves exactly the same result and it is much clearer in the block diagram. I also expected that auto-indexing would have been optimized in LabView, but the the tests show this is clearly not the case.
    What is auto-indexing doing?
    With two tests I looked at how auto-index works.
    First, I looked if auto-indexing reorganizes the data in an inefficient way. To do this I made a method "fake-auto-indexing" which calls "Array subset" and "Reshape array" (or "Index array" for a 1D-array) when it enters _every_ loop and calls "Replace array subset" when exiting _every_ loop (as opposed to manual-indexing, where I do this only in the inner loop). I replicated this in a test (calling it fake-auto-indexing) and found that the performance is very similar to auto-indexing, especially looking at the trend for the different array lengths.
    Fake-auto-indexing
    Second, I looked if Locality of reference (how the 3D array is stored in memory and how efficiently you can iterate over that) may be an issue. Auto-indexing loops over pages-rows-columns (i.e. pages in the outer for-loop, rows in the middle for-loop, columns in the inner for-loop). This can't be changed for auto-indexing, but I did change it for manual and fake-indexing. The performance of manual-indexing is now similar to auto-indexing, except for two cases that I can't explain. Fake-auto-indexing performs way worse in all cases.
    It seems that the performance problem with auto-indexing is due to inefficient data organization.
    Other tests
    I did the same tests for 1D and 2D arrays. For 1D arrays the three methods perform identical. For 2D arrays auto-indexing is 15% slower than manual-indexing, while fake-auto-indexing is 8% slower than manual-indexing. I find it interesting that auto-indexing is the slowest of the three methods.
    Finally, I tested the performance of operating on entire columns (instead of every single element) of a 3D array. In all cases it is a lot faster than iterating over individual elements. Auto-indexing is more than 1.8 to 3.4 times slower than manual-indexing, while fake-auto-indexing is about 1.5 to 2.7 times slower. Because of the number of iterations that has to be done, the effect of the size of the column is important: an array with 1000x200x40 elements is in all cases much slower than an array with 1000x40x200 elements.
    Discussion & conclusions
    In all the cases I tested, auto-indexing is significantly slower than manual-indexing. Because auto-indexing is the standard way of indexing arrays in LabView I expected the method to be highly optimized. Judging by the tests I did, that is not the case. I find this puzzling.
    Does anybody know any best practices when it comes to working with >1D arrays? It seems there is a lack of documentation about the performance, surprising given the significant differences I found.
    It is of course possible that I made mistakes. I tried to keep the code as straightforward as possible to minimize that risk. Still, I hope somebody can double-check the work I did.
    Results
    I ran the tests on a computer with a i5-4570 @ 3.20 GHz processor (4 cores, but only 1 is used), 8 GB RAM running Windows 7 64-bit and LabView 2013 32-bit. The tests were averaged 10 times. The results are in milliseconds.
    3D-arrays, iterate pages-rows-columns
    pages x rows x cols : auto    manual  fake
       40 x  200 x 1000 : 268.9   202.0   268.8
       40 x 1000 x  200 : 276.9   204.1   263.8
      200 x   40 x 1000 : 264.6   202.8   260.6
      200 x 1000 x   40 : 306.9   205.0   300.0
     1000 x   40 x  200 : 253.7   203.1   259.3
     1000 x  200 x   40 : 307.2   206.2   288.5
      100 x  100 x  100 :  36.2    25.7    33.9
    3D-arrays, iterate columns-rows-pages
    pages x rows x cols : manual  fake
       40 x  200 x 1000 : 277.6   457       
       40 x 1000 x  200 : 291.6   461.5
      200 x   40 x 1000 : 277.4   431.9
      200 x 1000 x   40 : 452.5   572.1
     1000 x   40 x  200 : 298.1   460.4     
     1000 x  200 x   40 : 460.5   583.8
      100 x  100 x  100 :  31.7    51.9
    2D-arrays, iterate rows-columns
    rows  x cols  : auto     manual   fake
      200 x 20000 :  123.5    106.1    113.2    
    20000 x   200 :  119.5    106.1    115.0    
    10000 x 10000 : 3080.25  2659.65  2835.1
    1D-arrays, iterate over columns
    cols   : auto  manual  fake
    500000 : 11.5  11.8    11.6
    3D-arrays, iterate pages-rows, operate on columns
    pages x rows x cols : auto    manual  fake
       40 x  200 x 1000 :  83.9   23.3     62.9
       40 x 1000 x  200 :  89.6   31.9     69.0     
      200 x   40 x 1000 :  74.3   27.6     62.2
      200 x 1000 x   40 : 135.6   76.2    107.1
     1000 x   40 x  200 :  75.3   31.2     68.6
     1000 x  200 x   40 : 133.6   71.7    108.7     
      100 x  100 x  100 :  13.0    5.4      9.9
    VI's
    I attached the VI's I used for testing. "ND_add_random_number.vi" (where N is 1, 2 or 3) is where all the action happens, taking a selector with a method and an array with the N dimensions as input. It returns the result and time in milliseconds. Using "ND_add_random_number_automated_test.vi" I run this for a few different situations (auto/manual/fake-indexing, interchanging the dimensions). The VI's starting with "3D_locality_" are used for the locality tests. The VI's starting with "3D_norows_" are used for the iterations over pages and columns only.
    Attachments:
    3D_arrays_2.zip ‏222 KB

    Robert,
    the copy-thing is not specific for auto-indexing. It is common for all tunnels. A tunnel is first of all a unique data space.
    This sounds hard, but there is an optimization in the compiler trying to reduce the number of copies the VI will create. This optimization is called "in-placeness".
    The in-placeness algorithm checks, if the wire passing data to the is connected to anything else ("branch"). If there is no other connection then the tunnel, chance is high that the tunnel won't create an additional copy.
    Speaking of loops, tunnels always copies. The in-placeness algorithm cannot opt that out.
    You can do a small test to elaborate on this: Simply wire "0" (or anything less than the array sizy of the input array) to the 'N' terminal.......
    Norbert
    PS: Auto-indexing is perfect for a "by element" operation of analysis without modification of the element in the array. If you want to modify values, use shift registers and Replace Array Subset.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • I am unable to upload Quicktime movies made with imovie to the web.  I've tried using Filezilla (which worked well until recently) or even going directly to the webhost via Cox.  The upload gets caught in a loop.  nojo99

    I am unable to upload Quicktime movies made with imovie to the web.  I've tried using Filezilla (which worked well until recently) or even going directly to the webhost via Cox (my internet provider).  The upload always gets caught in a loop.  I  have repaired permissions.  I've been successfully uploading movies each week to my church website (or intermediary like Filezilla) for over a year.  I cannot figure out why I'm no longer successful.  Your feedback is desired and welcome.  nojo99

    I am unable to upload Quicktime movies made with imovie to the web.  I've tried using Filezilla (which worked well until recently) or even going directly to the webhost via Cox (my internet provider).  The upload always gets caught in a loop.  I  have repaired permissions.  I've been successfully uploading movies each week to my church website (or intermediary like Filezilla) for over a year.  I cannot figure out why I'm no longer successful.  Your feedback is desired and welcome.  nojo99

  • I am unable to get beyond the "sync with iTunes" splash page after connecting my iPhone; every tab is grey. What gives?

    I am unable to get beyond the "sync with iTunes" splash page after connecting my iPhone; every tab is grey. What gives?

    Is the computer the one the device normally syncs with?
    If not, sync with the computer it normally syncs with.
    If it is, place the device in DFU mode (google it) and restore.

  • I am also unable to get the 551L working with Windows 8 Beta 1. Any advice?

    I am also unable to get the 551L working with Windows 8 Beta 1 and Mac OS X 10.8 Mountain Lion Developer Preview 2. Any Advice?

    It should be noted that I was previously in those Windows Beta's and I am also a member of both Microsoft Technet (Retail Subscription), and all 3 Apple Developer Programs (IOS, Mac and Safari), which is the reason why I am running Microsoft Windows 8 Beta 1 on 2 of my 3 Dell's (the oldest one has Microsoft Windows XP Service Pack 3 and Microsoft Office 2003 on it, which is the PC that I am using the 551L on), and the Mid Year 2010 Apple Mac Mini has Mac OS X 10.8 Mountain Lion Server Edition on it (something that I am technically am NOT supposed to be talking about here due to my NDA so this will be the last time I mention it here (as you can see I am known for being the type of  Computer Nerd that loves Alpha and Beta Testing)! :-)

Maybe you are looking for

  • Playlist selected for synching no longer exists - can't synch ipod

    I just installed itune yesterday. Not sure why this error has popped up, but after getting all my music into the itunes folder, there is no longer anything on the ipod itslef, adn I receive this error message. How can I reset the ipod to synch withou

  • SSRS 2008 R2: How to add Border to Parent Column group only in Tablix?

    Hi there, I have a report where there is a Parent and Child group on columns.  I want to add a left/right border to just the Parent Group (Fiscal Period) with no border between the Child grouping (Fiscal Weeks).  How can I do this?  I have found expr

  • Mail Bouncebacks

    Hi Messages are being sent within a network (internal), colleagues are forwarding messages to each other. When the receiving colleague wants to answer to the original mail (via Mailto:[email protected]) it fails. The bounceback is always the same: Yo

  • Flexable Planning Issue

    Hi, When we check the result we uploaded by MC8G for Sales forecast, it displayed lots records which we didn't planned for a long time. The active version check which have no such records, and need help to let us know where I should check to make it

  • Why am I unable to log into any google accounts

    why am I unable to log into any google accounts