How to get the elements out of a for loop simultaneously during the loop execution

Hi, 
I am student. I would like to know how to get the counter values outside the For loop parallely while the loop runs rather that getting the finally value outside the For loop. Looking forward for answers.
Thanks,
Athira
Solved!
Go to Solution.

You could use a notifier (since it is a single value) or a reference (with a property node) to a control that gets the value elsewhere in another VI.
If it is within the same VI, you could use a property node (right click > create > property node > value) from the control within the same VI located outside the loop.
If you promiss NOT to abuse the use of Local Variables, you could use that to only write from ONE location within the For Loop to a control outside the loop, similar to the property node mentionned earlier.  (Of course, I will be struct by lightening for mentionning that and scolded by other LabVIEW coders for having a change of heart on the use of Locals....  Shivers are already crawling up my spine).
You could use a queue, but that might be an overkill, unless:  the count is generated faster than it is being read elsewhere...
As crossrulz mentionned, can you describe what you will be doing with the count?  Because synchronizing data (fresh / stale / etc) is very important within LabVIEW as it executes based on dataflow rather than a sequential order.
Hope this helps. 
EDIT: 
You have not fully provided the answer.  We figured that much of your code from your description, but what is reading the value of the count?  Is it in a separate loop?  If not, it may only deal with the first value, which is likely 0.  The proper advice depends on how you process the received data (count).

Similar Messages

  • Hi fellas could anybody know how to get back calendar out from trash to original dock below the screen

    Im having problem getting my calendar out from trash(not deleted) to where this belong to dock below the screen accidently click when im using apps cleaner,i try to swipe my application from trash bin to dock station but keep bounce back to bin,i check on help site said simply open trash bin select the application you want to save,go to top screen see finder then go to file and click say PUT BACK but main issue is that words are grey out ,im on mountain lion version 10.8.4 at the moment for now i can only  use calender by swipe from trash bin to desktop its only i can open than click main dock of calender will say unable to open because it in the trash so can anybody know how to get this out in any way,i dont like to have two icons of calendar on desktop and dock station....i be happy can somebody give advice.......regards

    and prior to that ihave  uploaded my all the photos and videos to icloud from iphoto
    Which part of iCloud are you referring to? iCloud Drive? iCloud Photo Library Beta? My Photo Stream? Shared Photo Stream?

  • I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  Help!

    I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  I have deleted it from iTunes but cannot get it off the phone.  Help!

    The banner usually indicates that the memo is "Paused." If you go back into voice memos, touch the word "Done" beside the big red pause button, give it a name, then it will show in a list. Touch the memo in the list then touch the trash can icon that should appear.

  • I disabled my iPhone 4 and while doing a restore via iTunes,  it is downloading and timing out so the download is not completing. any idea how to get past that?  I have tried many times and the same error keeps happening.

    I disabled my iPhone 4 and while doing a restore via iTunes,  it is downloading and timing out so the download is not completing. any idea how to get past that?  I have tried many times and the same error keeps happening.

    You need to force the phone into recovery mode, as described here, & restore it:
    http://support.apple.com/kb/ht1808
    Sorry, you've already lost all data on your phone.

  • I can't burn a dvd using any method, Idvd tells me that my super drive is missing, dvd studio pro quits when i click burn and disk utility keeps spitting the disk out when i click burn and enter the disk??? how do i repair my superdrive for imac

    I can't burn a dvd using any method, idvd tells me that my super drive is missing, dvd studio pro quits when i click burn and disk utility keeps spitting the disk out when I click burn and enter the disk??? how do i repair my superdrive for imac, or how do I do whatever I need to do to get it working: I have already tried using a lens cleaning cd and also restored my nvram or something i forget what it was called but i restarted my computer holding down  command+optoion+p+r and still nothing???
    Free solutions are the best, although if I have to pay I will, I would prefer to not have to buy an external burner if possible and already know that is an option so please don't give me that answer... thank you for any help you can give

    Unless your iMac is still covered by AppleCare, get an external DVD burner.
    You can get perfectly good ones from Amazon for less than $40.

  • Just upgraded iPhone 3GS to IOS5. Now there's 21GB of Others.  How to get rid of it?  It's taken up all the space on the phone.

    Just upgraded iPhone 3GS to IOS5. Now in itunes I can see there's 21GB of Others.  I have no idea what is that.  I didnt have that before the upgrade. How to get rid of it?  It's taken up all the space on the phone.

    I posted a fix for this temporary issue earlier but here it is in short:
    The memory "hog" that is "others" seems to be the OS as it's installing. It seems to want more than 12GB and you may get stuck at the point where iTunes tries to load everything back on and the iPhone has run out of space. What you need to to is un-check the "sync" box at the apps, music, podcasts and other sections, then click the button to sync iTunes with iPhone. This will result in iTunes deleting all the data it restored, but you'll put it back later. Once you caused the deletion of most of the data, iOS5 will resume installing and then "magically" shrink to less than 1GB. Then you can place check marks back in the boxes and re-sync all your apps and other data. You will have plenty or memory left.
    I followed the above procedure and my iPhone works perfectly.
    Hope this helps.

  • How can I get the apps that I paid for on iTunes and the app store I don't have a computer I paid for them using my ipad and everytime I try to redownload them it asks for my card number and when I put the number in it tells me that the number is not a wo

    Ok can anyone tell how I can get the apps that I paid for on iTunes and the app store using my I pad because I don't have a computer and when I try to redownload the apps it keeps asking me for my card number and when I give it my card info it says that it's an invalid number when I know that it's not

    If you are getting an 'invalid security code' message then is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • I am trying to reinstall itunes 10.5 and am getting the following error message. An error occurred during the installation of assembly "Microsoft.VC80.CRT.type="win32".version="8.0.50727.6195".publicKey Token="1fc8b3b9a1e18e3b"Anyone know how to fix this?

    i am trying to reinstall itunes 10.5 and am getting the following error message.
    An error occurred during the installation of assembly “Microsoft.VC80.CRT.type=”win32”.version=”8.0.50727.6195”.publicKeyToken=”1fc8b 3b9a1e18e3b”.processorArchitecture=”x86””. Please refer to Help and Support for more information. HRESULT:0X800736B3.
    Anyone know how to fix this?

    same problem. tried the ff fixes from microsoft but no joy
    http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/gett ing-error-message-an-error-occurred-during-the/10122022-2d88-4266-a695-6c6ddeafd 019?tab=AllReplies&page=1
    http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/ windows-vista-unable-to-install-itunes-an-error/19b48df7-54c8-47f3-8854-d34118fa a79a
    http://support.microsoft.com/mats/system_maintenance_for_windows/en-us
    other ideas would be appreciated.
    cheers

  • How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP server

    In 9iAS 9.0.2 Oracle HTTP Server (OHS) is pre-configured to assign requests to the Home OC4J instance via the URL-prefix "/j2ee"/
    For example, the TEST servlet under OC4J would be passed through OHS using:
    http://urmachine:urApachePort/j2ee/TEST
    whereas in the standlone OC4J version, this URL works:
    http://urmachine:urOC4JPort/TEST
    How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP Server?

    It is getting the url prefix from mod_oc4j.conf
    under /ora9ias/Apache/Apache/conf
    You can read more on this at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a92173/confmods.htm#1008977
    -Prasad

  • How to get informed by email about changes on service messages of the servi

    How to get informed by email about changes on service messages of the service desk.
    I need a kind of overview
    functional details
    and a very good guideline to do the implementation
    Does anyone know how to do it?

    Hi,
    Go throw this
    Note  691303, Note 1041455
    you will find each and every thing abt  implementation .
    Send mail to Message Processor in Service Desk
    Points if helpfull
    Regards,
    Neni

  • Macbook hard drive crashed, i lost windows for mac, bought a disc when i got the mac, no longer have the disc, need my apps, don't wanna pay for it again.  know how to get it quick without having to give my mac to the genius bar at apple store overnight

    macbook hard drive crashed, i lost windows for mac, bought a disc when i got the mac, no longer have the disc, need my apps, don't wanna pay for it again.  know how to get it quick without having to give my mac to the genius bar at apple store overnight?

    What is it you need - Windows installer disc or something else?  Your question is unclear.  Could you be more specific?

  • How do i set up my 3g sim for my iPad? the sim is already activated but i dont know how to get it to work

    how do i set up my 3g sim for my iPad? the sim is already activated but i dont know how to get it to work

    Setting>Cellular Data>On

  • How to get from Apple (officially) details on my iphone 5 (knowing the serial number): model, date of sale, the date of activation, etc.

    How to get from Apple (officially) details on my iphone 5 (knowing the serial number): model, date of sale, the date of activation, etc. I bought a new iphone 5 on ebay.com - he was used. For a decision on my case ebay asks for this information ...

    Apple will never reveal that info to you, since you were not the originally purchaser. However, you can get the date of sale by entering the SN here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Warranty starts on the date of sale, which is most likely the date of activation, but not necessarily so.

  • How to get / configure data in Tcode "MCTG" for "SIS: Sales Office Analysis Selection "?

    Hello SAP Guru's,
    How to get / configure data in Tcode "MCTG" for "SIS: Sales Office Analysis Selection "? We have implemented SAP ECC 6.0 EHP4 version in the organization. If anybody have any idea, need help .
    Thanks in Advance.
    Prashant Kunjir

    Have a look at the following note:-
    Note 1573200 - How to restructure the statistic data of the sales information system (SIS)
    But before trying to carry out the process as detailed in the above note, first check with other SIS reports like MCTA etc., and no reports are showing correctly, then you can proceed.  Otherwise, you need to raise an OSS message with SAP.
    G. Lakshmipathi

  • How do I licence elements 12, as spaces for sn's not match

    How do I licence elements 12, as spaces for sn's does not match with the spaces on the box or in the store receipt, ( only has 6 blocks for 4 numbers each on the Adobe screen whereas the box has 30 numbers) so it always says: wrong serial number.

    Hi there,
         If I'm not wrong, you are trying to enter the VIN number as the serial number which is not correct. Please locate the Redemption code which is available behind the Box. You will have a Black seal which needs to be removed to locate this code. The code will be alpha-numeric digits and will have 24 digits. You can use the code in the below link to get the serial number:
    https://redeem.licenses.adobe.com/getserial
    If you are still unable to locate any numbers, then please contact Chat/ Phone support who will assist you further as it is not advised to provide the sensitive information here.
    Regards,
    Jairaj

Maybe you are looking for

  • Muse not working anymore

    Hello, Alex here since the last update Adobe Muse is not working anymore for me. The sites open normally but then the Master Pages don't load properly and it freezes all the time. Does it ring a bell for someone? Thanks a lot in advance. Alex

  • Error -3259 "The network connection timed out"

    I've recently encountered a problem while trying to download music through itunes on my computer. My internet is working just fine, and when i click download, the music starts downloading as it should, but after doing nothing for a few seconds, i get

  • Devices freezes for 10 seconds

    In the last few days, when I start using the BB, I get a little icon that looks like a clock and the device is frozen for up to 10-15 seconds.  Then I can return to working with it.  It seems to be doing this more frequently.  It also appears to be u

  • My iphone wont switch bk on

    can anyone help me, my ihpone wont switch bk on, my battery died i put it on charge an nothing has happened since, i've tried holding down power/home button nothing, when i plug it to charger i get apple sign for about 5-10 secs then nothing same whe

  • Issue in JSP on Weblogic

    I am facing one issue Please look into the follwoing thread http://forum.java.sun.com/thread.jspa?threadID=5124070 It is quite urgent ~Aman