LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user events from labview build dll

Reference to pattern

Previous discussion

I had this pattern in place in a LV 7.1 application using a LabVIEW build DLL, but when migrating to LV 8.5 I found that User Events created in one application instance can not be fired by another application instance. It seems that since LV 8.x a LabVIEW build DLL are a different application instance. The generate user event function generates an error inside the DLL stating that it is not working because it is a reference from another application instance.

 

Is the behaviour of a LV build DLL different than a C build DLL? Is the C build DLL part of the same application instance as the LV executable?

 

Is there a way the get the LV build DLL to be a part of the same application instance as the LV build executable or development environment?

 

Regards,
André (CLA, CLED)
0 Kudos
Message 1 of 7
(2,957 Views)

Hey,

 

I think the problem you see is that the DLL is build in LV7.1, so it needs LV7.1 runtime engine, which is another application instance than the LV8.5 runtime engine.

 

Christian

0 Kudos
Message 2 of 7
(2,943 Views)
Forgot to tell that I rebuild the DLL in LV 8.5, before making that conclusion.
Message Edited by andre.buurman@carya on 09-04-2008 01:12 PM
Regards,
André (CLA, CLED)
0 Kudos
Message 3 of 7
(2,932 Views)
Is there nobody at NI that can elaborate on this subject?
Regards,
André (CLA, CLED)
0 Kudos
Message 4 of 7
(2,886 Views)

Hello Andre,

 

My apologies for the big delay in responding to your problem. I couldn't find any information about changes in handling the DLL under 7.1 and 8.x, as far as I can tell there shouldn't be a difference. Because of that I forwarded your question to some colleagues. I hope to inform you as soon as possible.

 

Have a great weekend,

 

 

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 5 of 7
(2,755 Views)

Hello Andre,

 

Is it possible for you to upload the 7.1 and the 8.5 dll? Also the part of your VI where things are going wron would be great. Please let me know how we can reproduce this error.

 

Best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 6 of 7
(2,725 Views)

Ik heb op dit moment geen tijd om de voorbeelden te maken.

Ik kom er zeker op terug wanneer ik weer wat meer tijd heb.

Alvast bedankt voor je inspanningen zover.

Regards,
André (CLA, CLED)
0 Kudos
Message 7 of 7
(2,721 Views)