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.
06-17-2024 02:19 PM
Hi,
What is the endpoint to read SFK graph values via REST? I've managed to get Position / Force values of the graph, but I need the X:Y values as time:force. Any suggestions how to accomplish this?
Picture of what I want to read:
Also where can I find documentation that describes the endpoints? There is no mention of the curves in the API documentation.
Thanks you!
Solved! Go to Solution.
06-17-2024 04:25 PM
Hi @Joonas
you can find all public endpoints in the API Swagger, which you can access via the help page or the following path (see screenshot):
In order to derive the time axis, you need to fetch the curve with its id (see above). The json will incude the value "samplingInterval". As the datapoints are sampled in a fixed time (... the samplingInterval), just multiply the index of the datapoint with the given samplingInterval. This results the absolute time of a given sample.
If possible, use our internal forum for further SFK-P related questions: https://connect.bosch.com/forums/html/forum?id=ad8f03e0-715d-48af-a987-92507307f0b5&ps=25