‎08-05-2008 02:26 PM
Using theCall Library was going to be my next question....
The only thing I can think of is that the .NET runtime is unable to find a dependent assembly. If your .NET assembly references another .NET assembly then the .NET runtime needs to be able to find it. If it can't find it, then the assembly won't work. The best way to deal with this is the have the dependent assemblies in the same folder as the wrapper assembly. You can take a look at the article How LabVIEW Locates .NET Assemblies for more information.
Back to the .NET wrappers.... have you ever had a .NET Constructor working then saved and exited the app the upon reopening it the publicconstructors were no longer available?This has happened a couple times with different .NET Wrappers. If so what did you have to do to get things working again?I have had some luck just basically fiddling but have never been able to nail a good solution.
I don't really understand what this means. There is no "refnum" class.Is there a way to have a path converted to a .NET refnum?
‎08-05-2008 02:39 PM
The .NET wrapper has an input called "Image" This input wants a .NET Refnum. But looking at the library itself it appears
to need path to the image file. So I was going to see if I could convert a path to a .NET Refnum and wire it to the image input.
‎08-05-2008 02:40 PM
‎08-05-2008 03:06 PM
The method actually needs a .NET class, so you have to instantiate a class or call a method that returns the appropriate class. Can you provide a link to the online page to the method (or at least the namespace->class->method) that you're referring to? I am not familiar with this library.
The .NET wrapper has an input called "Image" This input wants a .NET Refnum. But looking at the library itself it appears
to need path to the image file. So I was going to see if I could convert a path to a .NET Refnum and wire it to the image input.
‎08-05-2008 03:32 PM
‎08-05-2008 03:47 PM
‎08-05-2008 06:44 PM
Sorry for the language barrier on the terms as you can probly tell I am muttling my way through this exercise.
I am on the same page with you as far as using the Call Library Function Node, my question regrding that is what type of output would be required?
‎08-06-2008 09:29 AM
‎08-06-2008 09:31 AM
I found the LV document "Calling External Code" I am going to work through the examples and then pick this endevor back up....
Thanks for your help so far.
‎08-06-2008 09:35 AM