Help me for build a array as follows

Hi. I need build a array, with the number 10 in all positions of array. For example, if array is of size 10x10, the number 10 must appear in the 100 positions of array. But I need that the number  go storing in array  as follows: That store the number 10 in all row 1 of left to right, in row 2 of right to left and so on. I attached my VI, but i have a problem, the program make well the sequence but the number 10 no storing  in some positions, this positions is inthe extrems of some row,i think that i need to maintain the number of column for two cicles, buy i don't know very....Help me.!!...Thanks!! 
Solved!
Go to Solution.
Attachments:
Fotos_ejeX.vi ‏10 KB

You said you want your array to be 10x 10, but you initialized it to only 9 x 9.
Pay attention to where you increment your index.  You are incrementing your index before you replace array subset.  So on iteration 0, you wind up replacing at index 1 and completely missed index 0.  Increment at the end of the loop after replacing the element, not before replacing the element.
I don't understand the comparisons to 15 and 8.  That seems like odd comparisons when you would be looking at a range of 0 to 9.  Something seems very awkward about comparing to those two numbers, and the use of 3 shift registers to track values when you are only incrementing two indices.
Yes you don't want to increment or decrement your index on the column in the iteration where you are also incrementing a row.  So work that into your logic.
You probably want to stop your while loop when you hit stop OR you've reached the end of your replacements.
I would consider making two For Loops, one that iterates for rows, the inside one iterates for columns.  Shift registers on both to maintain the array.  Then use the i value of the inner loop to replace your element when you are in even rows, or the 9-i element when you are in odd rows.
Since your indices are integer values, you should be using the blue integer datatype rather than orange floating point wires.

Similar Messages

  • Help needed for building report with execution method Java Concurrent prog

    Hi,
    I have saw a report like this:
    The report has executable "XML Publisher Data Template Executable", short name as "XDODTEXE", application "XML Publisher",execution method "Java Concurrent program". Also the report has a XML publisher Data Template and Data definition and in the data definition a .xml file is attached.
    I could not understand what is the data source?
    Could anyone help me on how to build or update this type of report?
    Is there any link or help docs which has proper step by step procedure to build this type of xml publisher report?
    Please help.
    Thanks.

    The xml file which is attached to the data definition is the data source and it has sql queries and structure of xml file.
    Check this out for step-by-step guidance.
    http://www.oracle.com/technetwork/middleware/bi-publisher/overview/xmlebsrep-132947.pdf
    http://apps2fusion.com/at/ps/51-prabhakar/262-xml-publisher-and-data-template-sql-query-to-develop-bi-publisher-reports
    For more on data templates refer user guide
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T434255.htm

  • Good morning, AS3 help needed for building my own site in flash

    Good morning to all,
    I am creating a site in Flash, I am using AS3 to create a
    site that stops/starts the movie on my home page and I have a
    series of buttons that play a head (or are supposed to) to the a
    frame for each additional page. Do I need A.S. for each button as
    well? I didn't think I did. The script below is the first one in
    the layer titled actions, this I thought is supposed to stop/start
    the movie at the beginning and the button abt_mgn_btn is supposed
    to bring it to frame 10 to play my about page. ?? at my frame
    number 10 should I put the stop(); script there as well? And at
    every frame break for the next pages? I am hopelessly in need of
    guidance. Thank you to anyone helping me out.
    import flash.events.EventDispatcher;
    import flash.display.MovieClip;
    this.stop();
    function startMovie(event:MouseEvent):void {
    this.gotoAndPlay(10);
    abt_mgn_btn.addEventListener(MouseEvent.click,startMovie);

    If you have a button on the same timeline as your code with
    the instance name of abt_mgn_btn, then, when this button is
    released, the playback head will jump to frame 10 of the current
    timeline and continue to play.
    If you want the playback head to jump to that frame and stop
    then, either use gotoAndStop(10), or put a stop(); command at frame
    10. GotoAndStop() will work more reliably.
    Have you gone through the tutorials that come with Flash?
    These tutorials may help you to understand the basics of working in
    Flash CS3. You may also benefit from a book or two on Flash. Try
    "Foundation Flash CS3 for Designers" by Tom Green and David Stiller
    from friends of Ed, ISBN 159059861X and/or "Adobe Flash CS3
    Professional, Classroom in a Book" from Adobe Press, ISBN
    0321499824.

  • Lost Newbie, help needed for building dream machine

    Hello everyone!
    I was wondering if you could tell me what you think about this setup for premiere, after effects and speed grade use:
    http://pcpartpicker.com/user/trundrumbalind/saved/#savedbuild_167634
    I know it's probably an overkill, but what do you guys think?

    First off, I would not go for that particular discrete sound card: It is not sufficiently better in quality than onboard audio to justify the $58 cost. What's more, that card is not a true X-Fi card at all; in fact, it is basically a descendant of the old software-based Ensoniq AudioPCI, which (mis)uses the CPU for most audio tasks (there is a controller chip on that card, but that chip is very similar to the codec-based onboard audio).
    Second, the RAM and motherboard are both overkill. In fact, you might not be able to run all four sticks of RAM at anywhere near its DDR3-2133 speed. Intel (and JEDEC) officially limit the maximum memory speed with a fully-populated memory controller to only DDR3-1333 speed. You can run that memory at the DDR3-2133 speed using an XMP profile - but then, you're limited to running only two sticks of RAM total at that speed. Besides, that quad-channel kit is really meant for LGA 2011 platforms, not LGA 1155 platforms. And the motherboard actually costs as much money as or more money than many good X79 LGA 2011 motherboards. Remember, the LGA 1155 platform has only two memory controller channels, not four. The official JEDEC spec allows the implementation of up to four ranks per memory controller channel - albeit at only up to DDR3-1333 speed. With DDR3-1600 and higher-speed RAM as well as all RAM running using XMP profiles, JEDEC officially limits such operation to only two ranks per channel (one double-sided DIMM, such as in all 8GB DIMMs, already eats up two ranks per slot).
    In other words, that setup is a waste of money at that price point. Why spend $2600+ on a limited LGA 1155 build when you could have gotten a superior-performing LGA 2011 build with an i7-3930K for the same price or slightly less? As a matter of fact, I would personally not spend more than about $2000 for LGA 1155.

  • Building an array to a specified format..

    I'm trying to build an array that follows a specified output format. The user inputs columns & rows e.g. C x R...amd the the output should read
    C1 C2 C3 C4.....
    R1 V V V V....
    R2 V V V V ...
    Where each V is not a constant, but a user inputed value. Sorta like a matrix in appearance.
    Any ideas??

    You can use a table control and use a property node to set the number of rows and columns. But that just sets the number of rows and columns which are visible. The user can navigate to additional rows and columns.
    You could create an event structure to keep the user within the specified bounds. You could also remove the scrollbars (right-click on table, goto Visible Items, the deselect Horizontal Scrollbar and Vertical Scrollbar).

  • Help needed in building a demo mobile app for DRM support using Content server 4

    Hi all,
    I am building an application for the blackberry to support reading of pdf and ebuf content similar to Adobe Digital Editions with DRM support . I came to know about the Adobe RMSDK .
    Following is my understanding regarding my implementation , please correct me if i am wrong:
    The DRM implementation on a mobile device for Adobe should satisfy the following criteria:
    1. The mobile device should have a application which uses the Adobe RMSDK.
    2. The publisher or the server app should install and run the content server 4
    3. An acsm file which contains the rights data should be saved stored at the adobe server and should be downloaded by the mobile client.
    4. The urls in the acsm xml file will be used to fetch the content for the ebook.
    I have the following querries:
    1. Is there an implementation of the RMSDK for java to run on blackberry.
    2. Is Adobe content server 4 free to install, if not do we have a test server for this purpose.
    Thanks in advance for the help.

    Hi Jim,
    Thanks for your kind reply. I have some more querries
    Suppose if we have a client implementation of the Adove RMSDK in java,  please help answer these querries:
    1. How do we connect to the cs4 server (what will be the flow of data, is there a documentaion regarding the protocol to be used between the mobile client and the cs4 server in order to communicate and fetch Rights protected ebuf and pdf data.
    2. The link http://www.adobe.com/products/digitaleditions/library does not give me information of how to use this library to store by ebook data and fetch  drm data from the mobile client and the protocol/communication followed.
    3. How do i go forward in evaluating acs4( getting a test version of cs4 and using it ). We want to build a demo app in blackberry.
    thanks
    Amit

  • How can build help file for right to left and non english language

    hi erverybody, i have a big problem ,please help me
    i creat a c# appliction with vs.net2005 and i want to write
    help file for it .i need a software to creat help file for non
    english language(such as persian or arabic) and right to left
    support . i tried many helpware chm builder tools but each of them
    made a problem .i dont know what to do .what is the best solution
    for creating help files for right to left and non english languages
    how can i build my help file with f1 helping ability .thank u
    so much
    Text

    Hi Mr_Sia and welcome to the RH community.
    You could try looking at the HAT Matrix. This is a comparison
    of all the help tools around. Click
    here to go to it.
    RoboHelp itself, whilst it does support over 35 different languages
    does not support Persian or Arabic.

  • Efficientl​y building an array of increasing values for a graph

    I need to build an array of values increasing by 3E-8.  Initializing an array and changing each value in a while loop works fine, but it is terribly slow.  Is there a better (faster) way of building an array of increasing values like this?

    Thanks for the suggestion, it looks like that could do what I'm looking for.  A kind tech solved the problem for me by phone -- I knew it was reading and writing the entire 100,000 element matrix to memory at each step, but I couldn't figure out how to get it to stop.  A shift register brought the run time from over 2 minutes to under 1 second.
    Thanks again for responding!
    Message Edited by Deamiter on 11-07-2006 06:46 PM

  • I am constantly getting hte "connection has been reset" message. I followed instructions in the help section for this & now it's worse. I am using 6.0. Please help!

    I cannot do anything online because I constantly get the "connection has been reset" message. This has never happened before. I followed instructions on Firefox help page for this message and it only made it worse!

    Firefox 2.0.0.20 is the last ever version of Firefox for Win98 / SE / ME.
    You can get it from here, but you are better off using K-Meleon (derived from Firefox) or Opera instead an old version of Firefox:
    [ftp://ftp.mozilla.org/pub/firefox/releases/2.0.0.20/win32/en-US/]
    You can try KernelEx to get Firefox 3+ to work, but it would be very slow with an old PC of less than 750Mhz. 3.5 and later supposedly doesn't work.
    http://sourceforge.net/projects/kernelex/

  • Build 1D array using for loop

    Hi guys,
    I am testing out array. How do I create a 1D array of x-y using for loop?

    Nextal wrote:
    I am testing out array. How do I create a 1D array of x-y using for loop?
    OK, first of all you did not say what the array should contain. If you want an array that has one array element for each iteration of the while loop, you need to first think a bit harder. Your outer loop has no wait, thus it will spin millions of times per second and you will run out of memory soon, no matter how much memory you have. How many times should the while loop iterate? If you know the number before the program starts, you would use a FOR loop and autoindex at the loop boundary.
    If you want to use a whiile loop, you need a mechanism to keep the array size reasonable. For small final arrays, you can just build the array in a shift register if you need it updated as it happens. If you only need the array after the loop stops, you can autoindex at the right loop boundary.
    In any case, you should take a step back and decide what you really want. Currently the specifications are very vague and unreasonable.
    LabVIEW Champion . Do more with less code and in less time .

  • HT201210 Hi, cant update IO6. After downloading the update and processing it through Itunes on my mac.... and I have a factory unlocked Iphone 4S. Cant update the software. Waring message is say this devise is not eligible for build. Please help.

    Hi, cant update IO6. After downloading the update and processing it through Itunes on my mac.... and I have a factory unlocked Iphone 4S. Cant update the software. Waring message is say this devise is not eligible for build. Please help.

    Download iTunes using the tab at the top of this page. Then run the update with iTunes closed.

  • Methods to build an array inside a For Loop.

    Let me introduce to you my nested For Loops:  
    They output a 2D boolean array depending on two 1D boolean arrays of different lengths.  This is all well and good however, in another part of my program, I want this to be a 1D array instead.
    Idea #1:
    "I'll just reshape the array at the end. Simples!"
    Idea #2:
    "Hang on, why am I using three primitives outside the loop when I can use just one inside it along with a shift register?"
    Idea #2.5:
    "Oh, wait... I remember reading somewhere about continuously building an array (with concatenate inputs) inside a loop being a bad thing and quite slow. Let me test this."
    Spoiler (Highlight to read)
    Idea #3:
    "Umm... okay, so actually the second way is faster.  I think if I initialize the shift register first then replace subsets of the array, that might also be better."
    Spoiler (Highlight to read)
    Idea #4:
    "Yep - seems much better. (Something to do with LabVIEW not having to constantly allocate more memory on every iteration of the loop)  Looking at this closer, I don't actually need the inner For Loop because of the way I'm handling the arrays.  Try again...!"
    Spoiler (Highlight to read)
    Conclusion(?) #1:
    "Well I seem to have arrived at something that looks messier, but executes about 6x faster than my initial idea. That said, the difference rapidly increases as the input arrays get much bigger (becoming orders of magnitude different)."
    Is this the most efficient way of doing what I want?  Or is there something even better (and works in LV 8.5)?
    Never say "Oops." Always say "Ah, interesting!"

    Thank you both for the feedback.  It never occurred for me to recheck the logic after I'd initially extracted the nested For Loops, but the AND gate output is obviously the same now that it's been pointed out!
    Continuing on with Idea #4, I replaced the Select with an AND then compared the times.  (also meant I didn't have to initialize one of the arrays anymore)
    Spoiler (Highlight to read)
    It appears that the AND gate was slower but then I tried with different sizes of initial arrays and in one case, the timings were 'reversed'.
    This only happened when the top array (the one that is fed into the AND gate whole) was reduced to a length in the region of 5 elements long.
    Spoiler (Highlight to read)
    Why does this happen?  Is it something to do with the AND gate possibly being optimised for single element operations so smaller arrays are handled better...?
    Never say "Oops." Always say "Ah, interesting!"

  • I am trying to put sound fonts into a playable format in garageband. I followed all of the instructions on the sound font help page for Garageband, but I still cannot play the sounds, or get them to show up. Any suggestions?

    I am trying to put sound fonts into a playable format in garageband. I followed all of the instructions on the sound font help page for Garageband, but I still cannot play the sounds, or get them to show up. Any suggestions?

    Sorry, I was confused by your profile signature showing "GarageBand (Mac) '11".
    It is very similar in the newest GarageBand 10.0.2: 
    Enable Audio Units in the GarageBand Preferences > Audio/Midi.
    Create a software instrument track.
    Show the Smart Controls and click the button.
    In the Info panel scroll, to make the Audio Units brick visible and click the "Instrument" control.  Select "AuInstrument > Apple > DLSMusicDevice" and click it, to open the settings.
    This should show you a panel, where you can select a Sound Bank. Does that show your sound font?

  • Error message in trying to use local content in Adobe Community Help of Flash Builder

    Hi,
    I have set my Adobe Community Help application preferences of Flash Builder to 'Display local content only'.to Yes.
    I also disabled my internet connection to use local help content only.
    I get the following error message when trying to access any of the links from Help home page.
    To view the requested page, connect to the Internet or deselect "Display Local Help content only" in Preferences.
    I understand this is due to all the links point online HTTP urls.
    But why cannot the local help content be accessed when it is already downloaded to local and the 'Display local content only' option is set to Yes?
    This saves me a lot ot time otherwise using Adobe Community Help is painful even for a short period of time.
    Thanks,
    Ram Manoj Kongara.

    Hi, Ram -
    To help troubleshoot your problem, can you please do the following:
    In the Adobe Community Help application, go to Edit > Preferences.
    Select Local Content.
    The list of Help packages downloaded locally appear. Make sure that the status of every Help packages reads “Current”. If the status of a Help package reads  "Out-of-Date”, select that Help package, and click Update to download the latest Help package. Note that to do this, you have to be connected to the Internet. Once you fully download the Help packages to your desktop, you can access Help offline.
    One other thing that I would want you to check is the Adobe Community Help Client version that you are using. To check that, in the Adobe Community Help application, go to File > About Adobe Help. The build version should be 3.2.0.610.
    Let me know if this helps. If the issue still persists, we can investigate further.
    Thanks,
    Mallika Yelandur
    Technical writer, Adobe Flash Builder

  • No local help files for Photoshop CS6 extended

    Hi
    I wish to use local help files for Photoshop CS6 but only online support is available. Local files are not listed under the Adobe Help preferences. The option to search only local rather than online help is greyed out. I found and downloaded a PDF with of the help files but don't know where to install it or if this is possible. I have CS 5 Creative Suite and this works fine giving the option of local or online help when accessed.
    Is there a way to install and use local help files in photoshop CS6?
    Thank you.

    Hi and thanks for directing me to that article, it should have done the trick. I am using mac mountain lion 10.8.5.
    The help system has always operated oddly - I have Photoshop cs6 but also the cs5 master suite installed. CS5 works fine but Photoshop cs6 only gives the option for online help and then directs me to the CC site. There is no simple listing for just Photoshop help in the help menu - presumably as it is not seeing it installed
    I tried various configurations in the article, having to set up the folders they suggested. In my case, in a variety of alternative places as I have a boot up volume with the documents folder moved onto a RAID array so the Shared folder is not in the documents folder but in Users on the boot drive. So - confusing - but tried all the likely candidates and folder configurations/locations while following the instructions as closely as possible. Even tried an documents folder alias to redirect the program to the alternative path way.
    At least now I have the PDFs and can look through them outside the adobe interface. The problem with the community site being questions regarding photoshop alone, yield answers for all sort of other issues and programs.
    Thanks for your help though, which should have worked, appreciated.

Maybe you are looking for

  • Billing block

    Hi ALL, WE HAVE CONFIGURED BILLING BLOCK IN OUR ORDER TYPE FOR CREDIT MEMO REQUEST IN V0V8. THIS BLOCK AUTOMATICALLY APPEARS WHEN WE CTREATE A CREDIT MEMO REQUEST IN VA01 T CODE. NOW THE REQUIREMENT IS THIS FIELD SHOULD BE GRAYED OUT IN VA01 TRANSACT

  • My averages in Numbers for IPad are incorrect

    I'm not sure why but my averages are incorrect as the formula goes. I would do the math myself, but it's more than just once. Any ideas what I'm doing wrong? I'd love some help. I'll try to post a screen shot.

  • Index seen in RoboHelp does not match CHM

    I have a project which has conditional text and topics to enable me to create different CHM Help files for four variations of an application. I haven't noticed any problems with the indexes in previous versions of the Help files that I've generated b

  • ERROR WHEN USING JHEADSTART TO GENERATE ADF BUSINESS COMPONENT FROM DESIGNE

    Use JDeveloper to generate a ADF Businness component using Jheadstart from Designer the following error is thrown oracle.jmig.source.ExtractorException: Caught SQL exception:ORA-01795: maximum number of expressions in a list is 1000 at oracle.jmig.so

  • Playing an album switch to another and the old one keeps playing

    If I am playing a song from an album and I switch to a different album, the original will continue to play. Do I have (some way) shut down the old album before I can play a new one?