The below vi is not giving me what I want. If I select 2 with maximum number of 3 then there are 3 array elements display that is correct but if I select 8 with the same maximum number of 3 then only 1 array element display. Why is that?

The below vi is not giving me what I want. If I select 2 with maximum number of 3 then there are 3 array elements display that is correct but if I select 8 with the same maximum number of 3 then only 1 array element display. Why is that?
Attachments:
test2.vi ‏29 KB

It's because in case 2 you hold the array build result from the previous loop iteration in a shift register...in case 8 you do not...
You say that if you set the maximum number to three it will produce an array with three elements, that is not correct, it will run when the iteration index is 0,1,2 and 3...resulting in 4 elements. If you want 3 you need to decrement the maximum number to 2. The same goes for case 8.
MTO

Similar Messages

  • The developers at Mozilla are not giving me what I want

    The developers at Mozilla are not giving me what I want. What I want is a program that doesn't slow down and then crash when I have too many windows open, which is what both 3.5 and 4.0 have done. Instead, I am getting new features that I don't want, like my tabs on top (an illogical place to put them) and a big orange button which forces me to make an extra click when I want to open a menu.
    The last stable version of Firefox was version 2. When I bought a new computer and got Windows Vista, version 3.5 wouldn't even open. When I upgraded to Windows 7, version 3.5 would open, but it slowed down and crashed constantly if I had too many windows open. Version 4 is doing the same thing, but this version freezes repeatedly before it crashes, giving me the message "(Not Responding)".
    So what do I do? Well, I go on the Mozilla site to send them a message, and I am confronted with condescending smiley and frown faces and a message box that is limited to 140 characters. So then I tried to find the forums, only to find no link at all to the forums. So not only doesn't the program work, but I am not allowed to send detailed feedback.
    What was once a good product is now a piece of junk, and the people who are developing it don't seem to care that it doesn't work, and they treat their users with nothing but contempt.

    Right-click in the empty space near the orange button and deselect "Tabs on Top" to get the tabs back to where they used to be.
    For the orange button, apparently this addon will get rid of it: https://addons.mozilla.org/en-US/firefox/addon/app-button-remove/
    I haven't tried the above addon because I happen to like the new button. (I also had the TinyMenu addon installed on previous versions.)
    I had a ton of problems with random crashes in 3.6, but in my experience 4 is worlds better. I've been using it for about a month and only had two crashes, while 3.6 was crashing almost every day. What addons do you have installed? It could be that your crashes and freezes are being caused by one of the addons.
    I know what you mean about Firefox developers, though. I have been increasingly disillusioned with their tendency to label bugs as new features, and if 4 hadn't been such an improvement for me, I probably would've switched to Chrome.

  • I recieved an email from itunes stating that someone was trying to use my apple acct.  I then emailed apple but the email address was not apples. What should I do?

    I recieved an email from itunes stating that someone was trying to use my apple acct. so I was going to email apple but noticed that the email address was not apples.  What should I do if anything?  Thanks

    dont give your password. in fact change your apple id password.  treat the email as spam/phishing
    Peace, Clyde

  • HT201406 i'm having to double click everything & the slide feature is not working.  What's the problem?

    i'm having to double click everything & the slide feature is not working.  What's the problem?  Resetting fixes it for a couple seconds then it goes right back. 
    i.e. If I go to open my mailbox, i have to 1st select the icon. then double tap it to open.  same thing once I get to an email.

    At a guess, turn off VoiceOver:   Settings > General > Accessibility > VoiceOver.  Use three fingers to scroll.

  • I can't print a photo because the ICC profile is not installed.  What do I do?

    I can't print a photo because the ICC profile is not installed.  What do I do?

    Try from the Editor "Save As"
    Then choose jpeg with sRGB profile.

  • HT5242 I keep getting an error, and the Java Update will not install. What can I do?

    I keep getting an error, and the Java Update will not install. What can I do?

    Never mind. I kept trying, and finally when I opened "About This Mac" and clicked the software update from there (as opposed to the "Software Update" just below), the Java update finally worked.

  • HT201210 Trying to update iTunes; says "iPod could not be updated because the firmware file is not compatible." What does this mean????

    I was syncing my iPod and got the message that an update was available. I downloaded the update and just as it was almost finished, I got an error message. It couldnt' update my iPod because the "firmware file is not compatible." What's up with this? I've never had any problems before with this iPod or with my iPhone 4S before this.

    Update your iTunes to latest version.
    Try restoring your phone in DFU Mode, if that doesn’t work then try downgrading your iTunes back to iTunes 8 and try again.

  • When I connect my iPhone 4S to my MacBook Pro, the synchronization process by iTunes failed with the following message "My iPhone could not be synchronized, because the synchronization process has not started". What does that mean?

    Hello,
    When I connect my iPhone 4S to my MacBook Pro (through the USB port), the synchronization process by iTunes failed with the following message "My iPhone could not be synchronized, because the synchronization process has not started".
    What does that mean?
    Thanks in advance for fixing my problem.

    I think I remember hearing that if you quit iTunes with your device still connected, then open iTunes up again, it should work.
    EDIT: Here, this might help: http://support.apple.com/kb/ts1567

  • Mavericks 10.9.1 keeps erring during the download and will not complete.  What do I do?

    Mavircks 10.9.1 keeps erring during the download and will not complete.  What do I do?

    Get the official version of Firefox here: http://www.mozilla.com/en-US/firefox/
    As long as you '''''don't''''' select the option to '''Remove Firefox personal data and customizations''' when you un-install that "Yahoo version", you won't lose anything.

  • HT1386 can not sync my ipod to itunes.   itunes recognises my device and i was able to transfer books from my ipod to itunes but it will not transfer from itunes to ipod.  the sync option is not hilighted..What do i do now?

    My ipod will not sync fom library to ipod.  The sync option is not hilighted.  What do I do now?

    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    Do the songs play in iTunes?
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod        
    Do you have any Restrictions (Settings>General>Restrictions) set that would prevent syncing those songs?

  • I got a light room 5 and once i put in the serial number its asking for an older version serial number.  I had downloaded a 30 day trail few months back , but I dont hinki it had a serial number since it was only a trail version.

    I got a light room 5 and once i put in the serial number its asking for an older version serial number.  I had downloaded a 30 day trail few months back , but I dont hinki it had a serial number since it was only a trail version.  I got it directly from Adobe a few hours aga and when I am trying to call them, I am on hold for the last 30 mts

    You probably purchased a upgrade License so you will have to contact Adobe to get a refund and purchase the "Full Version".
    At this link. Products

  • TS1574 optic digital port can't be shut off and the sound of speakers not working! what to do?

    optic digital port can't be shut off and the sound of speakers not working! what to do?
    this happened after taking out the head-phones. Now even after pressing CMD+ALT+P+R when booting - the sound of booting appeares BUT after the desktop is ready the sound doesn't work and sound buttons show the sign "circle with crossed line"

    If there is a red light visible in the audio output port, the switch id stuck.  Insert the earphone jack a few times.  If that fails to trip the switch, try a toothpick or similar device and jiggle it inside the port.  If that fails, try a shot or two of compressed air.  If still no success, go to a repair facility.
    Ciao.

  • I am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    i am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    Did you check your security software (firewall)?
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]

  • HT201210 When trying to restore the iPhone 4, I get a message that says "The requester resource was not found." What does this mean?

    When trying to restore the iPhone 4, I get a message that says "The requester resource was not found." What does this mean?

    Hi timtim89,
    Thanks for visiting Apple Support Communities.
    You may need to restore your iPhone after placing it in recovery mode. See this article for the steps:
    iOS: Unable to update or restore
    http://support.apple.com/kb/ht1808
    Regards,
    Jeremy

  • I can not register. requires a bank card. when choosing a card the word "no" is not present. What to do?

    I can not register. requires a bank card. when choosing a card the word "no" is not present. What to do?

    You are supposed to be able to set up an account without a credit card. See HT2534 - Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card.
    If you've already created the Apple ID that you want to use and are now being asked for a credit card try the method given here. If you use this I'd be interested to know how you get on because I haven't yet had the time to try it myself.
    tt2

Maybe you are looking for