Reverse column order in array

Hi there,
Can somebody tell me how to reverse the column order in an array? For example, if I have a 2-D array with four columns -- 1, 2, 3, 4. If I want to reverse the order of these four columns into 4, 3, 2, 1, how do I do that in Labview 7.1?
Thanks very much in advance!
Y

Like this:
Message Edited by tbob on 10-31-2005 12:48 PM
- tbob
Inventor of the WORM Global
Attachments:
Reverse2DArray.PNG ‏3 KB

Similar Messages

  • Reverse the order of Legend in Column Chart

    Hello All,
    Hope all is well. I tried to find way of doing it .... I am currently getting my legends in order ... but I wanted to reverse it ...can it be done ?
    I can put simple text as legend but probolem is I have show/Hide series on and hence it wouldn't work ?
    Anyone ?
    Thanks in advance,
    Sam

    Hi,
    Since you are looking after reversing the Legends Only..
    I.g your column Order is A,B,C  With their correspodingin values in the cells A1:C2     
    Just change the order Map C1->D1, B1->D2, A1 -> D3 and with the values as well...
    This is only way if you want to reverse the order of legends..You can set any properites in the column char or if that matter any chart .There is no such property..
    I hope this helps......
    If you find that is done thru some other ways please do let me know...

  • Reverse the order of elements in an array

    how would i go about Reverse the order of elements in an array??

    I link to the javadocs can't be too bad. [url
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Coll
    >
    ections.html#reverse(java.util.List)]Collections.rever
    se(List)Of course I fortell the next question, but I wantan
    Array not a List? So I provide the next link:[url
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Arr
    ys.html#asList(T...)]Arrays.asList(T...)Yeah but then you have to worry about the next
    question which is more of a statement: "I can't use
    Arrays".
    Then I would as them: How would you do it in real life? Of course they could think a real world way of doing it. In that case, I'll give them an real life example.
    Assumed List
    1 2 3 4 5 6 7 8 9 10 11 12 13
    Switch the first and the last elements
    13 2 3 4 5 6 7 8 9 10 11 12 1
    Then the second and second to the last
    13 12 3 4 5 6 7 8 9 10 11 2 1
    And repeat until your half way.
    13 12 10 4 5 6 7 8 9 3 2 1
    13 12 10 9 5 6 7 8 4 3 2 1
    13 12 10 9 8 6 7 5 4 3 2 1
    13 12 10 9 8 7 6 5 4 3 2 1
    Done.

  • View iCal's day and week view in reverse chronological order

    Greetings iCalers,
    When I think about day/week calendars, with the Y-axis being times of the day as in iCal's day/week views (e.g. "3:00 AM", and "5:00 PM" are in the leftmost column), I think about times building up to midnight from the bottom—i.e. the day starts at 12:00 AM on the bottom, with 1:00 AM above that, and the day ends with 11:59 PM on the top. I've learned that this intuition is atypical, and all calendaring systems I've come across work in the reverse direction, in line with the majority of people's intuitions.
    I'm wondering if there's a way to get iCal to display in the reverse-chronological order. I suspect there isn't, and I've never seen a terminal command or apple script for it, but I'm hoping there is. If anyone know and could post it here, that would be great!
    Thanks!
    -Scott
    Message was edited by: scottclayton

    It's cool, I figured out a solution: get over it and stop worrying about trivial issues to the point of excessive fussiness.

  • Report Does Not Follow Select Column Order

    Hi all,
    Apex 2.2 on 10gXE
    I always encounter this problem, the display column on report does not follow the select column sequence order in the "region source".
    It is very tedious clicking the up/down arrow one-by-one in the "report attributes" especially if the display columns are plenty like 40 columns.
    Is there a fix/patch or alternative tips for this bug?
    Thanks a lot,
    Edited by: 843228 on May 24, 2011 10:32 PM

    Apex 2.2 on 10gXEStart by upgrading from this old unsupported version.
    >
    I always encounter this problem, the display column on report does not follow the select column sequence order in the "region source".
    It is very tedious clicking the up/down arrow one-by-one in the "report attributes" especially if the display columns are plenty like 40 columns.
    Is there a fix/patch or alternative tips for this bug?
    >
    This is not a bug. APEX maintains the original column order of the report. This avoids problems downstream in areas like the processing of <tt>g_fnn</tt> arrays in declarative tabular forms, where the assigned arrays are column-order dependent.
    APEX 4.x fixes column ordering bugs that could lead to report corruption, and includes drag-and-drop column ordering in the new tree view in addition to the up/down arrow re-ordering.
    If you really want column order to follow that in the source query, the workaround is to create a new report using the modified query.

  • How to switch from reverse alphabetical order?

    Please forgive a newbie question: when I open a list view of my hard drives in Finder, the names of the folders are listed in reverse alphabetical order, with the Z's on top, and the A's on the bottom. How can I change it so that it displays the A's on top and the Z's on bottom, whenever I open the view? Thanks in advance.

    Click the "Name" bar, so the small triangle faces up again.
    You know you can also sort by Date Modified, etc, just click on the column's topbar.

  • Can I reverse the order of finder lists or icons?

    Hello,
    I am finding some problems with Lion that I never seemed to have with Snow Leopard and would very much appreciate someone's help.
    To cut a long story short I want to reverse the order of the files in finder, either in list or icon view (or maybe any kind of view). At the moment they are in date created order, but I have also tried in name order and cannot see any way to reverse the order.
    At present the are show the newest file first but I want to see them in oldest first as they always were for me in OSX 10.6
    Also... in date created view they appear in groups (eg previous 7 days, previous 30 days) I have never seen this before and find it particulalry annoying. I'm sure some people love it but for me it is one of the things that I most hated about windows, but at least in Windows I found it easy to turn off (along with reversing order!). Can anyone tell me how to stop OSX from doing this?
    Much obliged,
    Pablo

    Welcome to Apple Support Communities. We're users here and don't speak for "Apple, Inc."
    In Finder icon view, click the Arrange button and select which column you'd like to sort by.
    In Finder list view, click the top header of any column to sort by that column. Clicking the same header again reverses the sort order (and the small 'arrow' at the end of the column name reverses direction too).
    And using Finder, View, Customize Toolbar the Finder window toolbar can be customized to display icons only, text only or both, as well as adding additional icons to the default toolbar:
    Message was edited by: kostby

  • When saving, how do I change the default order of my files in the pop up window which is currently reverse chronologic order?

    When I want to save a file on my computer, Firefox opens a window for me to designate a location. Up until a few weeks ago, my files were listed in chronological order by file type. Now they're listed in reverse chronological order which is not convenient. This happens every time and I can't find where to change the setting.

    Did you check the right-click context menu ?
    You can also try to switch to list mode and click the Name column header to switch the direction.

  • Datagrid Column Ordering from Recordset?

    I often populate my datagrids with a recordset, an array of record objects, by passing the recordset in the dataprovider constructor. However, this results in unpredictable column ordering i.e. it doesn't correspond to the order of the fields in the record object. I know you can define the columns and then use add item to add the records to resolve this, but I'm curious why the datagrid doesn't order the columns according to the record object field order in the first place and why the order can actually change between renderings of the datagrid?

    Thanks for the response. I understand the method to order the columns, I'm more curious why doing something like this:
    var arr:Array = new Array();
    arr.push({label:"item 1b", qty: 1});
    arr.push({label:"item 2b", qty: 2});
    var dp:DataProvider = new DataProvider(arr);
    results in the columns being randomly ordered. It be nice if the data grid always produced columns in the order of
    label   qty
    Its probably rooted in the fact a for..in loop doesn't get values from an object in a useful order either.

  • Finder files always in reverse alphabetical order in List View

    Hi all,
    Ever since I upgraded to Mountain Lion from Snow Leopard, I've experienced an intermittent quirk with Finder. I generally keep most files in folders by alphabetical order. But in my Applications folder, Finder is stuck on keeping them in reverse alphabetical order, which is annoying. I've never had this issue in previous releases of OS X becuase there was always the small triangle to invert order, but this triangle doesn't appear in my Applications folder. Only my Applications folder has a weird white bar with Name, Size, etc, as opposed to the gray one that appears in every other folder in the OS.
    I have tried to remedy this via the following:
    Changing from List View to other views--this puts them in normal alpha order, but I like apps in List View so I can see many of them at a glance
    Sorting by other categories (file size, etc.) and then switching back
    Clicking on the name bar with every possible combination of buttons (Fn + click, Ctrl + click, etc.)
    All to no avail. Is anyone else experiencing this problem? It only happens with the Applications folder, and only in List View.
    Thanks!

    I also have this problem, and the work around works for me, but...
    This has got to be a bug, right?  There is nothing, anywhere that I can see, that controls whether it is alpha ascending or alpha descending.  The "fix", such as it is, is to ignore the Arrange By menu and use the column headers to select the sort order. 
    In fact, to bulletproof it (because I will forget eventually) the best solution would be to remove the "arrange" menu altogether because it does not do anything that sorting by column headers does not do.  In fact, it does less.  In even more fact, it does worse than less. 
    Apple is keenly persuing minimalism.  So why does the arrange menu exist?  And if it does exist, why did no-one test that it works rationally?
    The corollary of all this is that the Arrange By menu does the same thing as clicking the menu headers, but when you use it, it disables them. 
    I have been banging my head on my desk since I bought my new machine with Mt Lion on it about the wretched headers not setting the sort order and it is because some - numbskull is not the _only_ word that comes to mind - has decided one selection mechanism for the sort function should disable the other. ¿Eh?

  • HT1146 how to reverse viewing order of email

    How to view mail in reverse date order?

    click on the Date Received column
    Or else use the View->Sort By menu

  • Any way to force an "Ignore Column Order" w/ SSDT (even if custom code)?

    This used to be an option in the old VSDBCMD and VS DB Projects. Apparently it was lost when the move was made to SSDT. There has been some minor discussion of possibly bringing it back, but I was wondering if anything could be done to work around this in
    some way? I know that there is a Codeplex project for DacFx and some discussion on working around things like index options. I'm hoping it's possible in some way to work around the column order issue.
    Backstory - a well-intentioned DBA was trying to NULL out some columns, but decided that scrubbing would take too long so dropped the columns and added to the end of the table in one environment. That's a table with a couple hundred million rows and would
    take quite a while to rebuild, likely filling the log in the process. It would also disrupt ETL against that table.  It's not a production environment or we'd just try to get every other environment to match. That's not something we can do here so are
    forced to manually work around it in this one environment every time we need to make changes.

    That is a good question, to do this requires two functions and a restart of Bridge all done automagically
    Copy and paste the script into ExtendScript Toolkit
    This gets installed with Photoshop and can be found:-
    PC: C:\Program Files\Adobe\Adobe Utilities
    MAC: <hard drive>/Applications/Utilities/Adobe Utilities
    Start Bridge
    PC: Edit - Preferences - Startup Scripts
    Mac: Adobe Bridge menu - Preferences - Startup Scripts
    At the bottom click the "Reveal Button" this will open the folder where the script should be saved.
    Close and restart Bridge.
    Accept the new script.
    To use:
    Tools - Backup Manual Sort
    This will backup the hidden manual sort file .BridgeSort to .BridgeSortSave
    Tools - Restore Manual Sort
    This will copy the .BridgeSortSave back to .BridgeSort and will close and restart Bridge so that the manual sort is restored.
    if( BridgeTalk.appName == "bridge" ) { 
    var backUpManSort = new MenuElement( "command","Backup Manual Sort", "at the end of Tools" , "backupms" );
    var RestoreManSort = new MenuElement( "command","Restore Manual Sort", "at the end of Tools" , "restorems" );
    backUpManSort.onSelect = function () {
    var fileSort = new File(app.document.presentationPath +"/.BridgeSort");
    var fileSave = new File(app.document.presentationPath +"/.BridgeSortSave");
    if(fileSave.exists) fileSave.remove();
    fileSort.copy(fileSave);
    fileSave.hidden=true;
    RestoreManSort.onSelect = function () {
    var fileSort = new File(app.document.presentationPath +"/.BridgeSort");
    var fileSave = new File(app.document.presentationPath +"/.BridgeSortSave");
    if(!fileSave.exists){
    alert("No backup file exists");
    return;
    app.document.sorts = [{ type:"string",name:"document-kind", reverse:false }];
    if(fileSort.exists) fileSort.remove();
    fileSave.copy(fileSort);
    fileSort.hidden=true;
    app.document.chooseMenuItem("mondo/command/new");
    app.documents[0].close();
    app.document.sorts = [{ name:"user",type:"date", reverse:false }];
    Hope this works for you.

  • How do I reverse the order in which files appear in Icon View option?

    I took a lot of pictures on a trip recently, which I have uploaded to a folder in Finder. When I click on View Options and then Keep Arranged by Date Created, they get rearranged so that the most recent appears at the top, and the first ones taken are at the bottom. How can I reverse this order, so that they appear in chronological order?
    Thanks,
    Richard

    There might be another way.
    There are utilities which can batch-rename files, including options that sort by date, begin all the resulting filenames with a common prefix, and then add a sequential "padded" filename suffix. If you then display the resulting collection of files in alphabetical order (as in Finder's Arrange by Name in icon view), they should be sorted chronologically.
    I haven't tried any of these, but the site for [A Better Finder Rename|http://www.publicspace.net/ABetterFinderRename/index.html], shareware, states:
    "A Better Finder Rename knows how to extract EXIF shooting date and time information from digital camera images and exploit them in creating sequence numbers or adding time and date information to the file name. "
    There may be suitable freeware alternatives -search for *file renamer* in [Version Tracker|http://www.versiontracker.com/macosx>.

  • Animation-need help: reverse  clip order , different arrows in  timeline

    hey!
    i am editing a puppetanimation and there are a few annoying things i really would like to know how to use better.
    1.
    i have 4000 pictures, sometimes i want to reverse the order of the pictures/clips. i checked making a own new file out of some pictures in a new sequence but i am scared that the quality is not the same. when i compare it with the normal photos then i can see a difference. so is there a easyer way? just chang quick the order. i can do it manual, but it is annoying.
    and also i remember i did it some years before, but i do not remeber how.
    2.
    is there a other way just to zoom in the timeline? cause apple and normal plus dosn´t work.only if i push the "far away"(the other one) plus. with zooming out it works.
    3.
    very strange is that: when i copy a few pictures and i want to put them somewhere in the timeline, sometimes it showes me an arrow downwards and sometimes an arrow pointing to the right. i like the pointing to the right, cause then i do not delete the gap/break/"nothing" in the timeline. but also i need this arrow when i just move something and not only when i copy something.
    oh i hope you understand....

    i know i know.....it is not that annoying...just these few things. i want to go on with this programm...i know it , it works ... . there is not that much to do.just always checking the pictures and so on.
    for me it is not about the question wich programm!
    to make the question with the arrows more understandable: i want to put something big in a actually too smale gap. and i want that final cut notice this automaticly. it is not about animation. i would also want to know about this if i would have videomaterial and normal clips. and i know it is actually a simple thing.it is often about the shortcuts i do not know.
    and also: i guess you noticed: my english is rubbish, so i did not get all of your explanations(do not tell me that i use the wrong forum, it is the only good one i can use)
    Message was edited by: neverending
    Message was edited by: neverending

  • How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?

    Dear SharePoint Developers,
    Please help.
    I need to know How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?
    I think this is a "sealed column", whatever that is, which is  shown in SPD 2013 as a column of content type "document, folder, MyCustomContentType".
    I know when I set the column order in my custom Content Type settings page, it is correct.
    But, when I load the NewDocSet.aspx page, the column order that I set in the settings page is NOT used for this "sealed column" which is bad.
    Can you help?
    Please advise.
    Thanks.
    Mark Kamoski
    -- Mark Kamoski

    Hi,
    According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
    Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
    Drill down into one of them and you'll see the option under the list of columns for that content type.
    To apply the column order in the NewDocSet.aspx page, you need to:
    Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
    Content Types section, choose Refresh all published content types on next
    update.
    Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
    More information:
    http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • To create folder in Application server

    hi, How to create folder in application server from presentation server?? how is the program it?? reply me soon... thx, s.suresh.

  • How do I get rid of the history search section on the left of my screen?

    All of a sudden there is a section on the left side of my Firefox online screen that has: Search: [?] [View ] + Yesterday + Last 7 days I don't know how it got there, I've tried disabling plug-ins, personalizing tool bar, etc., and can't get rid of i

  • Text Insets and Cross Reference Links

    When I use text insets to produce a host file from my source file, I have cross reference links that update OK. However, once I produce a PDF of the host file (text inset), my links do not work. I do not even get the little hand icon to indicate they

  • How do I transfer my iCloud from one iPhone to my new iPhone?

    I had an iPhone and I had it backed up on iCloud. I now have an iPhone on my own plan and I would like to have the pictures from my previous phone to my new phone. Can I transfer my photo stream from my old phone through iCloud to my new phone? If so

  • Decimal places in a simple select query

    Hi , I've a very basic query for you. I'm running the Select statement below, and want the Area to be just two decimal places. Is there a simple way of doing this ? I'm having to compare the difference in accuracy between area calculations in Oracle