Hi all,
First I want to say that I appreciate all the help people get here!
So this week I posted this thread about doing several live edits on a graph:
https://forums.ni.com/t5/LabVIEW/Live-editing-multiple-graphs/m-p/3662802#M1029428
I've made two subVI's for the functions I need: a VI for calculating the max, min, avg, and mean of the array, and a VI to clip data in the graph. The problem I encounter is this: I need to be able to do both SubVI's live. So when I clipped some data, I want it to recalculate it's max, min, avg and mean. So I need them both in a while loop. However, the max, min, avg, and mean function doesn't work with a shift register, it keeps updating the data in some way I don't really understand (Some explanation would be appreciated ). The clipping function does need the shift register, because I want my program to remember the things I've clipped. I've thought about doing a while loop in a while loop but when I looked into that, it seemed that it isn't a good option.
On another note, I would like an undo option for the clipping function, but I have no idea where to start. So maybe some tips to get me started would be nice.
I've attached the main program (sorry if it's a bit messy), the subVI's, and the file I read.
Thanks a lot in advance!!
LvL