User talk:Brian P. Josey/Notebook/2010/08/09

From OpenWetWare
Jump to: navigation, search

Steve Koch 20:43, 10 August 2010 (EDT):Very glad you're learning labview. The code looks great. My one comment is the use of the feedback node instead of shift register. I've never used feedback node, and my initial reaction is that shift registers are more readable. HOWEVER, looking at the code, I can see the potential for having cleaner block diagrams as you've written. Does NI recommend one usage versus the other? Wonder if some google searching would give you any tips.

Brian P. Josey 11:53, 11 August 2010 (EDT) It does seem that most people prefer using the shift register because it appears to be a faster way to execute the code. I found a forum post, here on the NI forums, where someone found shift registers running faster than a feedback node, at least five years ago. Right now, I prefer the feedback node simply because it can reduce the noise on the back panel, and I find it easier to track, but if the execution speed of my code becomes important, then it looks like the shift register is the way to go. I assumed that they functioned the same and where equivalent, but I guess that's not the case.