This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DQMH PPL Cloneable Module ID incorrect

Hello everyone
I created a Cloneable module using DQMH
 
1. When I use tester in the source code to test multiple calls to the module, multiple instances can be called correctly, and their module IDs are 1, 2, 3...
 
2. However, after encapsulating the module into PPL, when I called it multiple times with other VIs, the PPL is not in any project(it called through a file path),the module ID always remained 1. The following figure shows my discovery
 
Even though I have called this module multiple times, the Boolean output "New Reference Cream" of "Get or Cream Master Reference. vi" is always True, causing the module ID to not increment. I would like to ask why and how I can solve this problem
 
Thank you very much for any help
 
屏幕截图 2025-11-26 103510.png

0 Kudos
Message 1 of 3
(138 Views)

It looks like if "Start Module.vi" leaves memory the counter will be reset. "Called through a file path" tells me you may be opening a reference to "Start Module.vi" by path. If so are you closing the reference after each clone is launched? If so try leaving the VI reference open instead.

0 Kudos
Message 2 of 3
(69 Views)

Yuanxj_0-1764177695877.png

this way good,i did not try your method,

0 Kudos
Message 3 of 3
(39 Views)