Introduction to LabVIEW Object Oriented Programming

Поділитися
Вставка
  • Опубліковано 28 сер 2024
  • Overview
    This session is a true introduction to what is often viewed as a daunting topic. Learn the basics of object-oriented programming (OOP), when and why you should use it, and how to use OOP in LabVIEW software. Attend this session if you are a LabVIEW developer who is new to OOP or a developer familiar with OOP principles in other languages and want to learn how to apply that knowledge to LabVIEW code.
    This video is uploaded based on original webminars from National Instrument www.ni.com/webc...
    since the original webminar can't be watched on mobile android device, thus we uploaded here for people who are need to whatch it on mobile as we do.
    the resource example used in this video could be found here : forums.ni.com/...
    This resource is gotten from ni community: Introduction to LabVIEW Object-Oriented Programming forums.ni.com/...
    Slide Content:
    0:00 Introduction to LabVIEW Object Oriented Programming
    0:11 Presentation Expectations...
    1:06 Today's Agenda
    1:45 Introduction to OOP (not LabVIEW specific)
    2:21 Why Learn OOP?
    3:02 What is OOP?
    3:50 OOP History
    4:37 Why is code manageability a concern?
    5:53 Evem more concerning: data
    6:40 Comparing Programming Approach
    8:05 OO Design Requires... change Perspective
    9:33 Concept #1: Properties & Methods
    10:53 Pop Quiz #1
    11:25 Concept #2: Classes & Objects
    12:01 Creating a LabVIEW Class
    12:42 What is an "Object" in LabVIEW?
    13:34 DEMO: Creating a LabVIEW CLASS
    18:23 Pop Quiz #2: Class or Object?
    19:24 Concept #3: Encapsulation
    21:54 Encapsulation Benefits Example
    25:26 Pop Quiz #3: Encapsulation
    26:37 Encapsulated Code...
    27:25 Concept #4: Inheritance
    30:15 LabVIEW Class Inheritance
    31:03 Casting Class References
    32:01 Pop Quiz #4: Inheritance
    33:03 "Inherited" Code...
    33:50 Concept #5: Dynamic Dispatching
    34:51 What makes a Dynamic Dispatch VI?
    35:47 DEMO: Inheritance & Dynamic Dispatching
    46:41 Pop Quiz #5: Dynamic Dispatching
    48:25 Dynamically Dispatch Code...
    49:10 Taking it Up a Notch (More Complex Example)
    49:12 DEMO: Starbuzz Cofee
    57:31 Use LabVIEW OOP Tomorrow
    57:34 Taking the OOPlunge
    59:14 END message & Key OOP Takeaways

КОМЕНТАРІ • 20

  • @pratyushaadiraju1651
    @pratyushaadiraju1651 2 роки тому +2

    Thank you for explaining the LabVIEWOOP. Well explained in less time and with LabView example. I have viewed many oops concepts but didn't understand them as I know only LabVIEW programming. Thanks a ton.

  • @r1rmndz507
    @r1rmndz507 2 роки тому

    Nice and well explained presentation. This is 1-Hr not wasted and put to good use. Thanks!

  • @rg123red
    @rg123red Рік тому

    Very Good Video and step by step example that I was able to follow and create also.

  • @portlandsound1
    @portlandsound1 2 роки тому

    Outstanding explanation! Thanks so much for putting this together

  • @ivarsdrikis6983
    @ivarsdrikis6983 Рік тому

    Thanks, well presented!

  • @verysimple77
    @verysimple77 3 роки тому +2

    Good presentation, however, the non-object oriented programming code could have been easily written to grab the cost of the item from a variable instead of it being hard coded. Needless to say, you just want to prove oop

  • @pietherrmann
    @pietherrmann 3 роки тому +2

    Very helpful! Thanks a lot

  • @sortchen
    @sortchen 2 роки тому

    Very Helpful and well presented.

  • @jeffscharpf
    @jeffscharpf 2 роки тому +2

    Thank you for this. I am stuck, at 39:25, when I create the new VI for Override I do not get the shape control. Any ideas? I've tried to duplicate everything you've done.

    • @haithamsungkar2683
      @haithamsungkar2683  2 роки тому +1

      you may need to refer to the Demo step on 15:40 when We create a Method to the Shape class, using Dynamic Dispatch Template, vi.
      the shape control is added there. but we left the block diagram empty, because it will be defined and override by the inherited child class method.

    • @jeffscharpf
      @jeffscharpf 2 роки тому +2

      @@haithamsungkar2683 I found out my problem. At 17:15 you say "as long as I connect this to the connector pane" ... So I had the Shape indicator in my Shape Class Dynamic Dispatch VI but did not connect it to the connector pane. Once I did that, everything worked!! Thanks again! Great video! Subbed and bookmarking this one.

    • @haithamsungkar2683
      @haithamsungkar2683  2 роки тому

      Great to hear. 👍🏻

  • @GabrielBaltazarDeOliveira
    @GabrielBaltazarDeOliveira Рік тому

    Thanks there is a 0.75 option, so hard to understand at default speed.

  • @Mutrino
    @Mutrino 3 роки тому

    Very useful and well presented

  • @rupeshvarsale5897
    @rupeshvarsale5897 3 роки тому

    any Video , small Virtual Project in OOPS In LabVIEW ? for more Helpful to us.

    • @haithamsungkar2683
      @haithamsungkar2683  3 роки тому

      Hi, if you follow the step-by-step as explained in the presentation, you'll get a brief idea of LVOOP (LabVIEW OOP).
      further more, you could find under the description of this video (just added) for the resource of the Example (STARBUZZ COFFEE DEMO) as shown in the end of this video presentation.