相对模式
- 更新时间2025-07-30
- 阅读时长2分钟
获取或设置共享变量与共享变量节点间的连接为绝对、终端相对或默认模式。
注释
下表列出了该属性的特性。
| 短名称 | RelativeMode |
| 数据类型 | ![]() |
| 权限 | 读取/写入 |
| 可用于运行引擎 | 否 |
| 可用于实时操作系统 | 否 |
| 可在VI运行时设置 | 否 |
| 加载前面板至内存 | 否 |
| 使用前必须授权 | 否 |
| 加载程序框图至内存 | 否 |
| 允许远程访问 | 是 |
| Default | 0 | |
| Absolute | 1 |
Specifies that the Shared Variable node always connects to the shared variable on the target on which you created the shared variable.
|
| Target Relative | 2 |
Specifies that the Shared Variable node always connects to the shared variable on the target on which you run the VI that contains the Shared Variable node.
|
