‎04-01-2020 08:06 PM
About multi-threaded programming to DQMH. For example, The following is my commonly used sequence structure. How can I transfer such an architecture to your DQMH, because I have multiple While loops in parallel, such as motor control, capture card control, gamepad control, UI settings, etc
‎04-01-2020 08:13 PM
Each of the 8 loops would be a DQMH module. The modules would communicate with each other through their public APIs (requests) and broadcasts. If any of the loops do periodic operations, you would want to add helper loops to those modules.
‎04-01-2020 08:17 PM
You mean I need to create 8 modules, but how do I ensure that the eight modules run synchronously? There is also how to display the data of the eight modules on a UI interface?
Thanks
Jing
‎04-01-2020 08:31 PM
and you mean 8 loops would be 8 DQMH modules,and i do not need to use Queues to pass data streams?Some of my loops are producers and consumers, and queues are used. Isn't DQMH passed through this queue? I do not quite understand
‎04-01-2020 09:04 PM
Start here:
https://youtu.be/atpPRwPkwq8?list=PLZ3A_SIOKdQs73IjbtaWwCSqoxQfxlWj6
That should answer many of your questions.
The other videos on that channel are also worth watching.
And there is always the help.
https://delacor.com/documentation/dqmh-html/DQMHDocumentation.html
‎04-01-2020 09:08 PM
The infrastructure (queues, events, etc.) for communicating between the DQMH modules is part of the framework. This is by design, so you don't have to create your own inter-process communication Have you looked at the online tutorials that are available? If not, I can recommend the following YouTube channels:
Tom's LabVIEW Adventure channel has a series of tutorials introducing the DQMH. This is probably a good place to start
https://www.youtube.com/playlist?list=PLmF-6jvwRvVOpNdPcRzskvnGbW79ug6AZ
This is the Delacore channel. You will find lots of information here:
https://www.youtube.com/playlist?list=PLZ3A_SIOKdQs73IjbtaWwCSqoxQfxlWj6
Hopefully you will find the above useful. Well worth taking the time to watch them.
‎04-02-2020 08:41 PM - edited ‎04-02-2020 08:44 PM
Can you provide me with an example? For example, the data collection program,see blew,how it transfer to DQMH?, the video I watched is difficult to understand.
‎04-03-2020 12:52 PM
If you have DQMH Installed look at the DQMH Continuous Measurement and Logging (CML) example project.
‎04-03-2020 02:27 PM
@Taggart wrote:
If you have DQMH Installed look at the DQMH Continuous Measurement and Logging (CML) example project.
more details here: https://delacor.com/documentation/dqmh-html/DQMHCMLSampleProject.html