03-27-2013 12:10 PM
Is there any issues creating Interface Properties? It isn't supported in the IDE.
03-27-2013 12:25 PM
Hi,
This is correct. It is not supported in the G#IDE. The simple reason is that G# was originally developed in LV2009 and properties was introduced in LV2010. Even though properties has been implemented for regular G# classes later in G#IDE, the interface support has not been updated. I must admit that it should be supported, since G# tries to implement as much as possible from the inspiration C#. See this link:
http://msdn.microsoft.com/en-us/library/64syzecx%28v=vs.110%29.aspx
However, G# Interfaces isn't that much used I believe, since they aren't as user-friendly and easy to use as C# Interfaces. It would be very nice if there could be some native support in LabVIEW classes to implement an interface. It would be really great if there were a .lvinterface that could define member VIs that only allowed frontpanels withou any diagrams. I propably should kudo this.
Implementing G#Interface property support in G# is doable, but currently not on my prioritylist. It will not be implemented in the nearest future I'm afraid.
Regards,
Mattias
03-28-2013 06:01 AM
Let's vote for the idea of LVOOP Interfaces: https://forums.ni.com/t5/LabVIEW-Idea-Exchange/LVOOP-Interfaces/idc-p/2368100