NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Subpanel in UI exe not showing dqmh panel

Solved!
Go to solution

I am using UserInterface Simple for executing sequence file. In UI i added SubPanel.
In sequence file I run DQMH module. I want to show dqmh module in SubPanel in UI.
I made request for module https://thelonelyant.com/a-better-way-to-insert-dqmh-modules-into-subpanels/
Through usermessage i send reference of SubPanel to sequence, than i call insert Into Subpanel.vi.
If I run Top-Level VI.vi it works. Than i build Top-Level VI.vi to exe file. Reference of subpanel is defined somewhere else and DQMH module cannot insert panel into SubPanel. How can this be solved?

0 Kudos
Message 1 of 4
(1,493 Views)
Solution
Accepted by topic author mitjaAl

Hello,

 

My first thought is about code module adapter configuration. The code modules your are using do not specify to use 'Always Run-time'. So it may be dependant of the station adapter configuration.

 

Check your configuration of TestStand. If it is set with LabVIEW Development System, when running the top level VI, both the UI code and the DQMH module run in the same dev system 'context'. The build operator interface is executed by the LabVIEW Run-Time Engine, but if your code module is still executed in dev system, they are not in the same 'memory space'.

 

If your station is in this configuration (LabVIEW Adapter set to use dev system), try to change adapter to run code modules with Run-Time Engine. It could be done at station Level, using adapter configuration, or more specifically at sequence level, using module Advanced Settings » Always Run VI in LabVIEW Run-Time Engine.

 

The drawback is that your DQMH module should be usable in Run-Time Engine context. If it does not work, try to mass compile the module: it may work on your computer. For deployment, I guess a PPL may be an option to distribute your module.

 

Note, I did not look for DQMH documentation about use in TestStand, perhaps is there recommendation to handle properly the 'memory space' issue (I'll pick a look if I get some time for it)

 

Hope this helps...

0 Kudos
Message 2 of 4
(1,479 Views)

You might want to ask on the DQMH forum: https://forums.ni.com/t5/DQMH-Consortium-Toolkits/bd-p/7120

 

I think multiple people have used DQMH with Teststand successfully.

0 Kudos
Message 3 of 4
(1,451 Views)

Thank you. Solution is in code module adapter configuration. I added in sequence file adapter configuration: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000wxALCAY&l=sl-SI

0 Kudos
Message 4 of 4
(1,422 Views)