Forum Italiano sui Prodotti NI

annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Labview dll calls fails while Labview Run time is already running

Hi All
 
I developed a DLL by Labview 7.1 which writes a simple file and this DLL is loaded dynamically into another DLL.
Furthermore the latest DLL is invoked by using some VI Panels.
So the scenario is this one
 
Labviwe Panels --> DLL_A --> WriteFile.dll(built by Labview )
 
Now it's seems that if Labview is running and I am going to call the WriteFile.dll through the DLL_A nothing happpens.
So I tried to skip Labview and to create a simple test application to check WriteFile.dll and I discovered that Without loading Labview this WriteFile.dll works fine.
 
What can be the problem? It's seems some problem occurs with run-time engine conflicts.
Please help me
 
 
 
 
0 Kudos
Messaggio 1 di 4
4.088Visualizzazioni

Hi,

You might want to post this question to the LabVIEW forum.

0 Kudos
Messaggio 2 di 4
4.080Visualizzazioni
 

Hi,

take a look at the example at the link:

http://zone.ni.com/devzone/cda/epd/p/id/1697 

Does it works on your machine? If so, check the difference between this example and your vi.

I hope this helps

Clara

0 Kudos
Messaggio 3 di 4
4.064Visualizzazioni
Hi Clara
Yes It's working but I don't think CDF_Example.dll is built under labview.
The problem I have is:
 
1) Built VI and create its DLL -->DLL_1 ( this one write only a file )
2) Open Labview Panel -->calls DLL_2 that calls DLL_1(see above)
3) the DLL1 does not work
 
But If I run the DLL_1 from normal MFC console Application( Labview 7.1 run time engine not loaded yet ) the DLL_1 work.
 
Thanks
Alex
0 Kudos
Messaggio 4 di 4
4.059Visualizzazioni