02-10-2023 03:27 AM
Dear Community,
I have a rather simple LabVIEW application where two measurement devices are controlled and typical tasks are done:
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.
Solved! Go to Solution.
02-10-2023 04:39 AM
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
02-10-2023 04:57 AM
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.
02-10-2023 08:48 AM
@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