07-11-2022 05:35 AM
Sorry, maybe this is a stupid question.
I was going through the idea of maps for a certain feature I'm looking to implement in our software and I just came across the following page on the LV website, it's apparently from LV 2021 and it mentions a "registration map".
https://www.ni.com/docs/en-US/bundle/labview-2021/page/glang/registration_map_register.html
Now I know I'm not using the most recent LV version (mainly 2015 with some 2019 sprinkled in) but even reading the help on this, I have no idea at all what this is for. Anyone have any ideas?
07-11-2022 07:35 AM
Don't you find the documentation helpful (in the help)?
Use the Registration Map VIs to create and manipulate registration maps. A registration map is a map between a key and a set of elements with operations to signal when clients register or unregister for one or more services.
Signaling is a weird term for returning a boolean value...
I also have no idea of why a map of sets is so special that there are special VIs for it.
07-11-2022 08:43 AM - edited 07-11-2022 10:19 AM
Yes, it is just a map where the value is a set. Use whenever it is useful. 😄
The three registration map VIs just simplify the use by giving more hierarchical information about it, such as if the set was empty for a given key, even if the map entry exists. etc.
07-11-2022 09:25 AM
Here is a current thread where the registration map may be a good option. I didn't suggest it since I'm not familiar enough with it either nor did I think the OP is ready for that information.