02-21-2015 11:30 AM
You would probably see your problem if you ran the VI in highlight execution or single stepping mode and then you'll see that you have at least two bugs - the minor one is that you're assuming that the array of terminals is parallel to the array of control refs, but it's not, because the first terminal is the output one. The fastest way to resolve this is probably to only increment your counter inside the false case.
The more major is that you're reading the number of terminals on the node before you're resizing it, so that your loop only runs two times.
02-22-2015 04:23 PM
Hi Darin,
Thanks a lot. It worked with your block diagram except that I had to pass the reference through "terminal" property node to define the source of wire. LV2012 version attached!
Thanks again.
Regards
HB
02-22-2015 04:25 PM
Thanks tst,
I got your point and it helped me solving the problem. 🙂
Regards
HB