If I understand you correctly, you need to operate on the last five data sets from your three sensors.
Simply expand the right shift register to store the data from the last few iterations (see attached image). Since I don't know how you need to compare the data, I have just placed a generic VI that operates on the history data.
(Please attach your VI if you want me to give you a more specific solution.)