From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Module ID in Helper Loop Timeout for Cloneable Module

Solved!
Go to solution

Hi everybody, 

 

I am using a cloneable module with a helper loop to collect sensor data. For this I use the timeout case of the helper loop the determine the refresh rate of the sensors. Because I want to get multiple instances of the same sensor setup I want to use the cloneable module. I am wondering now if there is a possibility to get the module ID in the timeout case of the helper loop to show which instance of the sensors timed out. 

 

I am quite new to DQMH especially to cloneable modules so please apologize if this has a simple solution. 

 

Thanks in advance

 

Johimi_0-1705393276045.png

 

 

0 Kudos
Message 1 of 2
(613 Views)
Solution
Accepted by topic author Johimi

Hey Johimi,

 

happy to hear that you're using DQMH for your programming needs.

 

You can read the clone's Module ID from the Module Admin object by wiring the Module Admin to the helper loop and using a simple property node, see the screenshot:

 

Bildschirmfoto 2024-01-16 um 10.28.49.png




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® (The Future of Team-Based LabVIEW Development)


Message 2 of 2
(592 Views)