DQMH 4.0 added support for Real Time.

The video below is the same as the one in the DQMH in LabVIEW Real Time section. Here it starts at minute 5:24 where the video shows how to use the DQMH RT tester and keep it up to date.

We understand that there are DQMH modules that can execute either in "My Computer" or a Real Time target in a LabVIEW project. The new tool launched via Tools>Delacor>DQMH>Real-Time Tools>Create RT Tester... preserves the traditional DQMH Module API Tester and creates an additional DQMH Module API Tester for RT. From then on, anytime the DQMH scripting tools create a new event, they will add support for the new event in both the DQMH Module API Tester and the DQMH Module API Tester for RT.

The main differences in the DQMH Module API Tester for RT with respect to the traditional DQMH Module API Tester are:

  • DQMH Request Events are handled in the timeout event case of the event structure
    • DQMH Request Events are triggered via a button on the front panel of the DQMH Module API Tester for RT
    • The timeout event case of the event structure polls for changes on the buttons and determines which case to execute
  • DQMH Module API Tester for RT only  works for Cloneable DQMH modules
    • Singleton DQMH Modules do not work in LabVIEW Real Time running in Linux operating systems. There is a bug in how VI Server works in Real Time for Linux resulting in the Ctrl Value Set invoke node used inside the Start Module.vi to not work. We decided to only support DQMH cloneable modules in LabVIEW Real Time.
  • DQMH Module API Tester for RT does not stop cloneable module instances when exiting the tester
    • We assumed that the DQMH API Tester for RT will be used as a sniffer only and as such, it should not stop the module instances unless explicitly requested via pressing the Stop Module instance button on the front panel


How to Create a DQMH API Tester for RT

  1. Go to Tools>Delacor>DQMH>Real-Time Tools>Create RT Tester...
  2. Select the DQMH Cloneable module in your project that you would like to create a DQMH Module API Tester for RT for
  3. Go to the project, the DQMH Module API Tester for RT should be below the DQMH Module API Tester


How to use a DQMH API Tester for RT

The DQMH API Tester for RT can be executed in three modes:

  • As a host VI: open the DQMH API Tester for RT directly from the project and run it. This will deploy the tester to the target and you will be able to interact with the front panel controls.
  • Via Operate>>Connect to Remote Panel... : This requires that your target has Remote Panel support software installed and that the Web Server is enabled on the target (right-click on target properties to enable the Web Server)
  • Via a web page installed in the www folder in the target computer. To create the web page, use Tools>>Web Publishing Tool... This also requires that your target has Remote Panel support software installed and that the Web Server is enabled on the target.

Note: If you want to use the DQMH API Tester for RT as a sniffer once your application has been built as a startup application that runs on your target, make sure the tester is added in the "always include" section of your build specification. As long as the web server is enabled on the target, you should be able to wake up the DQMH API Tester via a remote panel connection and use it as a sniffer.