Set Module Attribute和Get ModuleAttribute

此文档介绍一下Set Module Attribute和Get ModuleAttribute的用法

前提条件,两个模块的Data Initialize需要有传递参数的簇常量

  1. 主程序Set ,子模块Get 通过事件触发完成

输入参数

输入分支

Set Module Attribute分支

去往异步调用子模块分支(2种方法)

  • ①8881

  • ②001

异步调用的分支

绿色vi所在地

C:\Program Files (x86)\National Instruments\LabVIEW 2026\user.lib\_NEVSTOP\Communicable State Machine(CSM)\_Support\Message

实现

2.子程序Set ,主模块Get 通过事件触发

主程序GET Module Attribute分支

实现: