数据更改
- 更新时间2025-07-30
- 阅读时长2分钟
Generated on the Facade VI when the value of the XControl changes as a result of writing to its terminal, local variable, or Value property. LabVIEW calls the Facade VI with the new value.
外观VI的控件值发生变化时,并不生成“数据更改”事件。如需对外观VI的控件值变化进行处理,可在外观VI中添加值改变事件。
注: LabVIEW不在每次写入接线端或局部变量时调用外观VI。LabVIEW在需要更新XControl时调用外观VI。由于不是每个值都在外观VI上显示,因此无法通过XControl记录每次写入接线端的数据。如需外观VI在XControl写入值时更新,可通过值(信号)属性写入该值。
事件数据字段
| 名称 | 说明 | ||
|---|---|---|---|
| Source | 事件的源。LabVIEW UI是指任意的内置UI事件。
|
||
| Type | 发生事件的类型(例如,鼠标按下、值改变、超时等)。 |
||
| Time | 事件发生时毫秒计时器的值。 |
||
| VIRef | 对发生事件的VI的引用。 |