DQMH Consortium Toolkits Feature Requests

cancel
Showing results for 
Search instead for 
Did you mean: 
bienieck

More Stubs in Templates and Better Organization in Auto-Generated VIs

Status: New

When I first saw the auto-generated VIs in the DQMH framework, I was surprised at how chaotic they looked, despite being automatically generated. I thought, "Alright, it’s auto-generated anyway, so there's no point in worrying about it." However, it kept bothering me. Eventually, I decided, "I’ll replace the template with one where the elements are better organized, and I can also add a few small modifications of my own."

 

However, when I tried to do this, I realized that the templates didn’t include stubs for everything, and what was generated from scratch covered much more than I had expected. This completely disrupted my plans.

 

Therefore, I would like to request a modification of the generation process so that the templates include more stubs, which the generator replaces in a more predictable manner. Additionally, I’d appreciate clear documentation that would allow me to customize the template without risking breaking anything. Perhaps I’m mistaken, but I don’t think there are that many possible combinations in these templates?

 

I’m most interested in the request templates, but I believe the idea could be generalized to other cases as well.

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
1 Comment
Taggart
Trusted Enthusiast

I thought, "Alright, it’s auto-generated anyway, so there's no point in worrying about it." However, it kept bothering me.

Sometimes there is joy and a sort of zen in accepting things the way they are and letting go. Things can be imperfect and still be perfectly functional.

 

On a practical note, I think the scripting there is probably complicated enough that you are unlikely to get what you are asking for (although there is never any harm in asking).

As far as not breaking the scripting code, my first thought was the DQMH Validator would catch if you modified something and it broke the scripting. However as I think more about it, I don't think that solves your problem because the validator checks the code inside a module not the templates that are used by the scripting code.

A validator for the template code might be something worth thinking about and may be more likely to get accepted.

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral