Problems building exe that includes dsc (vi's always in memory, causing an error)

Hi,
Thank you for your time and expertise. I am trying to build an executable (Win2000, Labview 6.0.2 and DSC) but am consistantly being told that a group of vi and ctl files are already in memory. I have removed all non-essential cards, restarted my computer and attempted to build from a blank vi. Nothing should be in memory. Would there be a service running (from boot up) that is causing this? There is nothing left in my icon tray that would indicate that this is so.
Please note that one of the vi's is entitled "dsc_Engine Status.vi."
Nathan

Here is the problem:
You are attempting to build an application that uses VIs that are in memory. They are in memory for two reasons: One, you are using VIs that are used by LabVIEW, and two, they are used by LabVIEW DSC when it runs, by the service manager.
There are two solutions. One will get you there quickly. The other, will solve all of your applications building problems now and forever.
I will give you both and let you decide, however, I recommend the first, as it will solve your problems anytime you build an application.
Solution 1:
Open your top level VI(s). Open the VI Hierarcy. Select the option that allows you to view the path of the VI when you do a mouseover. Go to each and every VI, global, and control. Ensure that each is in your development or deployment directory, and NOT in /National Instruments/LabVIEW...etc directories. These are NI Core functions, and you should build with a copy only. This will take a lot of time, and may cause crashes (I had problems changing things in the hierarchy.) Try doing a "save all" about every 3 or so VI that you change. To change the location, you must first stop all services. Goto the Service Manager and select "Stop all Services". This should unload all the callers for these functions. Now, go to the hierarchy, and for everything in the LabVIEW directories, open it, and "save as" in your directory. This will cause the callers to look in your directory for the copy you are using. As I said, save all once in a while. Also, when prompted to affect the change in all VIs in memory, select YES.
When you have copied all resources, save all once again, and close everything, including LabVIEW. Now close LabVIEW. Take the directory into which you moved all of these functions, and move it off the computer temporarily (don't rename, remove to a different drive, or a zip drive). Then restart LabVIEW. If anything got moved incorrectly, you will be asked to search for it. Open a new VI, and select save all, to remake the file search paths stay with LabVIEW. Do NOT have your project open when you do this.
Now, replace your folder where it was originally, and restart LabVIEW. You can now build your application.
Solution 2:
Start LabVIEW. Goto the Service Manager and select "Quit Service Manager". When prompted, select yes to stop all services and quit.
Now build your application.
The reason the first solution is better is because you always want a copy of all NI Resource VIs, Globals, and Controls in separate location for your build. This not only prevents issues such as the one you mention above, but also solves a lot of other issues, including any changes to those core functions that may occur in newer versions of LabVIEW that may affect your program.
Good luck.

Similar Messages

  • Problem building swc that contains s:SolidColor with manifest file

    Hi all,
    I have a problem compiling a library with the command line compiler. The problem is that when I don't use a Manifest file, everything compiles as expected. When I specify a Manifest file for building my swc, I get an error "Could not resolve <s:SolidColor> to a component implementation".
    My library consists of one class, which is: Test.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
      <s:Rect x="50" y="50" width="100" height="100">
        <s:fill>
          <s:SolidColor />
        </s:fill>
      </s:Rect>
    </s:Group>
    This is my Manifest.xml
    <?xml version="1.0"?>
    <componentPackage>
              <component id="Test" class="Test"/>
    </componentPackage>
    This commands gives no error and results in a swc successfully
    compc -output TestLibrary.swf -include-classes Test -source-path .
    This commands leads to the error "Could not resolve <s:SolidColor> to a component implementation"
    compc -output TestLibrary.swf -include-classes Test -source-path . -compiler.namespaces.namespace http://test Manifest.xml -include-namespaces http://test
    I think this is the correct way of creating an swc using a Manifest file. Is this correct (so this is a bug?) or am I doing something wrong?

    There's nothing about that VI I can imagine causing an error on build. You might try doing a force compile of your app to track it down. Try opening up your top level VI, hold CTRL+Shift and hit the run arrow at the same time. If it gives you a broken arrow, you can bring up the error list to try to find it. Maybe this will help locate the problem. If you haven't already, might not hurt to do a mass compile of the SPC VI's also.

  • Problem building exe with dynamic vi

    Hi all, i'm using LV 8.2 evaluation version to build an executable file for my test platform. This platform calls for individual test vis dynamically.
    I can export the platform vi into exe alright but it always fail to run the test vis dynamically when called by the platform. I know the platform is working alright as it's able to successfully traverse through all my operating states, but when it comes to the state which contains a subVI which calls these test vis dynamically, nothing happens and it just proceed with the next state. The even wierder thing is that the program then enters my default state (which isn't even on the list of states for that particular operating mode!)
    Based on this result i can say that the platform is working fine as it was able to call various subvis and traverse through the defined states (except for the default state case). Thus i guess it must be something which i did wrongly during the build process which caused it not to run my dynamic test vis. I spent the whole day trying various build options but it still doesn't run my dynamic vis.
    Any ideas?
    PS: Does the build process automatically import the MAX settings?

    No, it's not a cracked version just to make myself clear.
    Dennis, i don't think it's a problem with the path as the exe does not have any problem loading other text configuration files. Yes, i've included them under the dynamic vi and support files option.
    Attachments:
    Build option for LV8.2 eval.JPG ‏31 KB

  • How can i build exe which includes report generation tools,in labview 2010

    I hv made exe.
    I hv appended template word file to NewReport.vi.
    when I m executing application,It is nt generating report.
    Tell me the solution...!

    Try this: http://forums.ni.com/t5/LabVIEW/get-doc-report-generation-working-in-build-does-work-in-LV/td-p/1790...
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Sites w/ .pdf or .ashx documents as the full page or as an insert in the page don't load the .pdf or .ashx documents - I get an Problem Report window that says "Firefox Plugin Process quit unexpectedly"

    Sites w/ .pdf or .ashx documents as the full page or as an insert in the page don't load the .pdf or .ashx documents - I get an Problem Report window that says "Firefox Plugin Process quit unexpectedly" and sends the error to Apple so I have had to revert to Firefox 3 getting rid of 4. Anybody have any thoughts?? (I'm runnng OSX 10.6.7)
    pdf was at
    <http://www.brigham.com/MSDS/Dust%20Mop-dust%20cloth%20treatment.pdf>
    ashx was my utility bill on
    <www.pse.com>

    OK, I think I have this solved. After reading my post over, I decided to rethink the problem. First thing I did was download Chrome and I tried using that and IE again and surprise! I was having the same problem on those browsers as well. So now we know it wasn't Firefox. I then figured maybe a slow computer meant a virus, so I ran scans. I've had both Avast and IOBit for months now and I've never had a problem with either of them before. Then I downloaded Malwarebytes and ran a third scan. They all picked some stuff up, but nothing serious. Then I tried disabling all the antivirus stuff and that didn't solve anything. But then I decided to keep Malwarebytes and I uninstalled IOBit Security and whammo - problem solved.
    I have no idea why out of the blue IOBit would be causing a problem like this so if someone knows, please let me in on the secret. Additionally, IE was working fairly well last night but not this morning. I also don't know why removing IOBit would take care of the nsAppShell issue, because supposedly, that's related to Firefox plug ins. And one more thing...when Comcast hooked my neighbor up to cable, they did it by putting a splitter on my line. They were messing about with the lines yesterday before I got on my computer last night trying to decide how to rerun them and today they did that, taking the splitter off my line and giving my neighbor his own line. That was finished about 30 minutes before I uninstalled IOBit. So....who knows?
    But I ain't about to look a gift horse in the mouth. I have my Firefox back and I am so sorry for bad mouthing you last night - I love you, Firefox!

  • Build exe for DSC security tools

    Hi All,
    I am developing an application in LV7.0 which has Visa read/write functions, alongwith that i want to implement some security features using Dsc module's vi present in function palette. My requirement is wen Login button is clicked a login dialog box gets popped up, this i have done by using NI SEC Invoke login dialog. vi. I have also used other security tools like NI SEC User account info.vi, programmatic logout.vi etc.........Vi is working perfectly fine but after making exe, and running it on same pc, login dialog box doesn't gets popped on login button clicked.
    So my doubt is do i need to add some security library files while building exe and creating installer???
    Your reply will be valuable to me
    Thanks & Regards,
    Ratna 

    Hi Sahil,
    Thanks for ur reply. wanted to inform u that i m using only security tools of DSC module, apart from that no other DSC tools. Even though i add all supporting files which was listed in the document named Support Files to Include when Building a LabVIEW DSC Module Application (available on http://zone.ni.com/devzone/cda/tut/p/id/4189) link. In addition to this i also add .rtm file for viewing tool bar while running application and security.llb (available at development machine directory:LabVIEW7.0\Vi.lib\lvdsc>. But still the problem remains as it is. So my question is do i need to add any other supporting files related to DSC security tools, which can solve my problem???????
    If u have any clue, kindly recommend me.
    Regards,
    Ratna 

  • File name collision during build that includes Report Generation toolkit. How to correct?

    When I switched to LV 8.6 (it's also in 8.6.1) I started getting a file name collision warning when building an installer that included the Report Generation toolkit. The executable works, but I don't like to leave warnings uninvestigated. I don't understand 1) why it's happening now and 2) what it's recommending for the fix. Here's part of the actual warning it gives.
    LabVIEW prevented a file name collision during the
    build. Duplicate file names cannot be copied to the same destination. You can
    rename files as part of the build process to avoid name conflicts.
    The following files were moved to a unique
    location:
    C:\Program Files\National Instruments\LabVIEW
    8.6\vi.lib\Utility\NIReport.llb\Append Control Image to Report.vi
    C:\Program
    Files\National Instruments\LabVIEW 8.6\vi.lib\Utility\NIReport.llb\HTML\Append
    Control Image to Report.vi
    C:\Program Files\National Instruments\LabVIEW
    8.6\vi.lib\Utility\NIReport.llb\Append File to Report.vi
    C:\Program
    Files\National Instruments\LabVIEW 8.6\vi.lib\Utility\NIReport.llb\HTML\Append
    File to Report.vi
    C:\Program Files\National Instruments\LabVIEW
    8.6\vi.lib\Utility\NIReport.llb\Append Horizontal Line to Report.vi...........

    Hi GS,
    The architecture of the Report Generation Toolkit was changed in LabVIEW 8.6 to utilize LabVIEW Classes.  As such, there are some warnings during an EXE build because the class VIs have identical names.  Classes were not used in the toolkit in LabVIEW 8.5 and previous...that's why you didn't see any warnings during the build until now.
    Your EXE should still function properly, and you shouldn't have to change anything about your build.  The purpose of the warnings is to let you know that the duplicate-named VIs needed to be handled differently during the build.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • [svn] 3061: update the framework build. xml that gets included in the package

    Revision: 3061
    Author: [email protected]
    Date: 2008-09-02 12:38:17 -0700 (Tue, 02 Sep 2008)
    Log Message:
    update the framework build.xml that gets included in the package
    -use target-player = 10 for most frameworks
    -updated utilities target to use FlexContentHolder.swc and framework.swc
    Modified Paths:
    flex/sdk/trunk/frameworks/build_framework.xml

    The problem with re-using an existing WSUS is that ConfigMgr doesn't do anything with the existing approved and declenid updates. ConfigMgr will only use the metadata of the updates in WSUS. This could cause problems as the ConfigMgr client simply tells
    the WUA agent to scan against WSUS for compliance and then uses the update groups to tell the client which updates should be installed. In case the WUA agent finds updates directly on WSUS that are approved then it will also start to install those updates...
    That's why you should use one of them, as they will interfere with eachother..
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look

    I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look normal when I first open them in photoshop. I will edit, save, and then realize once i've sent it to myself to test the color is WAY off. This only happens in photoshop. I've read some forums and have tried different things, but it seems to be making it worse. PLEASE HELP! Even viewing the saved image on the mac's pic viewer is way off once i've edited in photoshop. I am having to adjust all my colors by emailing myself to test. Its just getting ridiculous.

    Check the color space in camera raw, the options are in the link at the bottom of the dialog box. Then when saving make sure you save it to the srgb color space when sending to others. Not all programs understand color space and or will default to srgb. That won't necessarily mean it will be accurate, but it will put it in the ballpark. Using save for web will use the srgb color space.

  • Upgrade to Final Cut 10.0.7 destroyed my generators created in Motion that include drop zones. Anyone experienced the same problem ?

    In Motion 5 I created generators that included a drop zone. The objective it to bring them into Final Cut and insert into the drop zone a clip of the same duration.
    In FCX 10.0.6 I used to bring a clip to the time line and re size it to the exact duration of my generator. Then I bring the generator to the time line and selected the generator, click in the drop zone of the published parameters menu and select this clip I wanted to insert. The result was the generator using my clip and the clip playing during all the duration of the generator with the generator effect.
    Now, with 10.0.7 I can’t make that work. When I click in the clip I would like to import into the drop zone, the result is that there’s just a frozen image of the clip (in the same place I clicked with the mouse)
    Is this a known problem of 10.0.7. It used to work well in 10.0.6
    Thanks for your help !

    I can't see that the update would have any effect on custom generators as they are housed separately from FCP X.
    Many weird things happen as a result of corrupt preferences which can create a vast range of different symptoms, so whenever FCP X stops working properly in any way, trashing the preferences should be the first thing you do using this free app.
    http://www.digitalrebellion.com/prefman/
    Shut down FCP X, open PreferenceManager and in the window that appears:-
    1. Ensure that only  FCP X  is selected.
    2. Click Trash
    The job is done instantly and you can re-open FCP X.
    There is absolutely no danger in trashing preferences and you can do it as often as you like.
    The preferences are kept separately from FCP X and if there aren't any when FCP X opens it automatically creates new ones  .  .  .  instantly.

  • [svn:fx-trunk] 10051: fix the build. xml that we include in the package in the frameworks directory.

    Revision: 10051
    Author:   [email protected]
    Date:     2009-09-08 07:53:47 -0700 (Tue, 08 Sep 2009)
    Log Message:
    fix the build.xml that we include in the package in the frameworks directory. 
    -remove haloclassic
    -add textlayout
    -reorganize the targets
    QE notes: no
    Doc notes: no
    Bugs: sdk-22441
    Reviewer: n/a
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-22441
    Modified Paths:
        flex/sdk/trunk/frameworks/build_framework.xml

  • We now use Acrobat xi for special active forms we created that include certifications and signature fields, some of the forms are programmed to create other forms, will we have a problem upgrading to DC

    We now use Acrobat xi for special active forms we created that include certifications and signature fields, some of the forms are programmed to create other forms, will we have a problem upgrading to DC
    Our users use a form template to create other adobe forms with calculated fields, signature fields (using digital signatures)
    , and buttons. Will we be able to continue developing these forms if we upgrade to Acrobat DC?

    Hi Alex ,
    In general ,you would not have any issues and problems moving to Acrobat DC .It has a different user interface and with more enhanced features .
    You would be able to develop the kind of forms you are referring to .
    You could refer to the following document to get more information about Acrobat DC .
    FAQ | Adobe Acrobat DC
    If in case you are referring to any particular issue or problem or if you face any regarding Acrobat DC ,we are always here to help you with that .
    Please feel free to write us back .
    Regards
    Sukrit Dhingra

  • Hi, i am facing problem as to how to pass arguments received by my swf file to an .exe that i have c

    hi, i am facing problem as to how to pass arguments received by my swf file to an .exe that i have created from a C++ project...do i need to tweak the code in the C++ project in some way that it accepts the input from the .swf file?

    Hi there and welcome to our community
    What you need to do is click the link below, then choose the forum most appropriate to the product you are using. In this forum we discuss the operation of the forums themselves.
    http://forums.adobe.com/index.jspa
    Best of luck to you in solving your issue! Rick

  • I have a problem when iPhone 5 includes the camera in the dark on the screen appear mlenki point that wink. what is it?

    I have a problem when iPhone 5 includes the camera in the dark on the screen appear mlenki point that wink. what is it?

    I still don't have any idea what caused the problem. It didn't go away when I re-synced. However, when I completely shut down the iPod (64GB Gen4) by pressing and holding the ON/OFF button until it gave me the red 'slide to turn off' control, and then rebooting it from scratch the problem went away.
    It looks like there was some conflict between the system and the app that is going to be quite difficult to find. If it happens again I'll try to be more observant of the conditions and report more information.

  • Problem in BPEL with payload xsd that include other payload xsd.

    Hi,
    We have a payload xsd that includes other payload xsd. JDev does not complain when we validate or compile the BPEL project but when we try of create a variable of that type in JDev it fails. Any ideas?
    <xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.oracle.com/retail/integration/payload/XItemDesc"
    xmlns="http://www.oracle.com/retail/integration/payload/XItemDesc"
    >
    <xs:include schemaLocation="RIBDate.xsd"/>
    <xs:element name="XItemSupCtyDesc">
    <xs:complexType>
    <xs:sequence>
    I imported both(XItemDesc.xsd + RIBDate.xsd) the xsd to JDev but it still fails.
    Thanks,
    Prantor

    There are known limitations to XSDs with imports and includes.
    Look at metalink and log a SR.
    Oracle support ignores this, but with every SR the pressure is increased...
    (My SR (XSD importing XSD) was classified not as bug but as enhancement request for the next release)

Maybe you are looking for

  • READ THIS if you use the observer APIs ...

    This is just a heads up for developers who take advantage of the observer APIs in Spry. For the next version of Spry I plan on making the observer APIs for both the Data Set and the Dynamic Region consistent. Currently in Spry PR 1.1 the data set obs

  • How to display the notes?

    In the arrange window, my midi tracks are displayed as midi notes(like in the piano roll). How to let it display as music notes like the ones in the score? THank you!

  • Processing a long document's even pages

    I need to process my pdf because I have many pages with really complicated vector layers. I want to just rasterize the art, saved as jpeg or something like that but I would like to keep the pages that are all text in their vector form - luckily, it w

  • Business Rules not visible sometimes-via web and smartview

    We use EPM 11.1.2. we have a unique problem-Business rules (associated with forms)sometimes fail to appear either via web or smartview for our users.After logging out and back in,sometimes they appear again. If we explicitly 'disconnect all' from sma

  • Serious itunes problem

    I came home the other day and tried to run itunes but it said a file was missing and to please reinstall.. i thought that was weird because i didn't touch my computer for the whole day before, and the last time i did itunes worked fine. anyway i dele