Jump to content
Aristos Queue

G Interfaces for LabVIEW 2020

Recommended Posts

LabVIEW Community Edition 2020 is now available for download. The commercial edition will follow sometime in May. We prioritized the Community release for all the engineers stuck at home under quarantine.

LabVIEW 2020 introduces interfaces as a companion feature to LabVIEW classes. I and Allen Smith will be presenting what would have been our NIWeek presentations as a webcast this Friday.

Two topics, one time:
Intro to Interfaces (Stephen Loftus-Mercer)
Interfaces and the Actor Framework (Allen Smith)

Friday, May 1 10am, CDT
Join here (Microsoft Teams required): LabVIEW 2020: G Interfaces

[EDIT] The same link above will let you watch the recording for the next 90 days. After that, NI will find some place to more permanently host the video.

Youtube Link

If you have any follow up questions, Allen and I are both monitoring a specific forum thread on ni.com for this presentation for the next couple weeks.

To start learning about interfaces today, please see

  • the Fundamentals>>LabVIEW Object-Oriented Programming section of the LabVIEW 2020 shipping documentation
  • the shipping examples in
    examples\Object-Oriented Programming\Basic Interfaces
    examples\Object-Oriented Programming\Actors and Interfaces

If you are someone who already knows about interfaces from other programming languages and want to understand why G interfaces work the way they do, you may be interested in reading LabVIEW Interfaces: The Decisions Behind the Design.

  • Like 2

Share this post


Link to post
Share on other sites
8 hours ago, Aristos Queue said:

Friday, May 1 10am, CDT
Join here (Microsoft Teams required): LabVIEW 2020: G Interfaces

Thanks, @Aristos Queue! I'll be tuning in.

Quick note about branding: The event title is currently "Intro to G Interfaces in LabView 2020" (I peeked at the event on Microsoft Teams)

Share this post


Link to post
Share on other sites

Will this be recorded?  I will attempt to attend, but have appointment that will likely cover the first half.

Share this post


Link to post
Share on other sites
17 hours ago, JKSH said:

The event title is currently "Intro to G Interfaces in LabView 2020" (I peeked at the event on Microsoft Teams)

Had IT team fix that. Thanks.

Share this post


Link to post
Share on other sites
4 hours ago, crossrulz said:

Will this be recorded?  I will attempt to attend, but have appointment that will likely cover the first half.

The plan is to record it. Lots of new technology involved in this, so fingers crossed.

Share this post


Link to post
Share on other sites

I added notes on follow-up questions and getting the video recording to the original post above. 

  • Thanks 1

Share this post


Link to post
Share on other sites
1 hour ago, Michael Aivaliotis said:

It would be great to have a project menu item, goto parent interface:

How would this work if a class has multiple interfaces? Maybe instead of a right-click menu option, some kind of visualizer that only shows the class's interfaces?

Edited by Mike Le

Share this post


Link to post
Share on other sites
3 minutes ago, Mike Le said:

How would this work if a class has multiple interfaces? Maybe instead of a right-click menu option, some kind of visualizer that only shows the class's interfaces?

Maybe a fly-out menu.

Share this post


Link to post
Share on other sites

As a side-note. In 2020, NI changed the "change inheritance" dialog to "change parent class". Most likely due to interface nomenclature. But this triggered a thought in my head. Why can't we get this class relationship view inside the project tree? It seems useful.

Screen Shot 2020-05-01 at 3.18.52 PM.png

 

Share this post


Link to post
Share on other sites

I've been waiting for this since graduating my CS degree in 2005.

Thanks!

Share this post


Link to post
Share on other sites
16 hours ago, Michael Aivaliotis said:

Why can't we get this class relationship view inside the project tree? It seems useful.

The project tree is an all-files view. Not every file is a member of a class. There are VIs in libraries, loose VIs, non-LabVIEW files (like readme.txt). We talked about a class view in project back at start of LVOOP project and repeatedly since then, and we repeatedly decided the project window was the wrong place for that. That is the reason the LabVIEW Class Hierarchy window exists. 
 

For a better view overall, checkout OpenGDS or NI-GDS toolkits (although neither is updated for interfaces at this time).

Share this post


Link to post
Share on other sites
17 hours ago, Michael Aivaliotis said:

It would be great to have a project menu item, goto parent interface:

16 hours ago, Mike Le said:

How would this work if a class has multiple interfaces? Maybe instead of a right-click menu option, some kind of visualizer that only shows the class's interfaces?

 

Wouldn’t be “Go To...” it would be in the project item’s Find menu with Find>>Callers. Like all of those, Find>>Parent Interfaces would jump directly if there was only one and pull up a results list if multiple. 
 

We had it on the proposed task list and cut it out of this release. It goes in the iteration bin to compete with other priorities. 

Share this post


Link to post
Share on other sites
11 hours ago, Aristos Queue said:

Wouldn’t be “Go To...” it would be in the project item’s Find menu with Find>>Callers. Like all of those, Find>>Parent Interfaces would jump directly if there was only one and pull up a results list if multiple.

That works.

11 hours ago, Aristos Queue said:

The project tree is an all-files view. Not every file is a member of a class. There are VIs in libraries, loose VIs, non-LabVIEW files (like readme.txt). We talked about a class view in project back at start of LVOOP project and repeatedly since then, and we repeatedly decided the project window was the wrong place for that. That is the reason the LabVIEW Class Hierarchy window exists.

Ya, I get it. But a new view wouldn't hurt for those passionate OOP users. Similar to the Files tab, you could have a Class tab.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.