DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

DQMH and Classes

Is there a good document/video on how to use classes with DQMH modules? I saw the quick tip #5 video but it's just surfing (very very fast!) the tip of the wave. Ideally a simple example project would be helpfull for many of us. I'm developping an application where a selected test is loaded in a subpanel. Typically I would use a plugin architecture where a test interface class that is overidden by a specific selected test class. I was planning to use a DQMH modules for each test but I have no idea how a DQMH module can be loaded dynamically.

 

Thanks!

 

Ben64

0 Kudos
Message 1 of 4
(2,915 Views)

Not regarding classes, BUT: For an example implementation of how to load DQMH modules dynamically, you can take a look at our HSE Windows Application Template, and especially at the startup.vi which uses call by reference nodes to dynamically execute the Start Module.vi...

 

Bildschirmfoto 2021-06-02 um 22.53.21.png




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (The Future of Team-Based LabVIEW Development)


Message 2 of 4
(2,893 Views)

And this time, regarding classes! 🙂

 

1) Check out Wired-in's presentation at VIWeek 2020 here: https://www.youtube.com/watch?v=Q8Tte_rntNU.  I talk about using classes for the purpose of a hardware abstraction layer.  I give a few demos on it, so you get to see how I've structured the class hierarchy and used it in the DQMH module.  Might not be comprehensive, but it would be a good start.

2) There is also a good blog article on how to use classes within a DQMH module on the Delacor website: https://delacor.com/hal-in-your-dqmh-2/ .  Truth be told, I used this as my foundation for the aforementioned presentation!

3) Check out Tom McQuillan's VIWeek 2020 presentation here: https://www.youtube.com/watch?v=1aMsftXMlTY.  He spends a segment talking about how he does DQMH, and uses classes.

Christopher Farmer

Certified LabVIEW Architect and LabVIEW Champion
DQMH Trusted Advisor
https://wiredinsoftware.com.au

Message 3 of 4
(2,887 Views)

Thanks Joerg and Christopher, I will have a look at the posted links (and maybe come back later with a few questions!).

 

Ben

0 Kudos
Message 4 of 4
(2,858 Views)