Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69091

using a for loop for dynamic registration

$
0
0

I am able to register events discretely, but when I attempt to do the same thing in a for loop, my code fails to work, and I don't see the difference between my two approaches.  First, the method that works:

works.pngNow, the method that doesn't work:

 

broke.png

 

In addition to this shift register, I have also tried using tunneled output from the for loop, with both indexed, tunneled, and concatenating outputs.  When I say the 2nd approach doesn't work, what I mean is that the event structure never executes.  I made sure to go into the event editor and change the event to be the dynamic one that I'm registering...

 

Any thoughts?


Viewing all articles
Browse latest Browse all 69091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>