是德科技
直播中

娄莉莉

7年用户 166经验值
私信 关注
[问答]

并行循环操作是否可行?

我试图并行运行两个循环。
一个循环将以1秒的间隔显示当前时间,而第二个循环以预定的间隔读取数据。
我这样做是为了清理所有连接小部件和电线。
时间循环很短,似乎是短路第二个循环。
并行循环操作是否可行?

以上来自于谷歌翻译


     以下为原文

  I am attempting to run two loops in parallel.  One loop will display current time at 1 sec intervals, while the second loop reads data at scheduled intervals.  I am doing this to clean up all the junction widgets and wires running around.  The time loops is short and appears to be short circuiting the second loop.  Is parallel loop operations possible?  

回帖(1)

刘御

2019-8-2 14:34:25
这没问题。
见附例。

以上来自于谷歌翻译


     以下为原文

  This is no problem. See attached example.

附件

举报

更多回帖

发帖
×
20
完善资料,
赚取积分