You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting a new PFDL with the scheduler, I initially transform the PFDL Structures to OPC UA Data Types.
In this context, I use the list with the custom Structures from Scheduler(...).process.structs generate OPC UA data types out of it. in this context, Array fields of Structures do not provide values (since they are only type definitions and no instances), however, the data type of the array elements can be extracted from the type_of_elements field of the PFDL Struct class:
However, this information is missing, as soon as i receive input and output parameters from the Service/Task started callbacks. here i use e.g., the task_api.input_parameters provided by the scheduler callback to create OPC UA instances of the required data types. In this context, the type_of_elements field of the PFDL Array type is empty.
Currently, I use a workaround where i access the first array element (at least in case of Structs, the name field of the Structs inside the array are currently providing the type. i did not check with numeric, string or bool arrays)
Is there a solution on how to provide this information?
The text was updated successfully, but these errors were encountered:
When starting a new PFDL with the scheduler, I initially transform the PFDL Structures to OPC UA Data Types.
In this context, I use the list with the custom Structures from Scheduler(...).process.structs generate OPC UA data types out of it. in this context, Array fields of Structures do not provide values (since they are only type definitions and no instances), however, the data type of the array elements can be extracted from the type_of_elements field of the PFDL Struct class:
However, this information is missing, as soon as i receive input and output parameters from the Service/Task started callbacks. here i use e.g., the task_api.input_parameters provided by the scheduler callback to create OPC UA instances of the required data types. In this context, the type_of_elements field of the PFDL Array type is empty.
Currently, I use a workaround where i access the first array element (at least in case of Structs, the name field of the Structs inside the array are currently providing the type. i did not check with numeric, string or bool arrays)
Is there a solution on how to provide this information?
The text was updated successfully, but these errors were encountered: