How do I cerate an array with a set of numbers lets say 1 through 12 random order but no repeating.

How do I cerate  an
array with a set of numbers lets say 1 through 12 random order but no
repeating.
I know this should be easy but my brain wont work
right now
Solved!
Go to Solution.

OK, here's the handmade version.
It is useful to know that arrays of clusters are sorted by the cluster order of the elements. Simply bundle random numbers with numbers 1-12 in a loop, create an array at the output tunnel, sort the array by the random number, and extract the number array. It will be shuffled.
Message Edited by altenbach on 06-04-2007 09:20 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
shuffleArray.png ‏5 KB

Similar Messages

  • How can I see shared pc with firewall set to allow only essential services?

    How can I see shared pc with firewall set to allow only essential services?
    So far if I set it as above then shared does not show up? I have to set the firewall to set access to specific applications and services to get access to my windows based hard drive.
    Cheers
    Mike R

    Ok I solved it myself. Not an ideal solution as I have to connect it manually each time but it will do... Unless anyone has a way to have it auto connect when I start the mac.
    Cheers
    Mike R

  • How do I get in contact with apple print services support Australia when my Print Order (book) keeps being cancelled (for no known reason)

    How do I get in contact with apple print services support Australia when my Print Order (book) keeps being cancelled (for no known reason)

    Portables that will not Power on.
    Try another power outlet.
    http://support.apple.com/kb/TS1365
    Go step by step.
    Note: Steps 5 and 6
    Best.

  • Anyone having issues syncing iPhone with Microsoft Outlook 2007?  iTunes says it is syncing but it will not update calendar or contacts.  It just stopped working a few weeks ago.

    Anyone having issues syncing iPhone 3GS with Microsoft Outlook 2007?  iTunes says it is syncing but it will not update calendar or contacts.  It just stopped working a few weeks ago.

    I'm glad to hear that I'm not the only person struggling with exact issue.  I've rebooted, upgraded, re-installed, pulled all my hair out as nothing works.
    The biggest dissapointment with this thread is that nobody seems to have responded with a solution.
    And yes I've managed to pull together enough intellegence to tick the box "sync to outlook" in iTunes - still nothing man.
    Definately does not sync from phone to PC and is very hit and miss on PC to Phone.  In other words now running 2 seperate calendars - Not helpful Jan.

  • How can I create a array with all files from a directory

    How can I create a array of files or varchar with all files from a directory?

    I thought the example could be improved upon. I've posted a solution on my blog that doesn't require writing the directory list to a table. It simply returns it as a nested table of files as a SQL datatype. You can find it here:
    http://maclochlainn.wordpress.com/2008/06/05/how-you-can-read-an-external-directory-list-from-sql/

  • How do I populate an array with a directory listing.

    I have a web site that has its photos updated by another person using a content management system that I have written. As Dreamweaver does not know about these extra photos, if I try to
    syncronise the site on my machine for backup purposes, Dreamweaver downloads all 5000+ photos, and this can take upwards of 12 hours if there are no breaks in the connection.
    So I am trying to write a page that creates an array of the existing files on the remote site. It will then do the same on my local site, and by comparing the arrays, will make a list of the new files, and then download these, which will save a lot of time and bandwith charges.
    First I have to read the directory list, using the code below which reads and echos it on screen.
    However, I cannot work out how to populate the required array.
    <?php
        try
        {          /***photo directory ***/
            $it = new directoryIterator('../web/thumbs');
            while( $it->valid())
                  /*** echo if not a dot directory ***/
                if( !$it->isDot() )
    /**** Array creation code needs to go here I think.***/
    echo $it->current()."<br />";
         /*** move to the next element ***/
                      $it->next();
        catch(Exception $e)
            /*** echo the error message ***/
            echo $e->getMessage();
    ?>
    This creates a list of files and displays it on the page.
    How do I store it in an array?
    Howard Walker

    Although not the solution you were looking for, consider the following:
    Click the icon in DW for "Expand to show local and remote sites."  Arrange the remote image directory by "Modified date," Then select all the recent images and GET them.
    I find the above method good enough for occassional synchronization. I also simply ignore broken image links on the testing system.
    If the above is not a solid enough solution, perhaps someone else will write your array function for you. I don't have the time.

  • How do you highlight several cells with the mouse in numbers

    how do you highlight several cells with the mouse in numbers

    Hi David,
    Using only the mouse, you can select a contiguous range of cells using the method described by dwb.
    For larger (but still contiguous) ranges you might prefer this method:
    Click the first (top left) cell of the desired selection.
    Scroll to the last (botom right) cell of the desired selection.
    Shift-click the bottom right cell to select it, and all of the cells in the rectangular array defined by this and the top left cell selected in step 1.
    To select two or more non-contiguous cells:
    Click on the first to select it.
    Command-click on another to add it to the selection.
    Repeat as necessary.
    Regards,
    Barry

  • How to get message ID's with reference to PO numbers.

    Hi experts,
    There is requirement that we need to resend the messages manually from sproxy for a particular interface, they gave only the PO numbers.
    How can I check the Message IDs corresponding to the PO numbers?
    I created a UDMS but we require the time ranges also, that which we doesn't have.
    Can you please help me in this...
    Thanks in advance.
    Regards,
    Sunita

    Hi Sunitha
    Unfortunately there is no standard transaction by which you can get the message id from the PO number.
    You can try to configure to user defined message search in ECC system using PO number as search field. After you do that you will be able to see the messages in MONI using PO number.
    Check this document for more details
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/803b22cf-ad75-2f10-0790-da055f2e8c0e?overridelayout=t…

  • Can't do facetime with a friend and it always says he is busy but he is not

    I can never talk to my friend over facetime because it always says he is busy but it is not true even if we by each other but he could facetime me but I can't to him

    - Is the email address you are calling him with also listed on your iPod in Settings>Messages>Send and Receive?
    - Have you tried when you are conncted to another network?
    iOS: Troubleshooting Messages

  • Has there been trouble with the charger.  I am getting to re-order but the one i had the had the power surge and the end was blackened.  Not sure if it safe to use the laptop again?

    Has there been any trouble with the charger?  I am getting ready to re-order but the one i had.... the had the power surge and the end was blackened.  Not sure if it safe to use the laptop again?  Thanks.

    Can you also see blackening in the power jack on the PowerBook? If so, I would be worried that the surge also damaged the computer/
    Does the computer run OK on just the battery? If it is working on battery power, that limits the number of things inside the computer that could have been fried.
    If the computer is severely damaged by the surge, it's not worth repairing. However, a couple of posters in Apple forums said their homeowners'/renters' insurance paid them replacement value of their computer after power surge damage due to known problems on the grid, like the huge power outage that hit the SW Untied Stats and part of Mexico yesterday.

  • TS1702 Trouble with updating my apps. It says it is updating, but has been saying that for three days and I can't use the app. What do I do to cancel or update?

    Trouble updating apps already downloaded. It says it is updating, but I cannot use the app , and it has said that for three days. Also have tried downloading new apps. They appear on the iPad, but they are dark and saying downloading. How do I cancel or get them to go thru?

    Use iTune (computer) to update the apps. When completed, sync to iPad.
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%204/94f1fe0cf3c66737ba5 7a4e6b92df1a6.jpg

  • How do I create an array with variables also splits words  in a txtfile?

    Hello guys,
    I made a script that reads a text file.
    function readMyFile()
    var myFile=File(app.activeDocument.filePath + "/LareLog.txt");
    if (myFile.exists)
            myFile.open("r");
            var Temps =  myFile.read();
            alert (Temps);                          // message the content
            var nyRad=("\n");                    // break the line
            textArr=Temps.split(nyRad);
            alert(textArr);                          // message the content with all info on new lines ("\n");
            myFile.close();
    my textfile contains:
    ~/Desktop/3.indd ,Thu Mar 20, 2014, 11:26:34 , GMT+0100
    I wonder how do I sort the content in array
    in this order, also creates variables for each string.
    var= string 1[~/Desktop/3.indd]
    var2=string 2[11:26:34]
    var3=string 3[11:26:34]
    var4=string 4[2014]
    var5=string 5 [GMT+0100]
    Thank you in advance people.

    Hmmh?
    Jump_Over said it before: „… are stored as separate array's elements …“ in your [textArr]
    So you can create now variables on this way:
    var string_1 = textArr[0]; // and so on
    alert(string_1);
    See Java Scripting reference for more examples how to use Arrays.

  • 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 get round problem with itunes. I get message saying computer isnt authorised to play some tracks Ive downloaded, tells me to authorise which I do, then a message appears saying the computer is already authorised but I still cant access the track

    how can I get round the problem I have with itunes. I have bought and downloaded various tracks to my library. When I try to sync my iphone from my PC I get a message on screen saying that it is not authorised to play them and tells me to authorise the computer by clicking store, entering apple id and password then clicking authorise this computer. I do that then get a message saying that my computer is already authorised yet when I try syncing the track again the same thihng happens. Im getting nowhere!

    If only some of the songs on an album are giving you the authorisation message, that suggests those song files are damaged.
    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • TS2481 How do I sync google calendar with Ipad 2 thru the cloud. Used to work, but now I've lost it. Maybe a setting?

    What setting do I use on my Ipad 2 and Iphone 3GS to enable google calendar to sync thru Icloud between my 2 devices? Thank you!

    Hey JonC84
    Thanks for the question. You can definitely sync your new iPod touch with the local calendar on your computer (you won't need to setup an account like iCloud). The following article may help you achieve this:
    iOS: How to transfer or sync content to your computer
    http://support.apple.com/kb/HT1296
    Contacts, Calendars, Bookmarks, and Notes
    You can sync contacts, calendars, bookmarks, and notes with other applications on your computer. This allows you keep all your information in sync across multiple computers and iOS devices. The settings for these items are all in the Info tab for your iOS device in iTunes. With your iOS device connected to the computer, select your iOS device. Then click the Info tab.
    Calendars
    To sync calendars with your computer, choose "Sync Calendars" or "Sync iCal Calendars."
    - When syncing calendars, you can sync all calendars or sync specific calendars.
    - You can limit the data that is synced to only events that have occurred in the last 30 days. The option can be changed to any number of days.
    For additional information, see this article (while the article refers to iTunes 11, most steps are applicable for you):
    iTunes 11 for Mac: Sync contacts, calendars, and other info with iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12117
    Thanks,
    Matt M.

Maybe you are looking for

  • WLST script is throwing errors under for loop

    I'm new to wlst and getting the below errros while running the script. the name variable within cd command does not replaced with right value and abort the error. I would appropriate if some can point me to right direction. cat serverName2.py connect

  • Permissions problem with internal disk

    Thank you in advance for this, you will be saving me 3 years of student design projects. I own a Mac Pro and installed an extra 350 gig WD internal HD. It has worked great for a few months but recently I think I messed it up by clicking "ignore owner

  • Grrrrrr.... ipod Mini freezes when connecting to mac

    when i connect to synch with itunes - itunes does not recognize ipod ipod freezes with regular screen (not the "do not disconnect" screen) itunes recognizes my 40GB ipod and synchs fine; just not the mini i have done the following with no success - r

  • Backup strategy for ebs R12?

    Hi, I have a couple of questions regarding to backup strategy for ebs R12. Let's say that we have one application server and one database server running, and we would like to have a backup periodically for both servers. This means that we want to hav

  • System status HU Lock

    Hi, Could some one explaine about system status HU ? I have HU with system status is lock. why is lock ? lock by user or by transaction ? Thanks & Regards, Saiful arif