Continuous Servo icon Continuous Servo — Control a 3-wire continuous 360-degree servo in ARC: adjustable forward/reverse speeds, start/stop buttons, board/port selection and test controls Try it →
Belgium
Asked — Edited
1 Participant

Help With Syntax To Call Ez_B.Dll Functions (Python)

Hi,

I've tried all sensible combinations I can think of to call EZ_B.dll functions in Python. I know if I can get the syntax right for one, the rest will follow.

Any suggestion appreciated.

David.


from ctypes import *

> libEZB = CDLL("C:\Documents and Settings\David\My Documents\EZ-SDK\DLL\EZ_B.dll")

> libEZB Out[9]: <CDLL 'C:\Documents and Settings\David\My Documents\EZ-SDK\DLL\EZ_B.dll', handle 4470000 at 28e4710>

> libEZB.ObjectLocation.TrackingType

AttributeError: function 'ObjectLocation' not found

> libEZB.EZ_B.ObjectLocation.TrackingType

AttributeError: function 'ObjectLocation' not found


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
Belgium
#9  

one last question for now ...

how do I do this in c#:

"send a 0x55 (capital letter U) to the EZB every 2 seconds"

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#10  

Just use Ping() command is enough