07-28-2004 10:37 AM
07-28-2004 10:54 AM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.07-28-2004 12:02 PM
07-29-2004 01:22 PM
The main differences are:
03-07-2006 01:16 PM
Ok, so I realize that the last post was in July of '04, BUT I think that as of today, on V7.1.1 the FN is faster than the SR.
I was writing an intensive integrated test app, and needed to pay close attention to performance, and wrote a quickie test to check the time difference. The results were that the FNs were between 30% to 50% faster than the SRs. The std deviation of that measurement was pretty high, as my test was not very deterministic, and i'm sure that XP was jumping away to process spam from Nigeria, etc... 🙂 However, I ran it at full clip for about 20 minutes and averaged the results, so I would have to say that I'm using Feedback Nodes whenever possible until somebody tells me it's not the thing to do...
03-07-2006 03:08 PM
05-16-2006 02:31 PM - edited 05-16-2006 02:31 PM
Hmmm.
I just ran a test on LV 8.0 and the feedback node took 50% longer than shift register.
- les
Message Edited by Les Bartel on 05-16-2006 03:02 PM
05-16-2006 02:41 PM
05-16-2006 03:08 PM
05-16-2006 03:31 PM
OK. Got it now.
I ran les's vi and confirmed his result, and started to scratch my head. Why did I get different results? How could those results be consistent with NI's explanation?
The difference between my test and Les's test is that he writes new data to the node/shift register with each iteration. In my test I used the node only to hold the millisecond counter start time.
Presumably this means that there is some checking going on to determine if the value has changed, and if it has it re-allocates, blah blah blah... Taking 40% more time than the SR. But if you're reading only, such as old-style global variables or the like, then it's faster. This would be consistent with NI's note, and our combined test results.
Yes, since I know you're wondering, I still use old-style global variables once in a while, and perhaps that's fodder for another thread...