DQMH Consortium Toolkits Discussions

Showing results for 
Search instead for 
Did you mean: 

DQMH 3 and LV15. "Duplicate Library" does not duplicate "Test NewModule API.vi"

Go to solution


Thanks for the great tool.

"Add new DQMH Module" works fine.

But "Duplicate Library" duplicate everything exclude one file "Test NewModule API.vi".

I open "Tes API.vi" from the module for duplication, Save it as to NewModule folder, replace all VIs with NewModule's ones.

This way I can test NewModule. But it is a very easy way to forget to replace something and introduce errors.

Is there better way to have a Tester for duplicated library?



0 Kudos
Message 1 of 3
Accepted by topic author Sergiy

Hi Sergiy,

Thanks for trying out the DQMH 3.0 Beta.

The Delacor Library Duplicator serves to duplicate any non DQMH library (including .lvlib, .lvclass, .xnode, .xctl). To duplicate a DQMH module, we have something better, you can use the traditional Tools>>Delacor>>Add New DQMH Module...

You need to add your own DQMH template to the list of available templates. This will add your own module to the list of Module Type. You will have "Singleton", "Cloneable", "Your module".

We have not fully documented this feature in the documentation on the Beta. We created the video below for NI week. The steps for creating a DQMH Template start at 1:20. Before this point, the video shows how a DQMH module gets modified to have an object instead of a local data cluster and colors the block diagram's background. This "MyNewModule" is the module that will become our DQMH template. I will list below the steps to convert your DQMH module into a DQMH template. Every step starts with the video timestamp. Make sure you replace MyNewModule with the name of your DQMH module that will become a template. It is very important that you use the same MyNewModule name for the title and path:

  1. (1:40) Save your DQMH Module in <LabVIEW Data>\DQMH Module Templates\Source\Delacor\MyNewModule
  2. (1:53) Save the Test Module API templae at in <LabVIEW Data>\DQMH Module Templates\Source\MyNewModule
  3. (2:10) Create the DQMH Module Template MetaData XML file and save it in <LabVIEW Data>\DQMH Module Templates\MetaData\MyNewModule.xml
    • (2:14) XML Contents are:

<?xml version="1.0" encoding="Windows-1252" standalone="yes"?>




    <Description>Replace the description with MyNewModule description. A sample DQMH module that demonstrates the plug-in functionality of the Add New DQMH Module utility.</Description>

    <LocationPath>Delacor/MyNewModule </LocationPath>


    <TesterPath>Test MyNewModule API.vi</TesterPath>




4. (2:18) Now you are ready to use your new DQMH Template

5. (2:40) From the Add New DQMH Module, you can now select MyNewModule as one of the options besides Singleton and Cloneable.



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?
0 Kudos
Message 2 of 3

Hi Fabiola,



Message 3 of 3