Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/24/2013 in all areas

  1. I do see something which is very wrong - you use the same event registration refnum for both event structures. That is a BIG no-no. If I change that and wire the cluster of event refnums into a separate register node, then there is no crash. Now, I'm not saying that a crash is the right behavior here (because it isn't), but you should definitely change your code. If you use an event registration reference for more than one structure, you will get various irreproducible bugs, because the system wasn't designed to work that way. There's a caveats section for events in the LV help which talks about this a bit, but the rule is simple - an event registration refnum should belong to only one event structure. The easiest way to enforce this is to always place the register node right next to the event structure itself, but you can also do the registration in a subVI and then bundle the reg refnums into the dynamic terminal. If you do that, make sure the VI outputs a different refnum for each call.
    2 points
  2. In case you haven't seen it, remember to put ctrl-shift-g, in there: https://decibel.ni.com/content/docs/DOC-12725
    1 point
×
×
  • Create New...

Important Information

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