|
Hello Everyone,
I have a National instrument DAQ and I get a raw of data (x vector with 25000 elements) every one second from a master computer to analize it in another computer (slave).
My problem is:
when I get the vector x=[0 0 ....0] in 1 sec, i.e (the 25000 components are 0) in 1 sec, my program is stopped.
But, I am interested to wait up to 5 secs, not only 1 sec to make this decision.
i.e, the idea is take the decision to stop the program when I get 5 consecutives vector x = [0 0 ...0] , not only 1.
There some function to control it?
Thanks in advance,
Jose.
|