Pyk8055 python module for k8061?


#1

Hello. I’m trying to read the analog signals from this board… K8061.
I want to bring values into python to manipulate and found this : . https://pypi.org/project/pyk8055-Velleman/

I tested the module with the k8055 driver and walla! Easy.
However, With the K8061.dll file but it’s throwing errors. Chaning the dll loading method from ‘WinDLL’ to ‘CDLL’ has helped, but it seems like the k8061 has different analog value bit resolution as python’s throwing a ValueError:

ValueError: Procedure called with not enough argument or wrong calling convention

Any thoughts? Any other ways of bringing the data into python?


#2

Can you please post your code?