NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel test sequences with different durations

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
0 Kudos
Message 1 of 3
(2,874 Views)
Hello Michael,
 
were are not sure if we are understandig you´re question correct. So the eaisest way is when you ask it on www.ni.com/_ask in you´re native language.
 
Thanks,
 
Rebecca Fox
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,828 Views)
Hello, Rebecca

Thank you for your reply. I had clicked the 'Submit' button before noticing that I was in the wrong forum. My problem was not TestStand-, but LabVIEW-related and has been successfully tackled by members of that forum. (two different solutions, one applying queues, the other using an array of clusters of arrays - I'll contribute the .vis, if anyone be interested)

However, I had no possibility to revoke my post in the TestStand-forum. Which, coming to think of it, may be a suggestion to the forum-maintainers to include, an 'undo submission'-button.

So, please consider the matter resolved.
Michael
0 Kudos
Message 3 of 3
(2,824 Views)