Hello all,
It's been some time since I did any programming in JSL, so I'll be asking some basics questions which I did not find in the manuals.
1. How, using a JSL, I can set a specific value to a specific Col/Row?
2. I need to do that in a For loop. Let's say I need to run a loop from 1 to number of rows, and assign (for now) the same number to each Row of a Specific column. How do I do that this way?
3. Specific example. I have M sets of N measurements. I have datetime for each measurement. I know that each mth measurement was done in order. But do not have column that says what set it is, I only have column that has the measurement.
In other words I have only first column, and I need to make the second.
I know how to do the logic - See the difference between current row and the previous one, and as soon as it's not 1, iterate the MeasSet counter.
But how do I iterate and how do I write this FOR loop?
I wrote it once, but lost the code and starting from the beginning here.
Counter1 | MeasSet |
---|
1 | 1 |
2 | 1 |
3 | 1 |
4 | 1 |
5 | 1 |
1 | 2 |
2 | 2 |
3 | 2 |
4 | 2 |
5 | 2 |