From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, 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: 

Why two module IDs in cloneable module requests

Solved!
Go to solution

When creating a new request for a cloneable module it looks something like this:

 

1984_0-1713520771472.png

 

The module ID can be wired from the payload as well as from the Mod Admin? Whats the reason of having both? I guess they should match as in the EHL the module ID is checked?

0 Kudos
Message 1 of 3
(875 Views)
Solution
Accepted by joerg.hampel

There are two scenarios for a message to arrive at the MHL case of a cloneable module:

 

1. It's addressed to the clone itself

2. It's addressed to all clones (-1)

 

The module admin always gives you the ID of the clone, no matter what. The payload gives you information on if the message was addressed to the specific clone (Module ID = Clone ID) or to all clones (Module ID = -1).

 

Note: When in doubt, always use the module admin to access the clone ID!

 

Hope that helps!




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® (Developer Experience that makes you smile )


0 Kudos
Message 2 of 3
(861 Views)

Ah, now its so obvious. Thanks.

0 Kudos
Message 3 of 3
(850 Views)