FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
4 weeks ago
Hello all,
we are sending a axis command/ kinematic command using the Rest API, it executes the command thats not the problem. The problem is that we dont know when this movement is done, unless we execute a get reqeust for a state change. Is there a better way then executing a get request every cycle using some sort of scheduler so the bus dousnt get overloaded with unnecessary reqeust ? We are open for suggestions if there is a better way to do this.
Solved! Go to Solution.
4 weeks ago - last edited 4 weeks ago
You could set up a subscribtion to the same value you read. See "How to subscribe to nodes of the ctrlX Data Layer using REST commands via CURL"
3 weeks ago
Hello CodeShepherd,
thanks for the fast reply.
I do have a problem im able to create the complex subscribe node where i get the code 201 but if i then try to execute a get like the example you send i get nothin back. Thanks for you help
With kind regards,
David Maenen
an hour ago
See second question covered in own topic "Rest API Subscription".