03-11-2013 12:24 PM
Hi, as RolfK wrote, you can use Reflection.
I was dealing with the same problem recently. Look here , there is a solution.
03-11-2013 03:45 PM
03-11-2013 03:51 PM - edited 03-11-2013 04:06 PM
You can download those DLLs here
The PNG in the thread is code snippet, it is runnable.
Post here the DLL and specify which method you are trying to use
03-11-2013 05:11 PM
Hi Bublina,
What did you create the constant reference above the To more specified class node?
03-11-2013 05:17 PM
@yang72211 wrote:
Hi Bublina,
What did you create the constant reference above the To more specified class node?
Right click the method input and select create a constant.
03-12-2013 11:26 AM
I can't get your code to work. See attached. By the way, how did you get the typeName? I think the dll that I download has a different version and possbiilty PublicKeyToken, but I only know how to find the version. What class did you choose for the reference aboe the to more specified node?
03-12-2013 12:28 PM - edited 03-12-2013 12:33 PM
Oh, sorry, it looks like I used there older libraries...
Download 1.6 build, that should work
You specify the class, as the method or property input. Right click the input and create constant.
I really think you should post the dll and the method you want to use, so I can take a look at it.
03-12-2013 01:08 PM
Right now, I am just trying to get your example to work. I have attached the DLL and vi. Can you see what's wrong with them?
03-12-2013 01:11 PM
No, the VI runs with no errors.
03-12-2013 01:46 PM
hmm, I will keep looking at it. Thanks!