G#

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface Properties

Is there any issues creating Interface Properties? It isn't supported in the IDE.

0 Kudos
Message 1 of 3
(4,327 Views)

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

0 Kudos
Message 2 of 3
(3,747 Views)
Message 3 of 3
(3,747 Views)