04-29-2019 05:06 PM - edited 04-29-2019 05:07 PM
It sounds like you are talking about array subset. If you already know about it and are having problems with it, (Read the context help and detailed help), then you should attach the VI with your failed attempt, and data saved into the controls by default. Save and attach and we can see what you are trying to do and where you are going wrong.
It sounds like the answer is as simple as this.
04-29-2019 08:00 PM - edited 04-29-2019 08:02 PM
So you posted a question that we didn't understand, we tried to "guess" your meaning and make suggestions (but they seemed to be wrong), asked you to post some code to clarify (which you didn't do), suggested more solutions (but you said they were wrong), and you still haven't clarified the various solutions we've proposed nor helped us to understand your needs by posting your code.
So now that you say you have 100k array and want to plot the last 30k points. I created a tiny demo where I created a 1k array with the first 700 being random numbers and the last 300 being a straight line from 0 to 1. Here are two plots of the same array -- is this what you want? I'll tell you the exact same wire holding the entire 1k array goes to both charts.
Plot last 30%
Bob Schor
04-29-2019 10:22 PM
@Bob_Schor wrote:
So you posted a question that we didn't understand, we tried to "guess" your meaning and make suggestions (but they seemed to be wrong), asked you to post some code to clarify (which you didn't do), suggested more solutions (but you said they were wrong), and you still haven't clarified the various solutions we've proposed nor helped us to understand your needs by posting your code.
So now that you say you have 100k array and want to plot the last 30k points. I created a tiny demo where I created a 1k array with the first 700 being random numbers and the last 300 being a straight line from 0 to 1. Here are two plots of the same array -- is this what you want? I'll tell you the exact same wire holding the entire 1k array goes to both charts.
Plot last 30%
Bob Schor
Maybe I've become too crotchety in my old age, but I tend to ignore people like IRG. I'm happy to help people, as long as they make a reasonable effort at cooperation. Otherwise, I turn my back.
04-30-2019 06:54 AM
@paul_cardinale wrote:
Maybe I've become too crotchety in my old age, but I tend to ignore people like IRG. I'm happy to help people, as long as they make a reasonable effort at cooperation. Otherwise, I turn my back.
Been an academician too long, I still have the misguided notion that some people are teachable (though they may require a few kicks in the behind -- there's another one just like this I keep trying to get to use IBM's Famous Slogan ...).
Bob Schor