LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hallo! I have a question to the following problem.

Hallo! I have a question to the following problem. I have to compare data. I get every 10 ms 3 data from a sensor. I must save the last 5 measurements. Compare the data and then I have to make a decision. Can I save the last 5 measurements with a shift register?? How can I save it, because I get continuously the data in the shift register. How can I compare the data when I put them in a cluster, save a cluster every 10ms and the I want to compare them with each other.

I thank you very much for your help!

thomas
0 Kudos
Message 1 of 5
(2,765 Views)
Hi,

I am quite sure, there should be several ways of doing this. This is my point of view. You can use shift register together with array. Store all your data into array and then you can compare your previous data. See my attach file save in 6.1. Hope will help.

Best Regerds,
LV lover
0 Kudos
Message 2 of 5
(2,765 Views)
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.)
0 Kudos
Message 3 of 5
(2,765 Views)
hey! thank you for your answer!
but i can not open the vi! i have the version 6.02
do you have the possibility the save it in LV 6.02??
can you give me your e-mail address. mayby i have an other question then i can mail you! would be very helpful for me!!

thank you very much!!

bye! tom
0 Kudos
Message 4 of 5
(2,765 Views)
here it is with LV 6.0

can reach me @ maymaythar@yahoo.com
0 Kudos
Message 5 of 5
(2,765 Views)