Remote API error

Typically: "How do I... ", "How can I... " questions
Post Reply
igorhlcardoso
Posts: 1
Joined: 23 Apr 2024, 19:59

Remote API error

Post 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!

coppelia
Site Admin
Posts: 10378
Joined: 14 Dec 2012, 00:25

Re: Remote API error

Post 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

Post Reply