05-19-2026 02:43 AM
HI,
I want to add an error logger to my DQMH projects. My 1st thought was to add a dedicated DQMH module and to send broadcasts from all other modules to it in order to write errors to file or to show them in my application status bar. After a lot of thinking and reading of previous discussions, I found that HSE framework has its own Logger which is not a DQMH module by itself but it works together with all DQMH modules.
My questions are:
1. Why HSE logger is not a DQMH module and what is the prefferred way to add logger to an existing DQMH project?
2. I saw that HSE has also an event logger which is a DQMH module that is a part of the framework itselsf (together with status bar and more). How can I insert these modules into an existing DQMH project?
Best regards,
Roey
05-22-2026 02:46 AM
Hi Roey,
nice to see that you looked in our HSE Framework and the HSE Logger 🙂 To your questions:
1)
We deliberately chose to not create the logger as an DQMH module. We wanted the logger as independent, lightweight and flexible as possible. Not every project we work on is using DQMH. And clever designed OOP structure is much easier to extend.
Have a look at the HSE Logger examples or the VI `PROJECT_InitLogging.vi` in our HSE Framework project to see how it can be initialized. In a project, no matter if with or without DQMH, you can just place one of the logging VIs like `DEBUG.VI` in your code.
2)
I guess you mean the "Event Manager" module. That's not a logger, it's a viewer to display log messages from the HSE Logger and other sources like DQMH broadcasts. It automatically comes with our HSE Framework, but you can use it separately, too. It has a request "Set Modules" to register the default broadcasts of an DQMH module. It can be quite handy to have a quick look at the logs.