LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Project example for oop in LabVIEW

Solved!
Go to solution

Dear Community,

I have a rather simple LabVIEW application where two measurement devices are controlled and typical tasks are done:

  • User Input of measurement configuration over the GUI
  • Acquisition and logging using the devices
  • Writing results into file

 

I would like to use OOP for this project. It is more out of the motivation that this application is going to increase in complexity in the future and that it's time for me to go OOP (classes or even actor framework).

 

I have found good resources and examples both topics. Generally speaking I have understood the underlying concepts but I am missing code examples which illustrate using OOP integrated in the Producer/Consumer Architecture or as it is also called Object Oriented Queue Message Handler.

 

Using 2020. Any help on this would be much appreciated.

 

 

 

0 Kudos
Message 1 of 4
(1,597 Views)

I would suggest to take a look at Tom's LabVIEW adventure on YouTube, one of his playlists is about Actor Framework (15 videos), I think it's a great place to start.

 

There is also a playlist called "Basic intro to OOP in LabVIEW"


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 4
(1,571 Views)

Thanks for the quick reply Titou,

I went through the excellent videos of Tom in the past couple of weeks but what I was refferring to is cody examples. I need to learn more on how the event structure interacts with the consumer loop when using classes. Code examples of OO DMH would be great.

 

0 Kudos
Message 3 of 4
(1,561 Views)
Solution
Accepted by joerg.hampel

@labviewette wrote:

Code examples of OO DMH would be great.

 


Hello, @labviewette.  If you want a DQMH tutorial, you have only to type "DQMH Tutorial" into Google to find several to view.  You can also find an excellent chapter about the DQMH and Actor Framework in "LabVIEW Graphical Programming, Fifth Edition" by Richard Jennings and Fabiola de la Cueva (from whom the "D" of DQMH is derived).

 

Bob Schor

Message 4 of 4
(1,525 Views)