
dalex
Belgium
Asked
— Edited
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
one last question for now ...
how do I do this in c#:
"send a 0x55 (capital letter U) to the EZB every 2 seconds"
Just use Ping() command is enough
Posted some working examples here:
https://synthiam.com/Community/Questions/3201