FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
05-19-2021 02:47 PM
The ctrlX SDK has samples that show how to provide data to the Data Layer. For example datalayer.register.node:
Is there is a sample that shows how to create a command node similar to those provided by the motion app? See motion/axs/Axis_1/cmd:
If not, is this foreseen?
Solved! Go to Solution.
06-28-2021 12:15 PM
Sorry for the late reply.
These play buttons will be corresponding to some metadata of the nodes from RM21.11 (v 1.12) end of November on. You have to add a "nodeClass" with the value "Method". See example create node in the SDK and add the lowest line:
...
// Create metadata
comm::datalayer::MetadataBuilder metadata(builder);
metadata.add_description(emptyString);
metadata.add_descriptionUrl(emptyString);
metadata.add_operations(operations);
metadata.add_nodeClass(Method)
...