Why Am I Prompted for the Location of lvalarms.dll when Running an Executable?Primary Software: LabVIEW Run-Time EnginePrimary Software Version: 8.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have created an executable for my application that uses a Timed Loop function in Labview 8.0, but when I run the executable it cannot find the path to lvalarms.dll and prompts for the location. Why does this happen and how can I fix it? Solution: Lvalarms.dll is associated with the Timed loop function and it is called in the DAQmx Create Timing Source VI. When an executable is built with a Timed Loop function, the lvalarms.dll is added to the data folder in the application executable directory. There are two ways to get around this problem:
1. Right click on “My Computer” in the project explorer and select Add File. Browse to 2. Right click on Build Specification and select “Application (EXE)”. 3. In the Source File option, move the main VI into the StartupVI. 4. Move the lvalarm.dll to the Dynamic and Support Files. (Figure1).
5. In the Source File Settings, select “Destination Directory” in the “Destination to Apply” for lvalarm.dll (Figure 2).
6. Click the “Generate Preview” button in the Preview category, to view the directory structure for the executable. It should be similar to Figure 3. It is important that the lvalaram.dll is in the same directory as the executable.
7. Finally build the executable. Related Links: KnowledgeBase 4CMMSHB7: Error 2, LabVIEW: Memory is Full when Building a LabVIEW Executable KnowledgeBase 2O79IHUV: Error 1003 Occurs When Trying to Create an Executable Attachments:
Report Date: 04/13/2006 Last Updated: 05/01/2009 Document ID: 3WCFQF2M |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||



