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.
03-07-2022 05:33 PM
Solved! Go to Solution.
03-08-2022 09:47 AM - edited 03-09-2022 10:39 AM
Hello,
Our motivation for not documenting the comunication layerout is not about obfuscation, but hiding complexity and maintaining compatibility.
Anyhow, a few words about how the data layer communication works:
As I understand you want to have a portable python application between linux and windows. The Data Layer library is available for linux and windows. So perhaps we can find a convinient way to use these library in the different OS. Please can you elaborate what is the problem with python and datalayer SDK in windows, so that we can help you better?
regards
tiramisu
03-08-2022 04:35 PM - edited 03-08-2022 04:37 PM
"There is no chance that we will make the protocol public."
Why not? Wouldn't it be nice to have more people working on client libs for the Data Layer? I found this post when I was looking for the same information as Loïc because the python SDK keeps crashing and I would like to fix that..
Cheers,
Daniel
03-09-2022 10:57 AM
Hello Daniel,
What do you mean by "the python SDK keeps crashing"?
Could you give us some details on your troubles?
Regards
Nick
03-10-2022 12:58 PM
Hi Nick,
currently I am experiencing issues when having a provider and a client in the same process. This is needed e.g. for automated testing: I want to check if my application is providing data to the data layer correctly. With the provider running, the data layer client receives a time out. Even if I start the client in another process (multiprocessing.Process) I run into connection errors.
Other issues are my provider crashing with a segfault after 30 seconds of providing data.
If you like I can try to produce some minimal code examples..
With best
Daniel
03-10-2022 03:24 PM
Hello Daniel,
thank you for your answer!
Code examples would be great to understand and recreate the issues as a whole.
Best regards
Nick
03-11-2022 10:02 AM
Okay, shame on me, I can't reconstruct the error in my minimal example, client and provider run flawlessly in the same thread.
I will dig a little bit deeper to find out whats going wrong in the testing framework..
With best,
Daniel
06-01-2022 10:19 AM - edited 06-01-2022 10:20 AM
Moved posts to own topic: