NI LabVIEW,CVI,数据采集等产品讨论区

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

循环的中断

我做了一个循环100次的程序,现在我想在运行到50次时按中止按钮退出循环体,如何实现。请那位高手帮帮我,谢谢
0 项奖励
1 条消息(共 4 条)
4,129 次查看
使用Whileloop
 
http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer
0 项奖励
2 条消息(共 4 条)
4,121 次查看
我不市这个意思,我是说如何在for循环体中退出,用while当然是可以的啦
0 项奖励
3 条消息(共 4 条)
4,099 次查看

Hi sdsd

you mentioning is not reasonable about that I believe as you use "For loop" to do this action, you know that is a "for loop",

as your condition, please use "while loop" , it can achieve your demand .see attachment.

________________________________________________________


Try to make everything Automatic
0 项奖励
4 条消息(共 4 条)
4,088 次查看