Labview FPGA: Why not have local variable without indicator?

In Labview FPGA, to transfer data among parallel loops, there are three ways or maybe more, local variable, global variable and block memory. The problem with local variable is that it needs an indicator along with, not like global variable. I was thinking why Labview doesn't make a kind of local variable not need indicator? I guess local variable itself doesn't cost resource much compared to global variable, however when it comes into indicator, it will cost more. Just an idea, though. I guess there is a reason NI doesn't do that. 

As in Labview document, global variable can be used for transfer data among VIs, which local variable isn't capable of. 
Global variable is not always a better solution. From my experience, it is still unclear among different compilations using local vs global in terms of resources. A thread here http://forums.ni.com/t5/LabVIEW/FPGA-global-variables-vs-front-panel-items/td-p/1407282 talks about that too.
Stephen, is there any documents say that global makes timing worse? I didn't see this noticeable.

Similar Messages

  • Local variable without frontpanel object

    is there a possibility to create local variables without the need of a frontpanel object? I need zhem for program ccontrolontrol but don't want to show them to the user.
    Thanks a lot,
    greetings from Germany
    Karin

    Lynn, Marc, and "tbob",
    Thanks for your replies.  I detect the common theme of keeping my variables in bundles, but I'm not experienced enough to see how to apply this to my problem of communicating between parallel event handlers.  If you have the time and patience, I have attached a very simple example of what goes on in my program.
    I have three independent systems:  a motion system that carries around a microscope and digital camera.  Each system has its own event handler.  The motion system responds to user commands to move the microscope around, the microscope handler responds to changes in focus, zoom, etc, and the camera event handler continuously snaps pictures to provide a "live" image.
    But sometimes the loops need to talk to each other. For example, autofocusing is handled by the camera event handler, because it is based on image contrast, and that is the event handler that is acquiring the images.  So that means the camera event handler should take over the microscope during auto focus.  So the microscope event handler needs to be prevented from trying to get in on the act.
    So here is what the example illustrates:  some motion has just ended "normally".  The timeout event in the motion system signals the camera system to perform an auto focus (and waits for the focus to complete before allowing any movement).  The camera system signals the microscope system to perform a "stop" event, does the auto focus, releases the microscope from the stop event, and signals back to the motion loop that auto focus is done. 
    I, of course, thought this kind of thing was very clever!  More experienced Labviewistas may have other opinions....
    -Geoff
    Attachments:
    too many indicators.vi ‏24 KB

  • I can not create an Installer, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...

    I can not create an Installer on LabView, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...
    Solved!
    Go to Solution.

     Hi Shada this can happen if you are including additional installers to your installer for example DAQmx. When you are doing this the installer has to include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder it updated MAX, so when your installer is trying to Include MAX, its asking for the source where it was installed in your computer in this case Vision Builder.
     Here you can cache the information so its not asked again, or you can download a newer version fo DAQmx, so it will update MAX and change de dependecy.
     You can find more details about this issue in this KB:
    KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installe...
    And for keeping a copy here is more info:
     How Do I Stop the Missing Distribution Notification Each Time I Build An Installer?
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Why not have the concept of pointer,operator overloading  in java

    May you find a solution on why not have the concept of pointer,opterator overloading,virtual function and destructor in java

    Why oh why oh why oh why oh why oh why oh why oh why
    oh why oh why oh why oh why oh why oh why oh why oh
    why oh why oh why oh why oh why oh why oh why oh why
    oh why oh why oh why oh why oh why oh why oh why oh
    why oh why oh why oh why oh why oh why oh why oh why
    oh why oh why oh why oh why oh why oh why oh why oh
    why oh why oh why oh why oh why oh why oh why oh why
    oh why oh why oh why oh why oh why oh why oh why oh
    why oh why oh why oh why oh why oh why oh why oh why
    oh why oh why oh why oh why oh why oh why oh why oh
    why oh why oh why oh why oh why oh why does Java not
    have power steering??
    Please explain conceptIn the 2012 model year, Java will be redesigned with Power Steering, Electronic Stability Control, and integrated Blue Tooth.
    For the OP, just learn C/C++ and then you can have all the fun you want with pointers.

  • Item no does not have a Variable Cost on the Cost Detail screen

    Hi,
    Item no does not have a Variable Cost on the Cost Detail screen. If you use the Product Cost Model, it does have a variable cost. We need to determine the reason for this nonccost. Any idea of what would be the reason is.
    Thanks,

    Hi Friends,
    I, my self resolved the issue. by considering the following 3 rd strategy in
    For Activity Type/Processes: Considered 3rd strategy as below:
    Activity Types/Processes: 1 plan Price for the Period, 6 Most Up-to-date Plan Price
    and 2 Plan Price as Average of All Fiscal Year Periods.
    Now it has been resolved.
    Thanks all.
    Now it is closed.
    Vemula

  • Why not using LOCALs in LOOPs ?

    Why avoiding LOCALs in LOOPs? (I saw some posts that suggest it).
    In my case, I have one button (Stop) and I want to be able to stop the application along 3 different independent loops. How can I do it without locals ?
    Thanks

    The use of a sequence you describe here is ok but I think the goal here is to initialize the local to a known state BEFORE you start reading it in the loops. After the VI has stopped there is no need to set the local false again. Cleanup is usually a waste of time since the VI is stopped anyway. Also for initializing a single local just follow the example attached...
    Michael Aivaliotis
    VI Shots LLC
    Attachments:
    Stopping_parallel_loops_with_locals.vi ‏24 KB

  • Why not have options of downloading older versions

    Here is a link on your site: http://www.adobe.com/products/studio/index.html. I post it for two reasons, one being that the link is for a product that Adobe no longer sells. The other reason is that I can't see why Adobe doesn't offer the opportunity to purchase older versions of their software. I have an admittedly older computer (2000 Mac) that continues to serve me well. I would like to be able to buy a newer version of Adobe software than what I have, but because Adobe doesn't offer this option on their site, my only other option is buying used or possibly counterfeit software from Ebay. I have put off buying a newer version of software for the same reason that most people do: I can't afford it. I don't have 2 grand for CS4 and my computer can't run it anyway, but it can run CS2 or possibly CS3. So wouldn't it be better for Adobe to keep offering products for older computers?
    Laugh if you want about my old machine, but I have used PCs and Macs professionally over the years as a web designer. I will take my old Mac any day. In the time I've owned it I probably haven't turned it off more than 50 times, have never had a virus (I don't even have virus protection) and have never had a disk crash. I believe that there are other people out besides myself who have older computers that would also benefit from the ability to purchase older versions of software.

    Thanks for the response. This is not the package I'm looking for. What I really need is either the Studio 8 upgrade (or complete) or the rare Adobe CS2 Premium Web Bundle, which was a combination of Adobe and Macromedia products from around the time that Adobe took over MM :' (
    The packaging for this looked like an Adobe product on the top half and a MM product on the bottom half and contained pretty much every app worth having at the time it was issued.
    I agree that is would be costly and counterproductive for Adobe to carry and support older products but at the same time I've never used Adobe support for anything. I spent over a half-hour just trying to get someone on the SALES line which you would normally expect someone to answer promptly. And we all know how beneficial robohelp is. I would still rather buy this product from Adobe even if it was without customer support. The best support these days comes from forum contributors anyway...

  • Why not have a section in app store for iOS 4.3 and earlier?

    I LOVE "remote" app and airport.
    Since i have had to restore all my ipods for various reasons, i am now no longer able to download the remote app since apple only supports iOS 5 or later. They have instantly rendered my whole apple setup useless. They are basically telling me that my purchase of their hardware was a mistake and that they only care about people who purchase new things. Which is a great reason not to purchase new things from them.
    What i don't understand is why they simply can't put a version of remote (or any app) in the app store for iOS 4.2.1. and earlier? And allow developpers to support their apps for earlier iOS. So little effort to leave 4.2.1 apps in the store. They could even create a special section based on iOS.
    Now they are forcing me to consider alternative solutions, of which there are many. I simply would never have bothered to do this before since i was so satisfied with apple products. This is a failure from a business and marketing perspective.

    Backing up your current apps helps prevent this loss in the future.   Earlier iOS apps are becoming increasingly difficult to find.  You may want to look at VintApps, new in the Apple app store, that makes this much easier. 
    https://www.facebook.com/VintApps313
    Although there are thousands of available apps to choose from, they will definitively not be the latest greatest.
    I wrote my 99 cent app specifically to help solve this kind of problem.  I need to add that "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • I've build an executable which include Vision Development VI;s. Can I run this exe on another machine wich does not have Vision software without installing some license.

    I seem to get an Vision License not active error  on the the machine I'm trying to run it on.
    So again. I have two machines. Both have LabView (8.5) One has the Vision Development Software with License/activated.
    The second does not. But I would like to build an exe on the first and run it on the second.
    Is this possible with requiring a second license?
    Thanks

    you need a vision runtime license, they run about 300 USD each  (I am pretty sure the vision kits don't come with any runtime licenses... which seems silly, but eh, it happens)

  • Update says another copy is running and does not update if user does not have local admin rights

    An update message popped up when opening Firefox 9.1 Accepted the message to update. Got above error each time I open Firefox as a user without local admin rights.

    Hi,
    Please see [https://support.mozilla.org/en-US/kb/Updates%20reported%20when%20running%20newest%20version#w_delete-update-configuration-files this.]

  • Re. apps - why not have a red ring around all apps connecting to the internet - so you can see which apps you can use off line ??

    I was travelling in europe using both by iphone and my ipad.
    My kids was using both, not knowing that they was using the internet  (3G) for some games.
    It would be great if you could see on the apps whether they connect to the internet or not  - today you can only guess !

    Not sure why you've posted this in the iBooks forum. But if you want to leave feedback for Apple then you can do so here http://www.apple.com/feedback

  • Your scummy Firefox hangs when it arbitrarily decides to update its version. Why not have it send a popup message warning the user so they can close gracefully and safe their work?

    1) This site sucks beyond belief. I tried to click on the "About" button to findthe current version of Firefox and couldn't find it.
    When I came back here, the text I had entered in this window had vanished.
    LEARN HOW TO F*CKING PROGRAM.
    2) The *original* problem was that I was surfing and suddenly the whole computer went very slow, with Firefox altogether unresponsive. I lost some work. WHY DON'T YOU WARN THE USER AND ALLOW THEM TO CHOOSE WHEN TO INSTALL UPDATES?

    Have you considered the Flash update which was released a few days before the Firefox 3.6.14 update may be a big part of this problem?
    Try re-installing the 10.1 r102 version of Flash and see how it Firefox is.

  • Why not have this program in the program Adobe Creative Cloud?

    I does not appear in Adobe's Creative Cloud Adobe After Effects CC!

    Same answer as always: Your computer does not meet the system requirements. Check them on the AE product page.
    Mylenium

  • Why not have a camera profile

    Recently, I am in possession of a Panasonic Lumix DCM-TZ60. If I had my RAW images, s read-in Lightroom 5.7, I see the camera calibration no camera profiles for this camera. According to the Adobe site it should be well known to lightroom vs 5.7. Should I install another plugin?

    @remcor, in addition to what has been said in earlier posts and so that it is abundantly clear. Adobe creates a profile for processing raw files from each and every camera model that it supports, the name given to that profile is "Adobe Standard".
    So when you are working with a raw file from a particular camera model the profile you see in the camera calibration panel and you see Adobe Standard that is the profile that is specific to your camera model.
    If there are other profiles like "Camera portrait", "Camera faithful", etc these are additional profiles created by Adobe to try and match the look of jpegs produced by your camera when specific settings are chosen in camera.
    For a long time only popular Nikon and Canon models were granted this special attention to have these additional profiles but support for other camera models have been included in recent times. However this usually only happens when initial support is introduced, so its unlikely that previously supported models will get any additional profiles.

  • Why not have Touch ID on the new iPads? Is there anyway that I can get it if I send in my iPad Air?

    I would just really like to know why there is no Touch ID on either of the newest iPads. I would like to know if there is a way to send it to Apple so they could change it. What do others think about the topic?

    Feedback to Apple
    http://www.apple.com/feedback

Maybe you are looking for