From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Declined for reasons listed in AristosQueue's replies
From trying to make a malleable VI for some set/map functionality, I cannot seem to find a good way to cause the VIM call to be broken for when the input is not a set/map. It would be helpful to have a Asset Set and Assert Map method added to the Assert Type palette for this.
Just use the set or map operations with your input. Any non-set/non-map input that tries to wire to those functions will fail. You don't need an assert.
Asserts are almost never needed in writing VIMs. For some really generic operations, they have value, but usually, just do your operation.
For examples... see the Sets and Maps palettes (respectively). They both have VIMs that operate on sets or maps (respectively)... none of them use assert nodes.
Declined for reasons listed in AristosQueue's replies