04-21-2022 02:29 AM
Great news. I've created my first DQMH module to "refactor" a subset of code from a very poorly written application ( a long story, made short, that I must share: It starts with "forked" queue's and mystery messages that were coming from a sub-vi nested 3 deep. It ends with my consultant: "But the code works". Classic!) Now for the real topic:
How to design a DQMH based application that primarily runs on RT (cRIO-9045) with a PC UI, that is ready to run solely on the cRIO embedded UI if the PC is unavailable? I've had two life experiences running machine control applications on PC, in one case windows update prevented operating the equipment and the other, a virus took out the PC. The primary reason I'm setting this requirement is to log data directly to corporate network folders associated with each test we perform. We are controlling and monitoring a hydraulic power unit as the stimulus to the Device Under Test from which we acquire (post-process and log to file) the DUT mechanical responses and stimulus conditions. The secondary reason is for network access facilitating automatic e-mail notifications upon important events. In case the PC or IT network is not available, I intend to switch our touchscreen monitor input to the cRIO, make a couple run-time changes to RT and save files to a jump drive. Another reasonable option would be to have two monitors with the primary UI on the cRIO and have PC VI porting data to the network.
I have not studied it yet, but on the surface Hampel Software Engineering / DQMH / HSE Generic Networking for DQMH Modules · GitLab looks very helpful for the primary architecture. I'm all but lost for planning the back-up embedded UI. To be fair, I'm not sure how to accomplish this architecture regardless of DQMH. I can't imagine this would be as simple as having two instances of one UI module on each of the targets........
What examples, or reference material might help me see the design process this would require?
Thanks - Jared
05-02-2022 11:43 AM - edited 05-02-2022 11:45 AM
Hey Jared,
if you can manage to keep the dependencies at bay, the GenNet template could be a very simple solution to your requirement.
This is of course only one of many, many ways to achieve what you're looking for.
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® (Developer Experience that makes you smile )
05-02-2022 10:17 PM
If you haven't seen it already, there is this video on implementing DQMH on a LabVIEW RT target. There are a few ideas on user interfaces discussed that might give you some ideas...
(377) GLA Summit 2021: Recommendations for better LabVIEW RT development using DQMH - YouTube