LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Register for events on a sub-array

Solved!
Go to solution

I noticed something weird today which may or may not be fixed in nweer LV versions.  This was found in LV 2012 SP1.

 

If I have a "Register for Events" node with a certain datatype already wired up and I change the input wire it doesn't always update the datatype accordingly.

 

If I switch between two arrays, it seems to work OK, but if I make a sub-array of the new wire it will only work if previously there was already a wire attached with the same datatype.  Hard to follow?  Here's an image.

 

REgister sub array datatype.png

 

If I go through the motions top to bottom, the first attempt to attach the sub-array fails but the second one doesn't.  It seems we need the intermediate "Full" array to propagate the datatype.  I know lots of datatype propagation problems were solved in LV 2013, so maybe this one is already fixed.

0 Kudos
Message 1 of 3
(2,633 Views)
Solution
Accepted by topic author Intaris

Unless for some unknown reason globals are part of the equation, a quick check seems to indicate it is fine in LV14SP1.

Message 2 of 3
(2,593 Views)

Cool, thought it might be.

0 Kudos
Message 3 of 3
(2,531 Views)