@Ex-jobb wrote:
Hello!
We have a chart and want to be able to control the "Chart History Length" via a numeric control. We need to use the chart, we can not use the graph in our case.
We do not want to change it during run-time, but one should be able to change this before one writes the values in the chart.
Is there any settings one can do in the property node for the chart or is there something else we can do to obtain this?
Thank you and best regards.
Salutations,
Interesting question, I'm not sure I follow it exactly, but lets give it a whirl anyways.
You have something along the lines of....
0 1 2
3 4 5
6 7 8
9 0 0
And, you just want to take a certain amount of this chart and write it to a file? Like [3, 4, 5; 6, 7, 8]
I trust, you're going to view this chart prior to writing it, so why not just do something along the lines of an Array subset?
Just make a control so that when the user inputs values it'll the information you desire.
So you wire in your 2-D array (or however many dimensions) and row index 1, with a length of 2. That should give you the [3,4,5;6,7,8] setup.
You can put this inside a while loop with an event structure and button that links to the front panel, so when they press the button it'll take the information they desire and write it to a file.
I hope this helps you out, Sorry if I misunderstood your question. If I did, please try to reword it for me, and I'll see if I can give it another whirl.
Sincerely,
ElSmitho