24小时热门版块排行榜    

CyRhmU.jpeg
查看: 169  |  回复: 1
当前主题已经存档。

zxwuli

金虫 (正式写手)

[交流] labview编程中小问题

boolean"测量":Boolean latch action is incompatible with local variables

details
if a boolean control has local variables, it cannot use latch mechanical action. the first local variable to read a boolean control with latch action would reset its walue to the default.

哪位虫友知道这是怎么回事,怎么来改哦?
风雨兼程
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bote

when you use latch functions for a boolean control

★ ★
zxwuli(金币+2,VIP+0):我的程序要求多个地方使用一个boolean,只能用local variables啊 9-23 17:59
the logical value of the boolean control is kept the same as the default. however, its local variables you create from this boolean control will receive a new value which is different from the default. this controversy incurs your error.

replace all local variables of a boolean control with real boolean controls.

[ Last edited by bote on 2009-9-23 at 03:05 ]
2楼2009-09-23 02:16:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 zxwuli 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见