What is the best practice within the Workers framework for displaying collected data?
In the attached call-chain diagram you can see the initial structure of the program I am building. Once complete this will be a common application for data collection and hardware control within our lab. The Main UI is used to allow the user to dynamically launch the needed Workers for a given test. The intention is then for each selected device's UI subWorker to launch and allow the user to configure/control the data collection and hardware.
Originally I was planning on the display chart to also live within each device's UI subWorker (NI cDAQ UI in this case). I set up a data queue in the device controller Worker (NI cDAQ) and pass the reference down via the Initialize case of the UI subWorker (NI cDAQ UI). I had a parallel loop set up in the UI subWorker with the dequeue element to display the data, but then I realized that it never gets the queue reference since it connects outside of the MHL shift registers. Would it be best practice to make an additional display subWorker per device? Or is there a way to display within my current device UI subWorker that I'm not understanding?
Thanks in advance!