Jump to content

LV2019 Map IPE Bug


LogMAN

Recommended Posts

I want to share a bug that exists in LV2019+ that results in data being overwritten in independent wire branches when changing maps with the Map Get / Replace Value node of the IPE. Here is the code:

797140498_MapIPEBug.png.0beabfd0eecbeded6506c8f7d1d8f2a3.png

This should produce two maps

  • <"key", 0>
  • <"key", 1>

But the actual output is

  • <"key", 1>
  • <"key", 1>

image.png.4c8a58064b0522e428c38a93566a773e.png

As it turns out, Map Get / Replace Value breaks dataflow. There are two workarounds for this issue.

  1. Use the Always Copy function
  2. Wire the Action terminal of the write node

428945750_MapIPEBugFix.png.030fc3edf95004d707de79e647e49d47.png

This was reported to NI with the bug report number #7812505.

  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.