|
|
以下是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上
下面的图是例子里面的图(没有给源程序,只有截图)
我按照截图做的程序却无论如何实现不了上述功能,请教大家,谢谢! |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|