DQMH Consortium Toolkits Discussions

annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

issue when create new module from custom template

Résolu !
Accéder à la solution

thanks first for this great framework!

 

we made a custom module template, and have created a new module from this template, for the first time.

and curious thing occured, when we tried to create another new module.

here is the error displayed.

royceking_0-1598883707524.png

we finally find the template api tester is moved inside the lvlib automatical, though this api tester is originally included in the "Tester" virtual folder, before the first time we use this template to create a module,like this.

royceking_1-1598884151360.png

 

and if we remove the api tester outside and back to the "Tester" virtual folder again, we can use this template to create new module again without error. but again, the api tester is moved inside the lvlib, and error occured.

 

 

 

 

0 Compliments
Message 1 sur 11
5 774 Visites

I reported the bug directly to Delacor 2 months ago, and they created an issue.

 

I'm pretty sure that the next version of DQMH will come with a fix 🙂

 

To be curious, I came across the issue because I would like to duplicate an existing module inside my project. I created a feature request for that, by that way --> https://forums.ni.com/t5/DQMH-Feature-Requests/Add-duplicate-module-menu/idi-p/4062011

 

What was your use case?


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn

Stop writing your LabVIEW code documentation, use Antidoc!
Message 2 sur 11
5 734 Visites
Solution
Accepté par l'auteur du sujet royceking

@Olivier-JOURDAN wrote:

I reported the bug directly to Delacor 2 months ago, and they created an issue.

 

I'm pretty sure that the next version of DQMH will come with a fix 🙂

 


It will be in the next release.

 

For now, when adding a new DQMH module from template, make sure the module used to create the template is not in the same project as to where you are adding the new module. You could create a blank project just to add your DQMH module and then move the module folder to the correct location. We apologize for the inconvenience and hope the workaround can help you out for now.

 

Thanks again for your trust in DQMH,

Fab

 

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?
Message 3 sur 11
5 730 Visites

it is similar with your case. we define each test item as a module, and there are almost 40 test items in this project.

 

each test item will be loaded dynamic and we create a module "test execute" to act like a middleware to manage these items.

 

we have refered to HSE application template for way of dynamic loading and registering modules. this framework is a little bit complicated for us, so we just use simple dqmh template.

 

thanks.

0 Compliments
Message 4 sur 11
5 715 Visites

all right, this is the way out and it works.

looking forward to the next release.

Message 5 sur 11
5 710 Visites

Hi Fabiola,

When will that update be released?  I had the same problem with making a module from a template so it isn't in 5.0.0.72, which I believe is the latest rev.  of Delacor QMH.  Does the problem also mean that we can't use the template multiple times in the same project?

Thanks.

0 Compliments
Message 6 sur 11
5 240 Visites

@carlos_camargo  a écrit :

Hi Fabiola,

When will that update be released?  I had the same problem with making a module from a template so it isn't in 5.0.0.72, which I believe is the latest rev.  of Delacor QMH.  Does the problem also mean that we can't use the template multiple times in the same project?

Thanks.


Hi Carlos,

 

DQMH 6.0 is on its way, thank you for your patience.

 

Waiting for the release, If you want to create a module from a module template that stands in your project, simply move back the tester to its original place after each creation.


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn

Stop writing your LabVIEW code documentation, use Antidoc!
0 Compliments
Message 7 sur 11
5 219 Visites

Hi Olivier-Jourdan,

Thanks for that response.  I have some new information on my problem.  I created a simpler custom template in a different project.  This one had no ties to the original project.  This template I was able to use, even several times on my main project.  Also, in the main project, the one with the template problem, there was a shared class-based instrument that was part of the template.

 C

0 Compliments
Message 8 sur 11
5 214 Visites

Do you mean that you have an issue with templates when the template is not in the project you want to add a new module to? That is the original issue this thread is about.

 

If so, can you please give us more information? What's the error you get when creating the new module, etc...


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn

Stop writing your LabVIEW code documentation, use Antidoc!
0 Compliments
Message 9 sur 11
5 206 Visites

@royceking wrote:

we have refered to HSE application template for way of dynamic loading and registering modules. this framework is a little bit complicated for us, so we just use simple dqmh template.


@royceking sorry for not reacting, I missed this paragraph when I read this thread the first time. 

 

If you find the time, could you elaborate on what made it difficult for you to go with the HSE application template? Which parts were too complicated? Where should we add comments or documentation?

 

We'd appreciate your input. Thanks in advance!




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 )


0 Compliments
Message 10 sur 11
5 202 Visites