取消
显示结果 
搜索替代 
您的意思是: 

6 pt - 6 plot Chart

hello one and all,  i am having a bit of trouble getting my head around this one.  i have a continuous loop.  within this loop i have "For Loop" that runs three times, N=3.  each iteration computes 2 points.  so a total of six for one iteration of the continuous loop.  i want each of the six points to display on a strip chart, each one in its own plot.  so Plot 0 - Plot 5.  three of the points will be on one y-axis and the second set of three on a second y-axis which is easy to setup under the Plot Legend.
 
i am having trouble figuring out to array/bundle the six points together through the For Loop so that i can connect it to a Waveform Chart so that it understands that it should plot six simultaneous strips on a single chart.  i hope i explained this clearly enough.  thank you in advance, lucas
0 项奖励
1 条消息(共 3 条)
2,842 次查看
Hi Lucas,

This is a little bit tricky, as it involves several build arrays.  I made this one using a shift register to store the temporary 2D array, and a build array to concatenate inputs each time around the three iterations of the for loop.

Also, make sure transpose array is not selected. Check out the attached example (LabVIEW 8.2.1) and let me know if this is what you are looking for!

Best regards,
-Sam F, DAQ Marketing Manager
0 项奖励
2 条消息(共 3 条)
2,825 次查看
yes, that worked great.  you are right.  it is a bit tricky and not at all intuitive.  turning a single dbl into a single element array and not using transpose on the chart are quite tricky.  thanx again and it is fully functional.  lucas
0 项奖励
3 条消息(共 3 条)
2,820 次查看