EZB Connections icon EZB Connections — Add and manage up to 255 EZ-B I/O controller connections in ARC, select COM/IP ports or device addresses to connect or remove devices. 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

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

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