キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

.NET event based dll crashing while integrating with LabVIEW

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.

0 件の賞賛
メッセージ1/3
2,599件の閲覧回数

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?

0 件の賞賛
メッセージ2/3
2,561件の閲覧回数

Yes, unfortunately a vague question will only get you a vague response. Here's the information that would help us:

  • LabVIEW version and bitness
  • OS version and bitness
  • An example LabVIEW project/VIs that demonstrates your issue along with the dll
  • Preferably; the source code for the dll however we can typically reverse-engineer this.

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.

0 件の賞賛
メッセージ3/3
2,551件の閲覧回数