DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

What modifications are necessary to "Save as" copy of DQMH Tester

Solved!
Go to solution

Scenario Description
Suppose I have a singleton DQMH module named Abc.lvlib with an associated tester named Test Abc Module API.vi.


I created a "Save As..." copy of the module. Suppose this second module is named Def.lvlib. I also created a "Save As..." copy of the first tester. Suppose the second tester is named Test Def Module API.vi.


Question

I understand that DQMH uses VI tags to store information that associates the tester VI with its module (with the module under test).

  • If this is true, how can I view or edit these VI tags?
  • In particular, can one edit the tag stored inside Test Def Module API.vi to point to the Def module rather to the Abc module (the initial module that served as a Save As... starting point)?
  • Would the following have been a better approach? 1) Make the Abc module a DQMH Template 2) Create Def based on that template 3) DQMH would have updated all tags automatically

Further Information

Using DQMH 7.1.0.1503 (latest version at moment of writing).

Kind regards,
Petru

0 Kudos
Message 1 of 7
(198 Views)

Since you're using DQMH 7.1, I think you should use the Duplicate DQMH Module tool instead of trying to Save As yourself.

 

Darren_0-1748359695264.png

 

Message 2 of 7
(172 Views)

Hi Darren,

Thanks for the suggestion. I haven't used the Duplicate Module functionality yet, but will keep it in mind the next time I need to do something similar.

Is there a way I can manually edit the VI tags now that I already have the second (the Def) module and tester?

0 Kudos
Message 3 of 7
(167 Views)

There's nothing in the tagging that links a module library and a tester based on the names of either. If there is a VI in the module library's folder that has the DQMH tester tag, that's all that is required. So if you saved a copy of a tester VI, it would already have that tag.

0 Kudos
Message 4 of 7
(164 Views)

Thanks.

 

Do you know what Tag Name is used for this purpose? (please let me know if I'm asking for something that the DQMH Consortium prefers to keep private)

 

The Get User VI Tag.vi and Set User VI Tag.vi (located in the UserTags.lvlib found at <vi.lib>\UserTags) both require a Tag Name string input.

0 Kudos
Message 5 of 7
(132 Views)
Solution
Accepted by topic author Petru_Tarabuta

You can't use the User Tag VIs for this purpose, as they append a "user." prefix to tag names, which (most of) the DQMH scripting tools do not do. You'll need to use the private Get VI Tag method. The tag name is DQMH_Project_Item_Name, and the tag value is DQMH_Tester:

 

Darren_0-1748450956574.png

Note that I can't think of any practical reason why you would need to know this. The DQMH scripting tools should handle all of the tagging transparently to you, and if there is ever a tagging problem, the Validate DQMH Module tool should find and fix it.

Message 6 of 7
(114 Views)

Thanks for the information, that's all very useful. "Note that I can't think of any practical reason why you would need to know this. The DQMH scripting tools should handle all of the tagging transparently to you, and if there is ever a tagging problem, the Validate DQMH Module tool should find and fix it." - Fully agree. It was mostly my curiosity.

0 Kudos
Message 7 of 7
(82 Views)