12-10-2012 03:07 PM
I have the base Labview package and I'm working with a few people that have the full and professional versions. It is my belief that my .NET calls should work with the base package too.
I am having problems with the Event Source populating from the code below. Nobody else is having the same issue and I was wondering what could be causing this.
Thanks in advance for any help.
12-10-2012 03:18 PM
Do you have a different version of .NET, one which would not support those callbacks?
12-10-2012 03:20 PM
We all have .NET 3.5 framework installed...that is what we've decided is needed for this.
12-10-2012 05:12 PM
I'm not sure why we have different versions and how I get to their version. I spent all afternoon looking on Microsoft's website and installing different .NET framework updates, but with no success.
12-10-2012 05:13 PM
Oops. The above text was supposed to list the versions.
I have CLR 2.0.50727.4984.
My coworkers have CLR 2.0.50727.5466.
12-17-2012 12:26 PM
So I figured this out. The DLL linking behind the scenes wasn't working properly because I wasn't provided with all the DLLs that the DLL called (groan).
To debug, I used Dbgview. This showed me the exceptions that were being thrown by Labview when trying to link.
I also had a problem that my DLL's events were not populating in the base version of Labview. One of my coworkers actually contacted NI about this and whomever he talked to said that the .NET events would work in base, full, or professional. Since this wasn't working, I tried using the full version of Labview instead of base. Then the events worked fine so I'm not sure if base does support .NET events.
12-17-2012 01:02 PM
What version of LabVIEW are you using ?
Is it only from 2012, that the event structure is in the Base packet. This could be releated if you are using an older version of LabVIEW.