When wiring error into a loop, the most common use case is to have a shift register to pass the error from iteration to iteration. Hence shift registers should be the default terminal type for error clusters when wired to a loop.
And refnums, too
Posted 21 November 2007 - 06:21 PM
Posted 21 November 2007 - 06:21 PM
Posted 21 November 2007 - 06:21 PM
Posted 21 November 2007 - 06:38 PM
Why would you need refnums to be shift registers? Unless you're closing the reference within the loop and replacing it with a not-a-refnum constant, I'd expect they would pass through a loop unmodified, and I don't think there would be a benefit to using a shift register over a tunnel (although I don't think there would be a disadvantage, either, which might be enough to make your point).And refnums, too
Posted 21 November 2007 - 06:38 PM
Why would you need refnums to be shift registers? Unless you're closing the reference within the loop and replacing it with a not-a-refnum constant, I'd expect they would pass through a loop unmodified, and I don't think there would be a benefit to using a shift register over a tunnel (although I don't think there would be a disadvantage, either, which might be enough to make your point).And refnums, too
Posted 21 November 2007 - 06:42 PM
Because if for loop is never executed (N=0), the reference is not passed trough the loop, but a default NULL reference is returned at the other end of the loop instead.Why would you need refnums to be shift registers? Unless you're closing the reference within the loop and replacing it with a not-a-refnum constant, I'd expect they would pass through a loop unmodified, and I don't think there would be a benefit to using a shift register over a tunnel (although I don't think there would be a disadvantage, either, which might be enough to make your point).
Posted 21 November 2007 - 06:42 PM
Because if for loop is never executed (N=0), the reference is not passed trough the loop, but a default NULL reference is returned at the other end of the loop instead.Why would you need refnums to be shift registers? Unless you're closing the reference within the loop and replacing it with a not-a-refnum constant, I'd expect they would pass through a loop unmodified, and I don't think there would be a benefit to using a shift register over a tunnel (although I don't think there would be a disadvantage, either, which might be enough to make your point).
Posted 21 November 2007 - 07:07 PM
Ah, right. I've been bitten by that one before, and now my solution is usually to fork the wire outside the for loop.Because if for loop is never executed (N=0), the reference is not passed trough the loop, but a default NULL reference is returned at the other end of the loop instead.
Tomi
Posted 21 November 2007 - 07:07 PM
Ah, right. I've been bitten by that one before, and now my solution is usually to fork the wire outside the for loop.Because if for loop is never executed (N=0), the reference is not passed trough the loop, but a default NULL reference is returned at the other end of the loop instead.
Tomi
Posted 24 November 2007 - 06:35 AM
I agree absolutely.When wiring error into a loop, the most common use case is to have a shift register to pass the error from iteration to iteration. Hence shift registers should be the default terminal type for error clusters when wired to a loop.
EDIT: The same should apply for all reference types.
Posted 24 November 2007 - 06:35 AM
I agree absolutely.When wiring error into a loop, the most common use case is to have a shift register to pass the error from iteration to iteration. Hence shift registers should be the default terminal type for error clusters when wired to a loop.
EDIT: The same should apply for all reference types.
Posted 24 November 2007 - 12:02 PM
Posted 24 November 2007 - 12:02 PM
Posted 30 November 2007 - 09:17 AM
Why would you need refnums to be shift registers? Unless you're closing the reference within the loop and replacing it with a not-a-refnum constant, I'd expect they would pass through a loop unmodified, and I don't think there would be a benefit to using a shift register over a tunnel (although I don't think there would be a disadvantage, either, which might be enough to make your point).
Rolf Kalbermatter
CIT Engineering Netherlands
A division of Test & Measurement Solutions
Posted 05 December 2007 - 03:56 PM
When wiring error into a loop, the most common use case is to have a shift register to pass the error from iteration to iteration. Hence shift registers should be the default terminal type for error clusters when wired to a loop.
EDIT: The same should apply for all reference types.