Using the CLFN, a DLL stays in memory until?

According to question 28 on the LabVIEW Recertification Exam (discussed here)
A dll called through the Call Library Function Node (CLFN) in a subVI remains in memory until
c. An empty path is wired into the same CLFN
I've been away from LabVIEW lately - as of 8.5.1 there was no place to wire an "empty path".
Has something changed since? 
Is answer "D" correct?
Thanks/Cheers!
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

The ability to dynamically specify the DLL file to use has been added to LV in one of the recent versions. I believe it actually should be in 8.5, but I'm not sure.
I never used it, but I believe you need to explicitly enable it in the configuration dialog (i.e. the default mode is to use a static path).
I don't know what answer D is, but it would seem reasonable that the DLL would be unloaded if you select another (or no) DLL.
Try to take over the world!

Similar Messages

  • PSE crashes when using the Detail Smart Brush  plenty of memory and speed -please advise

    PSE crashes when using the Detail Smart Brush  plenty of memory and speed -please advise

    I have a similar thing happening here, but on my aging iMac8,1 (3.06, 6 gigs of ram, plenty of internal and external scratch space) No wacom here, a Logitech mouse though, running via USB overdrive.
    With me it's undos that are typically causing the hang, and as such, I notice it happening and don't keep clicking around. It hangs for anywhere from 30 seconds to 3 minutes or so and then I can continue working.  Once, it was happening on a document I had open for a while, once it was occurring on a file I opened, made an errant click, and hit undo.  This was a 46.6 MB CMYK tif. I also had it occur while drawing a simple selection with the polygonal lasso - each time it would hang on the third click.  That time, it would unhang, but then the selection would be all messed up and not display what was being selected.
    Each time it happens, I see photoshop pinned at 99-100% in iStat.  Doesn't seem to be related to running out of memory, as there is usually a good amount free when it's happening.  I tried using the internal drive as the swap, and that didn't seem to matter.
    I've been forced to go back to CS5 for the time being, but would love to see this solved.  Is there any further info I could provide?

  • How do you use the windows User32.dll Library functions to read variables from other applications that are running

    I am trying to read a text box from a programme running at the same time as my Labview application using calls to the Windows
    User32.dll. I believe I need to find the window handle for the 'form' containing this text string and use this together with
    various other defined input variables to access the sting.
    I have no experience of using this 'Call Library Function Node', but have an understanding of the 'C' programming language. Does anyone have
    example Labview code showing how this might be done.
    Thanks

    If you're trying to access information that's being displayed in the window of another application and that application has no ActiveX interface, then yes, Windows calls can be used. There's a very good example on calling DLLs that ship with LabVIEW. Open the Example Finder (Help->Find Examples) and switch to the Search tab. Enter "Call" in the search box and open the VI "Call DLL". Run the VI, select any of the examples, and click the "Open Example VI..." button. That shows you how to call a DLL.
    Now, given that you have no experience in calling DLLs, have only an "understanding" of C (which to me means you have never written something like a DLL), and don't seem to know that much about what Windows functions you may need, you're going to find this route pretty difficult, especially since you have to deal with Windows API calls, which are not always that easy to do from LabVIEW.
    Let me propose an alternate solution. Go over to http://www.autoitscript.com/autoit3/ and download AutoIt. This is an automation tool that allows you to automate just about anything you want. It has an ActiveX interface that you can call from LabVIEW. I've attached an example VI that shows you how to use it to get the value of a text box from one of the tabs in the computer "System Properties" control panel applet.
    Attachments:
    AutoIt Example (v7).vi ‏25 KB

  • I want my privacy settings with using the location bar to stay at NOthing

    Hi. I cannot stand how the location bar works with Mozilla. I have went to 'Privacy', clicked on "when using the location bar, suggest", and then clicked on NOTHING. It does not stay with this setting, but goes back to showing everything. I don't want everyone in my house seeing exactly what I have been doing, nor do "I" want to see the addresses and bookmarks listed here. If I want to view all of that, I will got to "bookmarks" or "history".

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    If you do not want that data to appear if the location bar history is enabled then use [[Clear Recent History]] to clear the history when you exit Firefox or use [[Private Browsing]] mode.

  • "No enought room on startup disk for Application Memory" when using the Accelerate Framework

    Dear colleagues,
    I am running what I know is a large problem for a scientific application (tochnog) a finite element solver that runs from the Terminal. The application tries to solve 1,320,000 simultaneous linear equations. The problem starts when I use the Accelerate Framework as the Virtual Memory size jumps from 142 G to about 576 G after the library  (LAPACK) is called to solve the system.It does not do it if I use a solver that does not calls LAPACK inside Accelerate.
    The machine is a mac pro desktop with 8 GB of ram, the 2.66 GHz Quad-core Intel and the standard 640 GB hard drive. The system tells me that I have 487 GB available on hard drive.
    The top instruction in Terminal reads VM 129G vsize when starting. When I run the finite element application once the LAPACK library in the Accelerate framework gets called, the Virtual Memory (VM) jumps to 563 G vsize.
    After a short while, I get the "No enought room on startup disk for Application Memory error"
    This is a screen capture of the application attempting to solve the problem using the LAPACK library inside the Accelerate framework: Here are the numbers as reported by the activity Monitor.
    Tochnog Real Memory 6.68 GB
    System Memory  Free: 33.8 MB, Wired 378.8 MB, Active 5.06 GB, Inactive 2.53 GB, Used 7.96 GB.
    VM size 567.52 GB, Page ins 270.8 MB, Page outs 108.2 MB, Swap used 505 MB
    This is a screen copy of the same application solving the same problemwithout using the Accelerate framework.
    Tochnog Real Memory 1.96 GB,
    System Memory  Free: 4.52 MB, Wired 382.1 MB, Active 2.69 GB, Inactive 416.2 GB, Used 3.47 GB.
    VM size 148.60 GB, Page ins 288.8 MB, Page outs 108.2 MB, Swap used 2.5 MB
    I can not understand the disparity in the behavior for the same case. As I said before, the only difference is the use of Accelerate in the first case. Also, as you can see, I thought that 8 GB of ram memory was a lot.
    Your help will be greatly appreciated
    Best regards,
    F Lorenzo

    The OP had posted this question in the iMac Intel forum.
    I replied along similar lines, but suggested he repost this in the SL forum where I know there are usually several people who have a far better grasp of these issues than I.
    I would be interested in getting their take on this.
    Although, I think you are coming to the correct conclusion that there are not enough resources available for this process, I'm not certain that what you are saying on the way to that conclusion is correct. My understanding of VM is that it is the total theoretical demand on memory a process might make. It is not necessarily the actual or real world demand being made.
    As such, this process is not actually demanding 568GB (rounded.) As evidence of that, you can see there is still memory available, albeit quite small, in the form of free memory of 33.8MB and inactive of 2.53GB (the GB for that figure, above, seems like it might be a typo, since for the process when not using Accelerate the reported figure for inactive was 416.2 GB -- surely impossible) and 7.96GB used. The process, itself, is using 6.68GB real memory.
    In addition, I question whether the OP has misstated the 487GB free drive space. I think that might be the total drive capacity, not the free space.
    My guess is that it is the combination of low available memory and low free drive space prompting this error.
    From Dr. Smoke on VM:
    it is possible that swap files could grow to the point where all free space on your disk is consumed by them. This can happen if you are very low on both RAM and free disk space.
    https://discussions.apple.com/message/2232469?messageID=2232469&#2232469
    This gets more to the actual intent of your question...
    EDIT: Looks like some kind of glitch right now getting to the Dr. Smoke post.
    Message was edited by: WZZZ
    <Hyperlink Edited by Host>

  • After Effects is NOT using the full Twelve GB of memory on my Mac Pro late 2013 dual video cards

    I would like to know if there is a reason why AE CC12 and CC13 (2014) is not using the full amount of video card memory on my MP late 2013. It's six GB per freaking card I invested in and its not accessing it.
    Is there a work around this issue?

    Why shouldn't it. When I upgraded to this new Mac Pro late 2013 with its dual video cards. Premier turned into a blasting fast editor. I no longer need to render my edited cuts and the scrubbing of preview and timeline footage is phenomenal. The only performance boost I've seen in AE with this new system is in rendering and I can't even say its double as fast in comparison to Premier or Encoder and its an 8-Core system with 32GB of ram. Everything else is flying.
    So again to answer your why should it. I rebuttal with "Why shouldn't it". The other two mentioned programs are using GPU resources to improve performance why is AE so behind the curve.
    I'm not the only one asking why. I was in the audience at a Dmala meeting here in LA with Todd Kopriva and Al Mooney previewing AE and Premier 2014.
    People kept asking Todd about performance boost in between questions about new features. Todd finally just asked what do you prefer a couple of new features or performance boost. Everyone wanted performance boost over new features. If you think I'm making this up go ask Todd Kopriva.

  • Do I need to be accredited to use the SAP SDK?

    Hello,
    I am software developer working for a small company that uses SAP BO 2005A in the finance and sales department.
    I recently discovered the SAP SDK installed on our machines (server and PC's), and after some research and looking at people's sample code here, I have successfully written a small Visual Basic application that could create Sales Orders automatically, saving the company time not having to do the manual entry.
    Would anyone know if I would be breaking any SAP contract or agreement if I was to run my little application ?
    Do I need to be accredited to use the SDK?
    Much appreciated.
    Ed Roman
    Melbourne - Australia

    Hi Lisa,
    The SAP service provider looking after us, is very drakonian, My management senses that the contract we have with them could ban us (the Client or anyone else) from interfacing SAP in ways that are not via the SAP Front End.
    We recently approached them for a quote to build us a simple Stock checking web service function plus an Order loading application and we were hit with a 20,000 australian dollar quotation, which is close to 15,000 us dollars:- quite excessive in my opinion, given I have just built the application in a few hours using the SDK, I realise we are getting over quoted!
    Wanting to be helpful, and being a dotnet developer, after having done plenty of research here at the SAP Developer Network, I have learned how to use the SDK and now I realise how simple it is to interface SAP using the Business Objects DLL.
    However, if I run my application using the SDK I fear that our SAP provider could sue us for breach of contract. They might say they hold the exclusive rights to SAP on our Inrastructure to using the SDK DLL's directly.
    I want to play by the rules, and I would like to ask them directly where I stand using the SDK, but this might antagonise them and God knows what else! After all, they wuold like to be selling us their solution, if you know what I mean.
    It would be nice if I could contact SAP directly and get the truth on the matter.
    I appreciate your feedback immensely.
    Ed

  • Function HypSetSheetOption of the lib HsAddin.dll is not working good

    Hi all,
    i have a problem with a macro excel that uses the library HsAddin.dll.
    First of all, the macro excel runs on Microsoft Office 2003; the version of smart view installed is 9.3.1.1.2.004 and the server has Microsoft Windows Server 2003, with Service Pack 2.
    In my macro i have put a variable like this: varOpzione = HypSetSheetOption(R_NOME_FOGLIO, 16, 1). The macro takes a list of excel worksheets, refreshes those and then overwrite the refreshed sheets. With that variable initialized in that way, POV's members are displayed with member names and aliases. This is a problem for the users that work on the refreshed sheets, because, after the refresh they are not able to work on the sheets and refresh those again manually.
    I have read this page: http://www.tcclab.com/Fresh%20Upload/Hyperion/SmartView/Docs/help/frameset.htm?/Fresh%20Upload/Hyperion/SmartView/Docs/help/hsv_help-13-50.htm#546380
    in which is written that in order to display only member names i have to set parameter 0 instead of 1. I have done it, but in this way, macro does not retrieve any sheet. The error i got for every sheet is 'error during the retrieve'. I can't understand why this is happening.
    Is there someone that could help me solving this issue?
    Thank you in advance for your help.
    Anna

    The JDeveloper probably has a differnet vesion of the XDK - we have to be careful of the uptake of new versions to make sure we don't have any regressions.
    <?xslt:maximum?> in the RTF becomes
    <xsl:value-of select="xdoxslt:minimum(.//Measures.Dollars)" xdofo:field-name="xdoxslt:minimum(Measures.Dollars)" />
    with:
    <xsl:stylesheet version="2.0" xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.xdo.template.rtf.XSLTFunctions">
    Of course that works ONLY in xml publisher. I also would strongly recommend that you try the RTF templates.
    Klaus
    Edited by: KlausFabian on Mar 17, 2010 1:08 PM - correct typo

  • How do i get the onclick state to stay on until another button is clicked?

    Im using edge animate and i am trying to create a button that has a different gradient when it is clicked on but when it is clicked the state only shows for a second and then disappears. how do i get the onclick state to stay turned on until another button is clicked?

    You can try to toggle the browser.shell.shortcutFavicons pref on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config

  • Firefox stops loading webpages when uses 99% CPU ( mozcrt19.dll )

    When are opened differents webpages ( not many pages, even with 2 ) Firefox uses 99% cpu and doesn't load pages anymore until i restart it or kill the process. ( sometimes i need to kill it because the process never finishes ).
    With a process viewer software, i can see this file using the CPU ( mozcrt19.dll ). This is an intermittent problem, there's no a specific page.

    This is why i hate free software.
    Support sucks.

  • Is it possible to save when I use the trial version of Flash Professional CS5?

    I downloaded the trial version so I could work on the final project for class but for some reason when I tried to save it my computer froze up. Is this because the save feature is turned off for the trial version or was it just my computer? If I can't save using the trial version than I wasted memory on my computer and a lot of my time downloading the trial version that isn't going to be very useful to me.

    The trial versions have no restrictions on use and you can save what you create, so it was most likely your computer.  Make sure your machine meets meets the minimum requirements. 
    The harddrive memory is not wasted, it is recoverable when you uninstall.  If you are talking about RAM, it is only used when you run the program.  The time you say you wasted downloading shouldn't have been necessary... downloading happens without the need for your participation, so you could have let that run by itself while doing something else.

  • HT4260 Ho to configure the "Roaming Network" using the current AirPort Utility

    Hi, I have a question about this roaming network. With the current AirPort Utility I do not know how to select "share a public IP" on "connection Sharing" on the first AirPort. Maybe someone can tell me how to configure this. It would be great if Apple would update this...
    Maybe this is important: I use a Time Capsule as my first base station. The second one is a AirPort Extreme and the third one an Airport Express.
    If I just set the first device to "Bridge Mode" I loose the internet connection with my cabel modem. I get the message "No Internet Conection". If I hook up my mac to the cable modem via ethernet the internet ist still functioning.
    The funny thing is that I can use the internet for a couple of minutes until it does not work anymore. Everytime I change something the the settings of the Time Capsule (Bridge Mode to DHCT & NAT) I can use the internet for a couple of minutes...??
    Thank you!

    Using AirPort Utility 5.6:
    Connection Sharing: "Share a public IP address":
    Connection Sharing: "Off (Bridge Mode)":

  • Large file copy to iSCSI drive fills all memory until server stalls.

    I am having the file copy issues that people have been having with various versions of Server now for years, as can be read in the forums. I am having this issue on Server 2012 Std., using Hyper-V.
    When a large file is copied to an iSCSI drive, the file is copied into memory first faster than it can be sent over the network. It fills all available GB of memory until the server, which is a VM host, pretty much stalls and also all the VMs stall. This
    continues until the file copy is finished or stopped, then the memory is gradually released as it is taken out of memory as it is sent over the network.
    This issue was happening on send and receive. I change the registry setting for Large Cache to disable it, and now I can receive large files from the iSCSI. They now take an additional 1 GB of memory and it sits there until the file copy is finished.
    I have tried all the NIC and disk settings as can be found in the forums around the internet that people have posted in regard to this issue.
    To describe in a little more detail, when receiving a file from iSCSI, the file copy windows shows a speed of around 60-80 MB / sec, which is wire speed. When sending a file to iSCSI, the file copy window shows a speed of 150 MB/sec, which is actually the
    speed at which it is being written to memory. The NIC counter in Task Mgr shows instead the actual network speed which is about half of that. The difference is the rate at which memory fills until it is full.
    This also happens when using Window Server Backup. It freezes up the VM Host and Guests while the host backup is running because of this issue. It does cause some software issues.
    The problem does not happen inside the Guests. I can transfer files to a different LUN on the same iSCSI, which uses the same NIC as the Host with no issue.
    Does anyone know if the fix has been found for this? All forum posts I have found for this have closed with no definite resolution found.
    Thanks for you help.
    KTSaved

    Hi,
    Sorry if it causes confusion but "by design" I mean "by design it will use memory for copying files via network".
    In Windows 2000/2003, the following keys could help control the memory usage:
    LargSystemCache (0 or 1) HKEY_LOCAL_MACHINE\CurrentControlSet\Control\Session Manager\Memory Management
    Size (1, 2 or 3) in HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameter
    I saw threads mentioned that it will not work in later systems such as Windows 2008 R2.
    For Windows 2008 R2 and Windows 2008, there is a service named Microsoft Windows Dynamic Cache Service which addressed this issue:
    https://www.microsoft.com/en-us/download/details.aspx?id=9258
    However I searched and there is no update version for Windows 2012 and 2012 R2.
    I also noticed that the following command could help control the memory usage. With value = 1, NTFS uses the default amount of paged-pool memory:
    fsutil behavior set memoryusage 1
    You need a reboot after changing the value. 
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Resizing an array of struct inside a DLL using the memory manager

    Hi all,
    I dug deep inside the boards, but wasn't able to find a solution for my problem.
    I'm building a dll, which does some imageprocessing and should return an array of structs to labview, with one struct for every element in the image.
    As I don't know the number of elements beforehand and the limit of the number is numbers of magnitude larger then the expected one, I don't want to allocate such a huge chunk of memory prior to the dll call in labview.
    In a former version I used a 2d array for the elements, where each row holds the values of every element. Here I used the NumericArrayResize-function, which worked quite well. But I have to add more sub-processes and using structs (or clusters in labview) appears to be more usefull and cleaner for me, in addition I had to cast some of the elements back and foreward a few times.
    So one element-struct should hold 2 singles and 1 uint32. My question is now, how can I resize this array of struct with memory manager functions as the NumericArrayResize-functions does not suit this purpose?
    (Accessing a given array of structs inside the DLL and after that reading the changed values in Labview is surprisingly easy )
    Thanks in advance
    Solved!
    Go to Solution.

    Well, I was able to solve it myself. I found this thread, where the first post of rolfk made me thinking. It appeared to me, that the numericarrayresize-function behaves very similar to the realloc-function of c. So I used the type unsigned int 8 (which is just one byte) and multiplied it by the number of bytes used by one struct, in my case 12 bytes (4+4+4) and then multiplied it by the number of structs (elements in the image) i have. Luckily it worked and the memory block was resized exactly as I wanted it to be. Important to note: do not forget to adjust the size element of the handle, otherwise Labview does not know about the changed size.

  • My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any

    My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any advice is helpful. This has never happened in 6 years

    answered in your other thread LR 4 suddenly no longer recognizes files.

Maybe you are looking for