When i run exe built in Labview 7.1 the memory usage goes on increasing

Dear Sir/Madam
I have built an application in LabView 7.1. When i run this application and view the memory usage in Task manager, i find that the memory usage goes on increasing.
Please help.
With Regards
Ravindra Kumbhar

Hi, Ravindra,
It looks that you have memory leak in your application.
There are lot of possible reasons for memory leaks - opened in cycle and not closed references, continuosly growing arrays, memory allocation in own DLLs, etc.
Normally you should have the same behaviour in development environment as well (memory of LabVIEW.exe incresed continuously).
You should check the code, which executed repeatable (while/for loops) for allocated, but not closed resources. What you can do is following - remove (or isolate) parts of you code, executed in cycles, then check is leak present or not. So, step by step you will found the place where leak occurred.
best regards,
Andrey. 

Similar Messages

  • How to open a file by double clicking in an RUNNING exe built by LabVIEW

    I am developing an applicationg using LabVIEW. But found some difficulties.
    This is an editor, and I link this app to a certain file format.
    So I hope when I double click this file, My exe will load it. This could be done by read application command line.
    But if my exe is runing already, I double click the file, I could not get the latest command line information.
    When the exe is running, How doule click the file to send some sort of info the this exe so the exe could open a new one.
    How to do this in LabIVEW?
    Solved!
    Go to Solution.

    Hi,
    You have to make the Vi reentrant so that it does not share the same memory location:
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • To invoke an application exe built using Labview from python.

    I am trying to invoke an application exe built using Labview from python.
    I am able to invoke labview vi, send and receive data. But if I change the vi to exe, it doesn’t work.

    This is more of Python. I can suggest you another way, if you can do those changes to your existing code.
    This is what I do: If I have to communicate between 2 different platforms I use "File" as a communication medium (Simple method). So if you want to pass data to the LabVIEW code from python, write the data to the file from Python and read the data in LabVIEW and vice versa. I generally use *.ini files for this purpose.
    The best solution is the one you find it by yourself

  • When I run this script nothing is output to the screen or spooled to a file

    When I run this script nothing is output to the screen or spooled to a file. What do I need to do to get output from this script.
    SET SERVEROUTPUT ON size 100000
    DECLARE
    v_schema     Varchar2(50);
    v_statement      Varchar2(500);
    v_name varchar2(30);
    v_id varchar2(8);
    v_pwd varchar2(16);
    v_acct varchar2(16);
    CURSOR get_schemas IS
    SELECT DISTINCT owner
    FROM all_tables
    WHERE table_name = 'USERID'
    ORDER BY owner;
    BEGIN
    OPEN get_schemas;
    LOOP
    FETCH get_schemas INTO v_schema;
    EXIT WHEN get_schemas%NOTFOUND;
              v_statement := 'SELECT name,usid,passwd,acctnum INTO v_name,v_id,v_pwd,v_acct FROM '||v_schema||'.userid';
              execute immediate v_statement;
              DBMS_OUTPUT.PUT_LINE('Name='||v_name||' ID='||v_id||' PW='||v_pwd||' AC='||v_acct);          
    END LOOP;
    CLOSE get_schemas;
    END;
    /

    Do I include several variables after the INTO or just
    one?
    How do I loop through the record and print the
    individual variables?
    I appreciate your assistance!He already gave you the answer above:
    v_statement := 'SELECT name,usid,passwd,acctnum FROM ' || v_schema ||
    '.userid';
    execute immediate v_statement
    INTO v_name, v_id, v_pwd, v_acct;
    If this is not printing any output, it is because you don't have a table named USERID... what are you trying to do?

  • Am running Firefox 7.0.1 now. Normal memory usage is 157mb but when running Facebook (not running apps nor games), it goes up to 553mb Why?

    Am running Firefox 7.0.1 now. Normal memory usage is 157mb but when running Facebook (not running apps nor games), it goes up to 553mb Why?

    I encountered the same type of problem. Firefox running terribly slowly and slowing down my entire machine (Core i5 with 256GB SSD). Searching the forums, I found a couple of things about troubleshooting performance issues, one of which was to use '''hardware acceleration''', that is on by default. It was turned on on my PC, '''so I tried deactivating it, and it worked!'''
    So doing the exact opposite as Mozilla support said solved the problem. It is really a pain now to work with Firefox. I'm using it because I have no choice, but I'd recommend IE and Chrome over Firefox... Whatever, the market will decide once Firefox has become to crappy...

  • I have purchased and installed acrobat XI pro. When I run it a window pops up saying the the serial number I have provided is valid but a qualifying product cannot be found on the computer

    I have purchased and installed acrobat XI pro. When I run it a window pops up saying the the serial number I have provided is valid but a qualifying product cannot be found on the computer

    YOu have purchased or been sold an upgrade from Acrobat 9 or 10. You simply need to prove you own that old version using its serial number. be sure to keep both serials forever.

  • When I run ical on my mac I get the error:   The server responded with an error. The request for account "Yahoo!" failed. The server responded with "504" to operation CalDAVAccountRefreshQueueableOperation.

    When I run ical on my mac I get the error:  
    The server responded with an error.
    The request for account “Yahoo!” failed.
    The server responded with
    “504”
    to operation CalDAVAccountRefreshQueueableOperation.
    I hit "go online" and almost immediately I get the same message again.  Any ideas?

    I am tired of how Yahoo has gotten worse and worse. It is the ONLY account I get problems with DAILY (even after removing and re-adding). AOL will act up once in a while not taking a saved password but accepting it when OK is clicked.... But Yahoo is always responding with such errors.... Today's calendar error is:
    The request (CalDAVAccountRefreshQueueableOperation) for account “Yahoo” failed.

  • Run exe file while i'm using the program

    hi there how can i run exe file while i'm using the program

    Hi,
    Hopefully HOST() command will do it. For more info about HOST() command look for documentation. Hopefully it will work fine.

  • I have a problem when i am connecting my mbpr to a monitor , the internet is going very slow when i connect to the monitor plz help me if i buy a vga to minidisplay it will help??

    i have a problem when i am connecting my mbpr to a monitor , the internet is going very slow when i connect to the monitor plz help me if i buy a vga to minidisplay it will help??

    dovdov2,
    are you saying that when you connect your MacBook Pro to a monitor, your Internet connection slows down, but when you disconnect the monitor, it speeds up again, and that this is reproducible from one day to another?
    Does this happen both under OS X and under Windows 7, or only under one of them?
    How are you currently connecting your MacBook Pro to your monitor?

  • I have problem that changes i make wont be saved it all goes back to the same date that i had this problem for EX: when i ever change my desktop photo and reopen the macbook it goes back to the same photo that i had before.

    i have problem that changes i make wont be saved it all goes back to the same date that i had this problem for EX: when i ever change my desktop photo and reopen the macbook it goes back to the same photo that i had before.

    Might be corrupted preferences ..
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.desktop.plist
    Click Go then move the com.apple.desktop.plist file to the Trash.
    Restart your Mac and try changing the desktop photo.

  • Creating Properties and Methods for an exe built in LabVIEW

    Hi all,
    How do we create properties and methods for an executable built in LabVIEW.
    I know when building an exe, the "Enable ActiveX server" option in advanced has to be enabled.
    But after that how do we create Properties and methods for the activeX component.
    Your help is greatly appreciated.
    Regards,
    Muthuraman S
    Regards,
    Muthuraman

    You cannot build your own COM specific properties and methods for the ActiveX interface in LabVIEW, the only thing exposed are the normal VI server properties and methods.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Run exe constructed in labview 6i without loaded nidaq drivers.

    Exe is constructed using labview 6i. It would be convenient to install the exe and run time engine on the HDD,
    and execute as a demonstration program, without loading the nidaq drivers.
    No daq card in pc, nidaq would be on CD. Suggestions are appreciated.

    If you want to run an exe without loading DAQ drivers, you will need to ensure that no DAQ calls are statically linked in the final executable. As waldemar.hersacher mentioned, you can do this by using VI server for all your DAQ calls, then calling stub routines if you are using the laptop for demo purposes. It would probably be easiest to put all your DAQ calls into a few subVIs and call those dynamically instead of each individual DAQ VI call. If you miss one, your launch will fail when DAQ is not present (you will get the standard LabVIEW searching for subVIs dialog and then a message telling you that you need the full version of LabVIEW to correct the problem).
    There are lots of ways to switch between the "demo" mode and the "live" mode. A dialog which pops up on startup and is accessible from the menus is the most obvious.
    Good luck. If you need more hints, let us know.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Receive an error when closing my program built using LabVIEW applicatio​n builder

    When I close my program built using LabVIEW application builder I receive an application error,"The instruction at "0x77fcb1ad" referenced memory at "0x023a0010". The memory could not be "read". Click OK to terminate the program"
    I have no idea why this is happening.

    This is most likely due to a reference or similar left open. You will experience this if you leave an image undisposed in IMAQ as well.
    Check all of your references and be sure you are cleaning everything up.

  • Running exe files in labview (or alternatives)

    I am currently trying to make LabVIEW communicate with a DT3155 frame grabber. It reads exe files programmed in c. I initially wanted to call the dll libraries of the frame grabber and rewrite the code into sub-VI's, but then realized it would be much too big for me to make. Is there any way to call on exe files in LabVIEW, so that I can run a program whenever I wanted to perform a function? And if not, what other options can I consider utilizing? Sorry if this question is too basic, I'm just starting to learn LabVIEW. Thanks in advance for any help you guys can offer to me. ~Josh

    To run an EXE, you can use the System Exec function on the communications palette. You can pass command line parameters to the EXE. The tricky part is usually getting the EXE to pass data back to LabVIEW. I did a Google search for DT3155 and LabVIEW and found a couple places that sell LabVIEW drivers. This is the option that I would go with. One of them is at http://www.alliancevision.com/net/lv_driv_frmgb.htm.

  • Does a stand-alone EXE built with Labview 8.2 return a return code?

    My application is an executable that was built from a VI in Labview 8.2. I'm expecting a return code of this stand-alone executable after the execution, however couldn't find a way to control the return code of the application.
    Does a stand-alone executable built with Labview 8.2 return a return code? If yes, how is this code controllable?

    Hi Tdot!
    Thank you for contacting National Instruments.  It looks like your question is something that many others have run into.  This topic is discussed here, and looks to be answered along with a couple of suggestions.  I hope this helps!  Let me know if there is anything else I can clarify.  Have a great day!
    Jason W.
    National Instruments
    Applications Engineer

Maybe you are looking for

  • 'Share' functionality in SHarePoint 2013 - Prevent access to files

    Hello I have a client that has just moved to SP2013 and they used the send document link as hyperlink in email functionality of SharePoint 2010 regularly.  THis was good for them because if the link was sent to a user that did not have access to a do

  • High Level language Interprete​r in labVIEW?

    This is a question of curiously: is anyone aware of any high level language interpreters written in LabVIEW?   I recently wrote my own BASIC like language interpreter as part of a custom LabVIEW test suite to allow scripting without needed to edit th

  • Exporting entire library to jpegs

    I've been diagnosed with cancer a second time. Long hard battle ahead with chemo and then a stem cell transplant. Needless to say, getting a few things in order and looking at "legacy" decisions in the sense of what I am leaving my daughters by way o

  • DataGrid/ComboBox/ItemEditor

    Hi all, I've got a DataGrid, "dg", whose dataprovider is set to an array of "thing" objects. Each row then has several columns using a custom renderer, a canvas containing a combobox. The combobox's dataprovider is set to thing's array of "subthing"

  • Outlook not saving default profile

    When I start outlook 2010, I click an option to save my default profile.  But when I start up, it doesn't remember my settings. Is there a way to fix this? What does "set as default profile" really mean?