Hello there,
i am currently testing the PubSub possibilities in AS6 and am wondering, as to why it is not supported to publish PV variables of AppModules.
Will it be supported in the future?
Is there a workaround other than simply writing the desired PVs to ones not in AppModules?
Thank you in advance for your Help,
Enzo
Hello Enzo,
that’s right, the use of AppModule variables in PubSub communication is currently not supported.
It is due to the dynamic nature of AppModules, which may be changed during runtime. This would cause problems with the static PubSub configurations that are created during the project build.
For now, the simplest workaround is to write the PVs to be published to global variables, and they will be published even if the AppModules are not present.
Since OPC UA FX shall support highly dynamic use cases, I’m assuming that also AppModules will be supported in future. But unfortunately, that topic is currently not on the roadmap.
BR,
Oliver
Understood, thanks for the explanation.