LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL build under LabView 6.0.2 problem

Hello,

I wrote a VI under LV 6.0.2.
I have two computers. One with LabView 6.0.2 and LabWindows.CVI 6.0 and another with the upgrade 7.0 for the two software.

I want to build a DLL under LabView 6.0 and use this DLL with LabWindows/CVI 6.0 or 7.0.
When I am generating the DLL with LabView 7.0 and using it in LabWindows/CVI 7.0, there no problem, everything is working fine.
When I use this DLL in the LabWindows/CVI 6.0 on the second computer, there is no problem too.

The problem is when I am generating the DLL with LabView 6.0.2, I have always the message:
"LabView.lib not called from a LabView process!"
when I am calling the DLL either in LabWindows/CVI 6.0 or 7.0 (LV 6.0 runtime engine installed).

I found some solution
s in the discussion forum, check runtime, mass compile, ... and I have always the same popup message!

What can I do? how can I check the files need version? (except with MAX...)

Regards, Pascal.

PS: I posted a question about if it is possible to use a DLL build under LabView 7.0 in LabView 6.0.2, in the LabView forum.
0 Kudos
Message 1 of 3
(3,125 Views)
I am not exactly sure why you are getting the error either. The links I found on this are LabVIEW.LIB Error When Calling a LabVIEW DLL Built with VIs That Use External Code

I am assuming that all the code you are calling has been mass compiled into 6.0.2. One way to ensure that would be to create a application distribution and then mass compile that VI. That way you are assured that all the VIs are 6.0.2. Once you have done that you can re-create the dll.

One question I had was if there was a specific reason you needed the dll to be in 6.0.2, especially beacuse you have LabVIEW 7.0.

Also what exactly does the VI do? Are you doing data acquisition, gpib, or
maybe Serial? If so are you using current versions of the drivers for DAQ or GPIB? Are you using the old serial VIs or VISA VIs for the serial? If not on any of these I would update them and see if that helps.

Sorry if none of this helps.
0 Kudos
Message 2 of 3
(3,125 Views)
Hello,

the problem with labVIEW 7.0 is that our customers are not using it actually. So we would like to deliver them DLLs written in LabVIEW 7.0 to integrate them in their application written in labVIEW 6.0.2

It is possible possible to integrate labVIEW 7.0 DLLs in LabVIEW 6.0.2 but with complex structures (clusters ...) it is very difficult.

The mass compile didn't changed anything.

The problem with our VI is comming from the old serial driver. The new one in LabVIEW 7.0 seems to be working differently: VISA based.

Can we updated the old serial driver VIs with new ones? Where can I find them?

Regards Pascal.
0 Kudos
Message 3 of 3
(3,125 Views)