View Single Post
  #5   Spotlight this post!  
Unread 01-02-2012, 08:51
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: Difference between Shift Register and Feedback Node

Simply, shift registers are just a way to pass a value from one iteration of a loop to the next iteration of the loop. They require a "host loop" that they connect within.

Loop iterations (0 is the initial value passed into the shift register)
0 1 2 3 4 5 6 7
Output (This looks weird, but due to the design of the shift register, the output comes before the input, left to right)
0 0 0 1 2 2 3 0
Input
0 1 2 2 3 0 7
Final output 7

A feedback node is basically a shift register without the loop. The shift register takes and delays the incoming signal one iteration of the vi. This would be used in Teleop, where you can't have loops.

VI iterations
0 1 2 3 4 5 6 7
Input
0 0 1 2 2 3 0
Output
0 0 0 1 2 2 3 0

Last edited by zaphodp.jensen : 01-02-2012 at 09:00. Reason: Added more information.
Reply With Quote