02-22-2019 08:48 AM
Is there a good tutorial or example for learning how to create a .net assembly in LabVIEW. I figured out how to create an assembly with methods, but have not figured out how to add properties. I also want to know how to make it hierarchical like some of the .net assemblies that I've used.
02-24-2019 12:06 PM
A Web search for LabVIEW .net assembly returns multiple hits. As you have not specified your specific problem, you are probably in a better position to read these suggestions and discussions and decide which shed light on your question.
Bob Schor
02-25-2019 12:22 PM
I would like to know how to export properties. I've figured out how to export vis as methods, but not variables as properties. I'm not sure what type of variable it would be, but need to do so because I want to swap out a .net assembly written in another language and need to make it look that same.
02-25-2019
01:37 PM
- last edited on
05-21-2024
03:04 PM
by
Content Cleaner
I have wondered how to create .NET Properties before. I have been able to create .NET Properties afterwards by editing the assembly ( adding the metadata) but I wouldn't recommend this method. I haven't tried exporting property node VIs of LabVIEW classes - perhaps give that a go and see if LabVIEW generates the relevant metadata to go with the "get_x" and "set_x" methods but I have a sneaking suspicion it won't.
Several LabVIEW constructs aren't available to be exported (see here: https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/resource/framework/providers/builds/appbui...). When you say variables I assume you are referring to Global Variables; they are on that list.
Perhaps post some code of what you are trying to achieve.