LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging a dll

Hello Everyone,

 

I have copied a DLL of a LabVIEW VI and calling that dll another VI. Now the DLL is not fuctioning as per the expections, and I want to debug the DLL. How can I debug it? Is it possible to see the behaviour of the VI of which the DLL is compiled?

 

Thanks.

0 Kudos
Message 1 of 5
(2,974 Views)

pritam wrote:

Now the DLL is not fuctioning as per the expections


 

1) What are your expectations?

2) Will the dll returns any kind of error messages?

 

Please post in little detail about your requirements?

 

Thanks,

Mathan

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

I have a VI, Build_DLL.vi, which dynamically builds a dll of a VI. Now I want to call this VI in another VI, Build_DLL_GUI.vi. So I’ve manually build a DLL of Build_DLL.vi and calling this DLL in Build_DLL_GUI.vi.

 

The Build_DLL.vi is having some I/O terninals (see image attched Build_DLL.jpg). and I am grtting error from reeor out teminal of this vi i.e. DLL (See another image)

 

Now I want to debug the Build_DLL.vi which I am calling.

How can do that?

Download All
0 Kudos
Message 3 of 5
(2,955 Views)
Can you post me the Build_dll VI so i can give u a expected result
Regards
Aks

(Appreciate answers by giving KUDOS)
Hit the stars.............. sky is not the limit.
0 Kudos
Message 4 of 5
(2,942 Views)

I don't quite understand why you're building a DLL out of LabVIEW code in order to call it from LabVIEW, but let's skip that for now...

 

The most likely problem is that a support file cannot be found. This is probably another DLL that the "Build_DLL" VI uses. Check the dependencies of the "Build_DLL" VI.

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