05-20-2008 12:22 PM
05-20-2008 12:37 PM
05-20-2008 12:52 PM
05-20-2008 01:26 PM - edited 05-20-2008 01:36 PM
05-20-2008 02:17 PM
This is absolutly expected behaviour.d
- Every ancestor VI with multiple instances also has to be made reentrant (this shouldn't have to happen, according to the way I read the documentation, but it
Message Edited by SPM on 05-20-2008 01:36 PM
05-24-2008 01:15 PM
05-24-2008 01:41 PM
05-24-2008 03:34 PM
Hi Steve.
You should not use reentrant VIs to accomplish an LED change detection. To my opinion, the behaviour of the reentrant VIs in reentrant VIs you observe is by accident what you want to have. The correct approach might be - as Mike said - an Action Engine.
Ben has written a great Nugget on this issue. Here you can read out, what you can do with Action Engines. (And just one note before you start: The shift registers in these VIs are not connected from outside the loop ...)
Regards, Guenter
05-24-2008 08:48 PM - edited 05-24-2008 08:54 PM
05-25-2008 01:45 AM
SPM wrote:
So one Action Engine per LED to detect blinking is a no-no? (That's what I'm doing now, and unless they're reentrant they start stomping on each other.)
P.S. I am preallocating for each instance (private option.) But if some ancestor has multiple instances and isn't declared reentrant, blammo!