Past NIWeek Sessions

cancel
Showing results for 
Search instead for 
Did you mean: 

Computer Science for the G Programmer, Part 1

ID: TS4318

Abstract: Stephen Loftus-Mercer is a senior LabVIEW developer who has presented many times on LabVIEW object-oriented programming (OOP) at NIWeek. This year, his presentation focuses on single responsibility, open-closed, Liskov substitution, interface segregation, and dependency inversion design principles and how you can apply them in LabVIEW. Because of the complexity of the material, this session covers only two of the five principles: Single Responsibility Principle and Open/Closed Principle. For more information, visit http://en.wikipedia.org/wiki/SOLID_%28object-oriented_design%29.

Video of the presentation: https://lavag.org/topic/18415-ni-week-2014-videos/?hl=%2Bni+%2Bweek+%2Bvideos

Part 2: https://decibel.ni.com/content/docs/DOC-43395


Track/Summit: Software Development Techniques

Speaker(s): Stephen LoftusMercer, Senior Software Engineer National Instruments

Download All
Comments
jon_mcbee
Active Participant Active Participant
Active Participant
on

I co-presented this with Stephen, focusing on the OCP portion.  As part of my presentation I showed some sample code demonstrating the SRP and OCP, I have attached that code above as "OCP - LV2014.zip".  I can save this for an earlier version of LabVIEW if requested.

I would also like to take this opportunity to shamelessly plug my blog, which has posts dedicated to the SOLID principles with LabVIEW.

jon_mcbee
Active Participant Active Participant
Active Participant
on

I recently hosted a mini-CLA/CLD/CLAD summit attached to NI Days Boston where the topic was SOLID Design Principles applied to LabVIEW.  You can download example code from the mini summit here.  It focuses on a reusable Event Logging module wrapped up in the Actor Framework and applies the different principles one at a time, leading up to a plugin based solution where plugins can define types of events to log, formatting of logged data, and file storage type, with example plugins for each.

Contributors