Hi folks!
In the automation application I'm developing, I need an engine that executes a predetremined sequence of operation on a trigger, i.e. pressing a button, whitout blocking the rest of the interface and receiving/sending messages to the GUI for updating the steps done, pausing and resuming, etc.
I built the engine in a sub-VI and the communications are done via notifiers.
{main loop [GUI handling] [trigger->engine VI] }
From the "Design Pattern in LabVIEW" presentation, I noticed that the "daemon" pattern is well suitable for the application.
However, in the examples the daemon is launched by a method node, which do not allows passing parameters to the called VI, in order
to give the "Auto Dispose Ref" parameter to the Run method (according to the presentation, this parameter is absolutely necessary
for a correct daemon-like behaviour.
Does the Invoke node allow the same job? Or it is simpler to pass the arguments via a global variable? I would be very glad if the
former proposition is achievable.
Many thanks