10-18-2021 12:16 PM
Hello,
I am trying to built a graph using only max values that I adquiere from my DAQ USB6001. The problem is that the values from my DAQ are not always going up, example: (0,4,8,6,5,4,9,...) and what I want to do is: (0,4,8,8,8,8,9) so I replace other values with the previous max value.
For this I tried to use shift register with 8 continuous comparison (using greater or equal), for 8 iterations it works but the max value is not saved and it changes after the 8 iterations.
How can I save the max value? So I can also compare that value with the new ones coming from DAQ?
I'll apreciate any feedback, thanks 😄
Pd: I know my vi is a disaster, my bad.
Best regards
Jorge Cabello
Solved! Go to Solution.
10-18-2021 12:34 PM - edited 10-18-2021 12:34 PM
10-19-2021 08:22 AM
Hi GerdW,
I used many shiftregisters because I tried to solve my problem manually.
Anyway, your solution works perfectly. Thanks.
Best regards