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

how to do a loop for controls

I have the same code to be run for all the ring controls.How to do this.I want to put the code inside the loop but only the controls name is to be repeated or changed.thanks in advance
0 项奖励
1 条消息(共 9 条)
3,501 次查看
IF you want to use the same code for one ring control and us the Strings, create a property node of the ring control and usr the property Strings[].

if you want to use the same code for different ring controls, use a SubVI.

Chris
0 项奖励
2 条消息(共 9 条)
3,501 次查看
Herewith I'm attaching my file.PLease comment and tell where should i correct.
0 项奖励
3 条消息(共 9 条)
3,501 次查看
In the file attatched I included the things I thought you could do. Since all the Rings are the same you can put them in an array. The operation you are doing is allways the same so I put it in an SubVi. Now you can easily use a loop to calculate the 8 differences you are looking for.

Hope this helps
Chris
0 项奖励
4 条消息(共 9 条)
3,501 次查看
Hi friend
Sorry for the inconvenience.I'm having only LV6.1 version.It seems you have compiled in LV7.So i could not able to open it.Find me a please.So that it'll be helpful for me.
0 项奖励
5 条消息(共 9 条)
3,501 次查看
0 项奖励
6 条消息(共 9 条)
3,501 次查看
Its great.you have reduced many things.But why all the values are not getting plotted in a single run as the previous one vi that i have sent.In this it is plotting one by one for every run.
0 项奖励
7 条消息(共 9 条)
3,501 次查看
hmmm i get all values plotted in a single run. I can't think of a reason why it should not be like that.
0 项奖励
8 条消息(共 9 条)
3,501 次查看
No problem.Any i got it workrd with your ideas.Thanks a lot.
0 项奖励
9 条消息(共 9 条)
3,501 次查看