Page 1 of 1

Remote API error

Posted: 23 Apr 2024, 22:36
by igorhlcardoso
Hello everyone, I'm experiencing an issue when running the remote API (Python) code in my IDE. When I run the code, I get the following error:

Code: Select all

c_GetArrayParam             = ct.CFUNCTYPE(ct.c_int32,ct.c_int32, ct.c_int32, ct.POINTER(ct.c_float), ct.c_int32)(("simxGetArrayParam", libsimx))

AttributeError: function 'simxGetArrayParam' not found
If anyone knows what this error means and would like to help, your assistance would be greatly appreciated!

Re: Remote API error

Posted: 24 Apr 2024, 08:19
by coppelia
Hello,

it seems you are trying to use the old, deprecated remote API. Make sure to use the ZeroMQ remote APi, which is faster, more flexible, and simpler to use.

Cheers