09-11-2017 02:35 AM
I have a dll which is comprising of some publisher and subscriber methods. My dll code is such that if any new message is received ,it will generate event and jump to subscriber method.
Now when I am using that dll in Lab view and event is occurred ,Lab view gets crashed.
So I Need help in working/integrating the events within the dll's into Lab view.
09-11-2017 08:04 AM
You're not giving us much to go on. "A .dll crashes LabVIEW"...
Does it work (not crash) in C#?
What does LV have to do with these events?
Are you attempting to make a consumer in LV with a producer in the DLL?
Do you get a crash report\error message or anything?
09-11-2017 09:03 PM
Yes, unfortunately a vague question will only get you a vague response. Here's the information that would help us:
There are some caveats integrating .NET assemblies into LabVIEW and a few gotchas around using event handlers. but we can give you better guidance if you help us to help you.