完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
|
可否说的详细些?
|
|
|
|
|
|
采用队列、通知器都可以
|
|
|
|
|
|
使用队列和通知函数在两个平行框图中传递数据或向subvis中传递引用,可以避免轮询(Poll)。
使用全局变量(global variables),通知(notifiers),队列(queues),信号(semaphores),集合点 (rendezvouses)和发生(occurrences)。来同步各项任务。发生 (occurrences)较易使用,但不能避免陷入无限 循环。信号(semaphores)和集合点(rendezvous)可以避免无限循环。 (1)、使用集合点来同步数据的优势: 1)there is no polling involved. 2)you can pass references to subvis. 3)you can abort infinite waits. (2)、使用信号来同步数据的优势: 1)there is no polling involved. 2)you can pass references to subvis. 3)you can abort infinite waits. (3)、使用发生来同步数据的优势与劣势: 1)there is no polling involved. 2)you can pass references to subvis. 3)it can be diffcult to abort infinite waits. 4)you cannot unset an occurrence. |
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
211 浏览 0 评论
请教大神,在labview里面对实时扫描资源中的C系列模块NI9234进行配置发生非预期错误
1709 浏览 0 评论
1585 浏览 0 评论
LABVIEW 2023 Q1调用python后一直报错1671
1960 浏览 2 评论
5207 浏览 3 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 22:21 , Processed in 0.731285 second(s), Total 81, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
5705