LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing LVOOP command pattern

Solved!
Go to solution

I have a QMH application that I'd like to convert to OOP using command pattern. I understand that I have to create a class for each task that is carried out by the case structure, enqueue the corresponding object in the event structure, dequeue it and pass it to the dynamically dispatched method. However, I don't know how to update the front panel controls in the message handling loop. Is there any example that I could refer to?  

0 Kudos
Message 1 of 2
(2,477 Views)
Solution
Accepted by topic author GoKu25

I would recommend that you separate your UI from the processing tasks. Use messages to pass data between the UI and the processing tasks.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 2
(2,470 Views)