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.
09-05-2024 11:54 AM
Hi,
I would like to use the motion python library from this documentation, but i couldnt find any examples in the sdk .
Is there somewhere I can find something to help me? I guess it doesn't work like this:
Thanks for any answers !
Solved! Go to Solution.
09-05-2024 01:38 PM - edited 09-05-2024 01:38 PM
You could not find examples for motion commanding in the SDK for ctrlX AUTOMATION as there are none. All commands are described in the documentation mentioned by you.
You could check out our how to collection as there is e.g. an article about "Graphical and Textual Python Programming using IDE App" including a video, that shows some of the commands.
09-05-2024 01:53 PM
Hi @Felix_
the motion python library, which is described in the documentation you linked is not part of the SDK. The reason is, in the SDK you can see how to create a own app. The python library you mentioned works against the script interface of the Motion App. To use this script interface (with the python library) you need the Python Runtime App. In this case you will not need to program your own app and can just bring your script to the ctrlX CORE and run it with the help of the Python Runtime App.
In addition the IDE App can be used to create Python scripts in a web-based development environment directly on the ctrX CORE. On how to do that I can recommend to look at the How To @CodeShepherd shared.
Best regards,
Nick
09-05-2024 02:36 PM
Thanks @CodeShepherd and @nickH for your quick answers and explanations.
I will look for the best solution for my use case.