找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 1138|回复: 1

关于修改动态注册事件的例子的问题

[复制链接]
发表于 2007-3-29 01:21:43 | 显示全部楼层 |阅读模式
以下是lv帮助中的一段话
The example in the following figure shows how you can dynamically change at run time which objects LabVIEW generates events for. When the following block diagram executes, LabVIEW registers the Numeric reference and waits for an event to occur on the associated Numeric control. When LabVIEW generates a Value Change event for the Numeric control, the Numeric Value Change event case executes a Register For Events function to change the numeric control registered for the Value Change event from Numeric to Numeric 2. If the user subsequently changes the value of the Numeric control, LabVIEW does not generate a Value Change event. However, changes to the Numeric 2 control generate Value Change events. Each time LabVIEW generates a Value Change event for the Numeric 2 control, the Register For Events function executes but has no effect because the Numeric 2 control is already registered for the Value Change event.
大致意思是通过动态注册的修改,numeric1的数值改变不会表现出来,而是表现在了numeric2上
下面的图是例子里面的图(没有给源程序,只有截图)
我按照截图做的程序却无论如何实现不了上述功能,请教大家,谢谢!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 发表于 2007-3-29 01:29:31 | 显示全部楼层
突然之间明白了,i上面接了个计数器,意思是num1改变第一次后就不会再影响这个计数器,而改由num2来影响了,呵呵,不知道可对啊?
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-30 05:10 , Processed in 0.034083 second(s), 12 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表