Hello
I run a test stand with 8 lines. These run multiplexed through one external controller. So it's basically 'tell #1 what to do' - 'see what #1 does' - 'change control valve #1 a little' - 'proceed with # 2' - cycle on.
I used to run 8 setpoints, each eventually different from the others, but constant over time. Worked fine.
Now I want to change to running profiles, i.e. setpoints varying with time. Again, each profile with individual ramps.
My attempt was to use arrays of
time 1,0 setpoint 1,0 e.g 0 s 100 l/min
time 1,1 setpoint 1,1 10 s 50 l/min
.
time 1,m setpoint 1,m 200 s 100 l/min
time 2,0 setpoint 2,0 0 s 0 l/min
.
time 2,n setpoint 2,n 230 s 50 l/min
etc., with n <> m.
or whatever user wants. The loops will obviously start in phase, but run out of phase as loop times are not equal.
So it may be 8 arrays of different lenghts that would have to be editable at runtime. I thought to stuff these into a cluster and cycle through the cluster elements. Loading the array, interpolate a setpoint and do the control. Then change to the next array.
However, I cannot access a cluster element programmatically. Changing from Cluster to array will force me to use equal number of setpoints for all lines, which seems not what I want to do.
Did any one else run into such aproblem before, with a solution maybe?
Thanx in advance
Michael