Move element in array individually

 Hello
 I'm trying to make a vi that could move individual element in an array 
 What I did was, I have a pict ring in an array so that I can have as many picture that I need
 But the problem is, if I want to move the picture, I'll end up moving the whole array
 Is there any way that I could try, to be able to move only the element?
In the vi that I attached, if I link Node-TCP-FTP, I can then move those 3 at the same time 
I'd like to be able to produce several of Node-TCP-FTP so that I can connect the nodes to each other later 
I'm trying to make each Node-TCP-FTP pair to be independent so that user can move it wherever they like before connecting node-node  
I tried using array, but it gets mix up in the end 
It won't be a good thing if I limit the number of Node-TCP-FTP pair that the user can make if I were to use separate ring for each of it 
Is there any other way that I could try?  or is it possible to move the selected element from the array so that I can make an array of Node, TCP, FTP instead of what I've done?
Thanks
Attachments:
subitemMove1.vi ‏67 KB

Your description is very confusing to me.  You talk about having arrays and multiple inpdependent pairs of these objects, but you only have one set of objects set up and they don't have anything to do with arrays.
I think you should probably be working with picture controls rather than picture rings.  Search the forums, I think Ben had a large nugget on working with pictures.
PS.   There is no such word as "traffics".  It should be "traffic".

Similar Messages

  • How do I move Elements 8 projects (slide shows) from a Windows XP computer to new Windows 7 computer that also has Elements 8 on it so that the slides shows will work (Elements 8 works well on the Windows 7 computer & I have done several new slide show pr

    How do I move Elements 8 projects (slide shows) from a Windows XP computer to new Windows 7 computer that also has Elements 8 on it so that the slides shows will work (Elements 8 works well on the Windows 7 computer & I have done several new slide show projects on it)?    I tried backup & restore without success.  I have also found the .psess files and copied them to the catalog in the new computer but when the sides shows are opened none of the images or music is there.  Only the text that I entered shows.  I have even tried to replicate the file paths from the XP computer to the new computer to see if that will help.

    UPDATE:  By a stroke of luck I happened to find a catalog link (a PSE8D file) in the 'My Catalog' file where the imported data was stored.  When I clicked on it to investigate what is was 'magically' all of my transferred projects appeared in Organizer.  Upon further investigation I found that the projects transferred from my XP computer were stored in a hidden catalog that had to be accessed through the Custom Location option in Catalog Manager (accessed by clicking File then Catalog then Custom Location).  No Windows or Elements search revealed this fact.  I am appreciative that I just got lucky.  The Adode/Photoshop company was absolutely of no help.  If fact to me their structure is designed to avoid contact with their customers unless you're buying a new product.  Their products have many good features (even though user unfriendly) and it's a shame they don't value their customers more once the sale is completed. 
    Bottom line:  All of the projects (sideshows) have been recovered and work in my new Windows 7 computer.  I hope my experience helps others. 

  • How do I move music folders with individual music files from windows 7 to itunes folder so that they are recognizable and playble?

    How do I move music folders with individual music files from windows 7 to the itunes library so the files are usable in itunes?

    All of the following programs should work with Vista.
    Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Another free program is Pod Player.
    SharePod is also freeware.

  • How do I move elements 9 from my old xp computer to my new windows 8 computer?

    How do I move element 9 from my old xp computer to my new windows 8 computer?

    If you have an installation disc for Elements 9, then I would suggest that you uninstall Elements 9 from your old computer, de-activate during the uninstallation. On Windows 8 computer, insert the disc and install Elements 9, activate it during installation. However, it is not tested, according to this document from Adobe: http://forums.adobe.com/message/4527508. Let me know how it goes.

  • How to use touch start, touch move, mouse down, mouse move to move elements in edge

    How to use touch move and mouse move events events to move elements n edge?

    Here is my code for a vertical carousel for mouse and touch interaction.  it's not perfect, but it does the job.  change from Y to X for horizontal path.  past at Stage.compositionready event.
    // these are my elemens
    var temp1 = sym.getSymbol("vmenu2").$("tvchannels").position().top;
    var temp2 = sym.getSymbol("vmenu2").$("videosondemand").position().top;
    var temp3 = sym.getSymbol("vmenu2").$("radiochannels").position().top;
    var temp4 = sym.getSymbol("vmenu2").$("music2").position().top;
    var temp5 = sym.getSymbol("vmenu2").$("info").position().top;
    var temp6 = sym.getSymbol("vmenu2").$("vrtour").position().top;
    var temp7 = sym.getSymbol("vmenu2").$("weather").position().top;
    var temp8 = sym.getSymbol("vmenu2").$("clock").position().top;
    var temp9 = sym.getSymbol("vmenu2").$("settings").position().top;
    var tempa = sym.getSymbol("vmenu2").$("tvchannels").height();
    var tempb = 200;
    var tempdiff = temp2 - temp1;
    var y1=0;
    var y2=0;
    var t = 0;
    $(document).bind("touchstart", function(e) { 
      e.preventDefault(); 
      y1 = e.originalEvent.touches[0].pageY;
      temp1 = sym.getSymbol("vmenu2").$("tvchannels").position().top;
      temp2 = sym.getSymbol("vmenu2").$("videosondemand").position().top;
      temp3 = sym.getSymbol("vmenu2").$("radiochannels").position().top;
      temp4 = sym.getSymbol("vmenu2").$("music2").position().top;
      temp5 = sym.getSymbol("vmenu2").$("info").position().top;
      temp6 = sym.getSymbol("vmenu2").$("vrtour").position().top;
      temp7 = sym.getSymbol("vmenu2").$("weather").position().top;
      temp8 = sym.getSymbol("vmenu2").$("clock").position().top;
      temp9 = sym.getSymbol("vmenu2").$("settings").position().top;
      t = 1;
    $(document).bind("touchend", function(e) { 
      e.preventDefault(); 
      t = 0;
    $(document).bind("touchmove", function(e) { 
      e.preventDefault(); 
      //var x = e.originalEvent.touches[0].pageX;
      y2 = e.originalEvent.touches[0].pageY;
      //sym.getSymbol("vmenu2").$("tvchannels").css({top: y, left: x}); 
      if (t==1) {
        var y = y2 - y1; 
        var top1 = temp1 + y + tempdiff;
        var top2 = temp2 + y + tempdiff;
        var top3 = temp3 + y + tempdiff;
        var top4 = temp4 + y + tempdiff;
        var top5 = temp5 + y + tempdiff;
        var top6 = temp6 + y + tempdiff;
        var top7 = temp7 + y + tempdiff;
        var top8 = temp8 + y + tempdiff;
        var top9 = temp9 + y + tempdiff;
        if (top1<10) {
          if (top9>250) {
            sym.getSymbol("vmenu2").$("tvchannels").css({top: top1}); 
            sym.getSymbol("vmenu2").$("videosondemand").css(); 
            sym.getSymbol("vmenu2").$("radiochannels").css();
            sym.getSymbol("vmenu2").$("music2").css();
            sym.getSymbol("vmenu2").$("info").css();
            sym.getSymbol("vmenu2").$("vrtour").css();
            sym.getSymbol("vmenu2").$("weather").css();
            sym.getSymbol("vmenu2").$("clock").css();
            sym.getSymbol("vmenu2").$("settings").css();
    var d = 0;
    $(document).bind("mousedown", function(e) { 
      e.preventDefault(); 
      y1 = e.pageY;
      temp1 = sym.getSymbol("vmenu2").$("tvchannels").position().top;
      temp2 = sym.getSymbol("vmenu2").$("videosondemand").position().top;
      temp3 = sym.getSymbol("vmenu2").$("radiochannels").position().top;
      temp4 = sym.getSymbol("vmenu2").$("music2").position().top;
      temp5 = sym.getSymbol("vmenu2").$("info").position().top;
      temp6 = sym.getSymbol("vmenu2").$("vrtour").position().top;
      temp7 = sym.getSymbol("vmenu2").$("weather").position().top;
      temp8 = sym.getSymbol("vmenu2").$("clock").position().top;
      temp9 = sym.getSymbol("vmenu2").$("settings").position().top;
      d = 1;
    $(document).bind("mouseup", function(e) { 
      e.preventDefault(); 
      d = 0;
    $(document).bind("mousemove", function(e) { 
      e.preventDefault(); 
      //var x = e.originalEvent.touches[0].pageX;
      y2 = e.pageY;
      //sym.getSymbol("vmenu2").$("tvchannels").css({top: y, left: x}); 
      if (d==1) {
        var y = y2 - y1; 
        var top1 = temp1 + y + tempdiff;
        var top2 = temp2 + y + tempdiff;
        var top3 = temp3 + y + tempdiff;
        var top4 = temp4 + y + tempdiff;
        var top5 = temp5 + y + tempdiff;
        var top6 = temp6 + y + tempdiff;
        var top7 = temp7 + y + tempdiff;
        var top8 = temp8 + y + tempdiff;
        var top9 = temp9 + y + tempdiff;
        if (top1<10) {
          if (top9>250) {
            sym.getSymbol("vmenu2").$("tvchannels").css({top: top1}); 
            sym.getSymbol("vmenu2").$("videosondemand").css(); 
            sym.getSymbol("vmenu2").$("radiochannels").css();
            sym.getSymbol("vmenu2").$("music2").css();
            sym.getSymbol("vmenu2").$("info").css();
            sym.getSymbol("vmenu2").$("vrtour").css();
            sym.getSymbol("vmenu2").$("weather").css();
            sym.getSymbol("vmenu2").$("clock").css();
            sym.getSymbol("vmenu2").$("settings").css();

  • Merging elements of array

    Hi,
    I am new to programming.
    I have a sensor that sends a data stream through a serial port. I have collect all that data in a 1D unsigned byte array. Now, lets say my 1-D array is [12][45][65][12]...... where each "[ ]"  is a element of the array. Now to make sense of this data what i need to do is merge two elements the array and multipy it by 2/(2^15). i.e. My converted data should by [1245]*2/(2^15). Basically 2 bytes together makes sense. I can do a simple add of each element. Also the other problem is,data from the sensor is a stored as the 1-D array  of unsigned byte. However, the converted data is supposed to be signed 16-bit integer.
    Please give any suggestions on how to go about doing this.
    Siddhant Shah

    Another option is "decimate&Join". (Here it is easy to change the byte order if needed).
    Message Edited by altenbach on 12-15-2008 06:28 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    8bitTo16BitByteOrder.png ‏5 KB

  • The prefix mx for element mx:Array is not bound

    Hi All
    I have a component:
    <?xml version="1.0" encoding="utf-8"?>
      <mx:Array id="arr">
        <mx:Object label="Flex"
          thumbnailImage="http:/someURL"
          fullImage="http://someURL" />
      </mx:Array>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
    </mx:Canvas>
    This gives me an error
    The prefix "mx" for element "mx:Array" is not bound
    I need a root element here, but I cannot use mx:Canvas, what would be the best choice?
    cheers
    Luca

    Hi Luca,
    Try to put the Array inside your canvas rather than outside ...
    <?xml version="1.0" encoding="utf-8"?
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Array id="arr">
        <mx:Object label="Flex"
          thumbnailImage="http:/someURL"
          fullImage="http://someURL" />
      </mx:Array>
    </mx:Canvas>
    Why  you dont want to use mx:Canvas as root tag of your component.. ?? However which ever component you use try to put the <mx:Array/> inside your root tag of your component, otherwise you will be thrown the same error as mentioned. The error occurs as the the compiler doesn't recognize the namespace mx for the array since you declared it outside the root tag of your component.
    Thanks,
    Bhasker

  • Remove element from array

    hi
    if i have an array
    eg
    int[] array = {4,2,1,2,1};
    how to i remove the index 2 from it and create a new array?
    thanks

    You can't remove the element--an array's size is fixed at creation.
    If you want a new array, create a new one that's one element smaller, then use System.arrayCopy to copy the elements you want to keep.

  • Targeting an FLVplayback component within a nested movie element

    I'm trying to get my own buttons to load FLV movies into the FLVplayback component. I've got it to work in a simple test but need help making it work on a more complex level. The test is here http://lawrencejonespromoprince.com/testvideo.html
    I've named the FLVplayback instance 'my_video'
    The simple buttons have this script in the actions:
    on (release) {
          my_video.load("videonamehere.flv");
          my_video.autoPlay=true;
    This all works great as long as the buttons and the FLVplayback component are on the same frame on the same page. But for the actual use, i need it to work where the buttons are on a nested page within another movie element. So the nest looks like this:
    Scene1   Nestmovie1   Nestmovie2   Nestmovie3
    ...where the FLVplayback component is in Nestmovie2 and the buttons are in Nestmovie3.
    The nesting was needed so the buttons are on a separate slider panel so i can scroll through the list of movies.
    See the actual flash site in progress here http://lawrencejonespromoprince.com/index2.html
    and the movie list (not done) will be on the 30 Promos page.
    So now the question is, how can i target the FLVplayback instance within a nested movie.
    Thanks

    You should be able to use _root references to get back to the main timeline to target the flv player
    on (release) {
          _root.nestedMovie1.my_video.load("videonamehere.flv");
          _root.nestedMovie1.my_video.autoPlay=true;

  • Move elements 11 to  new computer

    i replaced my laptop with Windows XP to a new computer with windows 8.1
    how do i move elements 11 to the new computer?

    If you use the organizer, make a full backup using the organizer's backup command, then restore it to the new computer (may want to use a removable drive for this). Deactivate your copy on the old computer (if you won't be using it there anymore) by going to Editor>Help>Deactivate. Then install PSE from scratch on the new machine and run the restore.

  • Error code 6..trying to move elements 11

    error code 6..trying to move elements 11 from a external hard drive to a newer -better computer. I have a serial nunber from less than a year ago.
    How do i move the program?? thanks

    You don't move programs, you install them.  If you need to download PSE11, you can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    Photoshop/Premiere Elements 11:
    http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm l

  • How can i retrieve missing element in array

    how can i retrieve missing element in arrays if array length is exceeded

    Not sure about what the question means, but could it be that OP is not aware that the first element in an array is at index 0 (not 1) ?
    <a href="http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html" style="background:url(http://java.sun.com/docs/books/tutorial/figures/java/objects-tenElementArray.gif) no-repeat; width:400; height:145;"></a>

  • How to disable individual elements in array

    How do I disable individual elements in an array at runtime.

    I assume you are referring to the control property "disabled".
    If so there is no way to disable a single element of an array. By definition an array is a collection of data, it is not a collection of controls. A fine line but an important one. So you can configure the single control that makes up the array and defines its type. For example, if you have an array of Booleans, you can change the color of the Boolean. However this will change the color of all the Booleans in the array. It is 1 control, with a lot of values.
    Part of the reason for this is memory. Imagine an array of 1 million elements. If you could set the properties of each element, then to store that array would be incredibly large. It would be 1 million U8s for example, but then all the properties for each 1 million elements would also need to be saved. Therefore your 1 million element array of bytes could easily represent 100 million bytes in memory.
    Let me know if this explanation makes no sense, I usually explain it better, but I think I need more coffee.
    The way around this is clusters. You can change each element in a cluster, so if your array is of a manageable size, change your array control into a cluster of n elements. You can then use the cluster to array function to convert the data to the array of data you need. Unfortunately this method means that before runtime you must know the maximum number of elements you will need. You can always hide the extras, but you can not create more during execution.

  • Drag And Drop Element Of Array Of Clusters

    I have a project that includes an array of "tests", each of which is a cluster containing an array of "part numbers", a regular expression matching string and an array of "test tasks" (each of which, is in turn, a cluster of elements).
    That is:
    Tests (array of):
    Cluster:
    Part Numbers (array of strings)
    Regex (string)
    Tasks (array of):
    Cluster:
    Task type
    Base Channel,
    Measurement Channel
    Other Channels
    I'd like to be able to drag and drop to re-order the task array within an individual test.  (It's a nice-to-have rather than an urgent request - more for my own learning than anything).  For now, I've implemented "Move Up" and "Move Down" buttons.
    The examples are fine for a single cluster that includes an array, or for an array of objects.  As soon as we have an array of clusters, it's hard to access the individual elements within a specific cluster.
    Has anybody successfully implemented drag and drop within such a setup?
    Curiously,
    Geoff
    Geoff Field, BE, CLAD, MIEAust
    Professional geek, amateur stage-levelling gauge
    Solved!
    Go to Solution.

    Hello GeoffF,
    This is definitely doable, and you can even use the standard start drag and drop methods/events, the tricky part is determining the array elements that are being selected on mouse up/mouse down and handling the swap manually.  Luckily, there are a couple decent examples of how to do this out there already, I'd suggest you take a look at this one:
    Community Example: Determine Clicked Array Element Index in LabVIEW
    https://decibel.ni.com/content/docs/DOC-22434
    That should give you the selected array indices, and then all you have to do is switch the elements around around in the drop event.  I've attached a very basic demonstrative example that uses that code I just linked (you'll need to download that as well) and the events mentioned to swap two array elements.   The attached code is just thrown together, you'll want to design something more robust and scalable for any sort of real use.
    Regards,
    Tom L.
    Attachments:
    array drag.vi ‏21 KB

  • Dynamically create empty mcs and asign elements from array and loadmovie

    I'm creating an educational game for my school students.
    A little boy is flying through the city when he encounters objects flying from left to right.
    He hears a SOUND eg: Dog - he must go and click the dog image with the flying cursor. There are at least 5 DIFFERENT objects that should be flying on the screen. There could be various of them at any one time.
    I have the roots of the images in an xml file. And the actual swf are in a file called IMAGE and the sounds in SOUND.
    My problem is that most tutorials I see use the attachmovie method but I don't want to put all the swf's in the library as there are hundreds.
    I have to use the loadmovie method.
    I take it I have to loop through the array and assign each element to an empty movieclip which in turn is in the loop so you get 5 empty clips - I will use i (index). It doesn't seem to be working. I shall keep trying and post back here if I get any luck but I'm running out of ideas.
    Then the objects have to float across the screen. Don't know whether to use tween object or onEnterFrame handler or other. AND someone has mentioned using setinterval to "spit out" the objects.
    BUT if I have five flying across the screen I'm left without clips to stick in any more.
    Oh my head hurts but I will keep going.
    CHEERS if any help is around. This should be quite a standard thng for game developpers. Code at the moment
    function loadEnemies():Void {
    enemy_xml = new XML();
    enemy_xml.ignoreWhite = true;
    enemy_xml.onLoad = function(success:Boolean) {
    if (success) {
    _root.parseEnemyXML();
    //enemy_xml.load("level_"+level+".xml");
    enemy_xml.load("data/animal_catch.xml");
    function parseEnemyXML():Void {
    rows = enemy_xml.firstChild.childNodes.length;
    for (var i:Number = 0; i<rows; i++) {
    var row_string:String = String(enemy_xml.firstChild.childNodes[i].firstChild.firstChild);
    _root["row_"+i+"_array"] = row_string; //MAIN ARRAY holds an array images/dog_a.swf/ images/cat_a.swf etc... all five
    _root.createEmptyMovieClip("enemyObjects", 1);
    enemyObjects.createEmptyMovieClip("holder_"+i, i);
    _root["object"+i] = new Sound(enemyObjects["holder_"+i]);
    trace(row_string);
    loadMovie["row_"+i+"_array"], ["holder_"+i]
    if (level == 1) {
    alerts_mc.play();
    } else {
    currRow = 0;
    rowCounter = 0;
    OK got to about here BUT
    a. I started to get confused around the createEmptyMovieClip part
    b. I KNOW I shouldn't have Sound(enemyObjetcs etc... BUT I copied the code from a tutorial and I don't know what to replace it with.
    I'm close but I need a little polishing.

    It doesn't do you much good to work with borrowed code that you do not understand.  Your best bet will be to start small, creating one functional piece of the puzzle at a time, and work your way up.  Start with making sure you are loading and parsing the xml properly, then set about loading the external content, then see about making that content move around, etc...
    In the code you show, your loadMovie line of code does not resemble anything I have seen before, looking more like (but not quite like) a multi-dimensional array element than a loadMovie() function call.  If you find you need to have control of the items as soon as they load, then you should consider using MovieClipLoader.loadClip instead of loadMovie.  The MovieClipLoader class provides features, such as to be able to determine when items have fully loaded.

Maybe you are looking for

  • Error in Create Travel Request

    Good Morning. I am implementing Travel for ESS. But in the moment of give clic in the service for Create Travel Request the system display the following error: [Error Travel ESS|http://www.freeimagehosting.net/uploads/46ed778b99.jpg] What is cause of

  • Tabbed panels no longer showing up

    Hi folks, for quite some time I have used the widge Spry Tabbed Panels 2.0 in this page: www.arrowmark.co.nz/clients  and on this pagehttp://tatlerprime.co.nz/conference.html but the tabs no longer show up and all the content is laid out vertically d

  • Any body please can solve my problem that iam facing with JTable

    Dear sir, Iam doing an educational product using Swing as front end in that iam using JTables. And back end iam using sqlserver. With jtable iam facing very serious problem the problem is actually iam entering the values in all the columns after that

  • Cant find my apple ID

    hey heres an nother problem iv found what i dont know how to fix when i go to apple to reset my password i dont know why but my email it says its not there so i put in forgot ID then it says name second name then your email and when i put it all in i

  • Macro in ECC 6.0

    Hi ALL, i have one problem in ECC 6.0 while upgrading 4.6 to ECC 6.0. In 4.6 macro is defined as: DEFINE ++. But in ECC 6.0 it's giving an error " In Unicode programs, the "+" character cannot appear in names". Could anybody please tell me how to cor