<p>在连线端弹出右键菜单,选择“Create Callback VI”后,会自动打开一个新的VI,在里边通常已定义好了几个控件,你可以根据提供的控件作相应的处理。</p><p>在LV帮助文件中有明确的解释:“<strong>VI reference</strong> is a strict VI reference to the callback VI. National Instruments recommends that the callback VI you use be reentrant. If the VI is not reentrant, it cannot be called simultaneously if the event occurs multiple times.” ,实际上,通过上述方式增加的新的VI,已经定义了重入。</p><p>另外,LV中还提供了两个实例,你搜一下Callback就能找到。</p>