Hi,
It seems HP SDK only support pubsub functions for builtIn type variables. When the pubsub function for structure type variables will be supported, especially for periodicfixed message header layout?
During my test, when message header with dynamic layout is used, it reports error 'validate_target_variable: Data type not supported for last usable value'; when message header with periodicfixed layout is used, it report 'writer_datasetmsg_init - cann't calculate payload length for periodic fixed layout for dataset 'MyDataSet'.
Thanks.
pubsub support for structure type variable
Moderator: uasdkhpc
-
- Full Member
- Posts: 6
- Joined: 15 Aug 2023, 06:39
- Support Team
- Hero Member
- Posts: 2976
- Joined: 18 Mar 2011, 15:09
Re: pubsub support for structure type variable
Hello ReidLi,
PubSub does support structures with HeaderLayout Dynamic. However the value override handling LastUsableValue on the reader side is not supported for structure types. You can change that in the PubSub Config Plugin in the Reader DataSet view.
Structure types with header layout PeriodicFixed are indeed not Supported with the PubSub-Stack at the moment.
PubSub does support structures with HeaderLayout Dynamic. However the value override handling LastUsableValue on the reader side is not supported for structure types. You can change that in the PubSub Config Plugin in the Reader DataSet view.
Structure types with header layout PeriodicFixed are indeed not Supported with the PubSub-Stack at the moment.
Best regards
Unified Automation Support Team
Unified Automation Support Team