Belgium
Asked — Edited

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

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

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"

PRO
Synthiam
#10  

Just use Ping() command is enough