DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

DQMH Multi-thread Counseling

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

222.jpg111.jpg

0 Kudos
Message 1 of 9
(3,437 Views)

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.

Message 2 of 9
(3,425 Views)

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

0 Kudos
Message 3 of 9
(3,421 Views)

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

0 Kudos
Message 4 of 9
(3,417 Views)

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 

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral
Message 5 of 9
(3,401 Views)

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.

David C
Message 6 of 9
(3,397 Views)

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.DQMH1.jpg

0 Kudos
Message 7 of 9
(3,339 Views)

If you have DQMH Installed look at the DQMH Continuous Measurement and Logging (CML) example project.

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral
Message 8 of 9
(3,314 Views)

@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

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
Message 9 of 9
(3,309 Views)