Hello all,
I'm using scripting to generate a lot of functions to interface with some third party code in C#.
I have written an intermediate layer in LabVIEW that handles all the calls to .NET properties and methods and via scripting and this intermediate layer I am able to generate >1000 VI's that can be used in our automated tests to interface with the end product.
All goes well so far and I have had good success with the scripting functionality of LabVIEW.
Now I need to interface directly to a static property of a C# DLL via scripting.
Does anybody knows how I can - via scripting - select the proper .NET DLL and select the static property for a .NET property object in the block diagram? I didn't really find an example of how this could be done....
The above image shows what I want to accomplish/create via scripting.
To create this in LabVIEW I place a .NET property on my block diagram, right-click -> select class -> .NET -> browse for the .NET DLL -> select the creatable object from the DLL -> select the static property and wire the ins and outs.
How can something like this be done via scripting? I really don't know how....
I will continue my search and if I succeed also post the code.
Thanks in advance for all your help!
Regards,
Kirsten.