LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to build executable under LV 8.5. False link to lvanlys

Hello,
 
I have some Problem to build an executable under LV8.5.
 
I developped a software under LV8.2. But as the LV context menus does not automatically translated into the target language, I want to build an executable of that software under LV8.5 as the translation is working under LV8.5.
I make a copy of the software, open it under LV8.5 and perform a mass compiling of that software (after verifying that nothing has been picked up from any LV8.2 ressources). LabVIEW 8.5 make an executable without error. When I start the software all is fine BUT when I am using a function that is calling RampPattern.vi (and thus lvanlys.dll), the following error appears:
 
Fatal Internal Error: "memory.cpp", line 342
LabVIEW 8.2.1
You will lost unsaved work. For assistance in resolving problem, please relaunch LabVIEW, or contact Nationnal Instrument.
 
The problem appears directly with the application, but also with the installer (including RTE 8.5).
I do not understand where the problem is comming.
As someone an idea?
 
Many thanks,
Adelina
0 Kudos
Message 1 of 5
(2,875 Views)
Hello Adelina,
 
thank you for contacting National Instruments. The following Link will give you a helping hand with your problem/question. It describes how to handle the internal errors of LV. 
 
 
Please let me know, which DAQmx driver (Version) you use, because I read something about a problem in combination of LV 8.2 with DAQmx 8.6 in this context. Please implement all the function which came from the lvanalys.dll manually in your code again, do not use LV 8.2 but LV 8.5.
 
Let me know if that help.
 
If there are any further questions, please feel free to contact us again!
 
Jan Kniewasser
- National Instruments -
Jan Kniewasser | Applications Engineer | Tel.: +49 89 7413130 | Fax: +49 89 7146035

»
0 Kudos
Message 2 of 5
(2,793 Views)

Hi Jan,

Thanks for your answer.

DAQmx 8.6 is installed on my machine. I replace manually the suspected instance of lvanalys.dll (indeed RampMuster.vi) in my VI under LV8.5. The results is that I become broken executable. The "full version" of LabVIEW is required to fix the problem...

In the main VI, the RampMuster.vi  is calling the RampPtr85 function of lvanalys.dll.

The copied lvanalys.dll version in the build folder is 8.5.0.5 which seems correct.

I have no further ideas.

Adelina

0 Kudos
Message 3 of 5
(2,773 Views)

Hello Adelina,

you are right, the Ramp Pattern vi is not included in the Base Package! Pease notice that.

Perhaps the following post in our dicussion forum helps:

http://forums.ni.com/ni/board/message?board.id=170&message.id=262443&requireLogin=False

Best wishes, Jan Kniewasser

NI, Germany

Jan Kniewasser | Applications Engineer | Tel.: +49 89 7413130 | Fax: +49 89 7146035

»
0 Kudos
Message 4 of 5
(2,745 Views)

Hi Jan,

I include the ramppatern.vi in the build as suggested in the link. I also include that VI in the Main-Vi. Now I am back to the first error: the VI cannot use the ramppatern.vi! When I call the function from the executable, LV return a memory error with reference to the 8.2.1 Version. But all is in the 8.5 version... I checked the links, and the copied lvanalys.dll in the build folder is the 8.5.0.5 version.

I have the full developpment version installed on my machine.

Best wishes

Adelina

 

0 Kudos
Message 5 of 5
(2,741 Views)