Python Forum
Integration of Python and C using .dll files
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Integration of Python and C using .dll files
#13
Without access to the .dll file or the unit it self, it's difficult to say what the .dll is doing.  It seems to be telling you that what is being received is not  what you think it is and Python does not know how to convert it to an integer.  What happens if you leave "options" out of that line?

We also don't know what the unit is feeding the .dll, and how the usb is configured (just for example, the transfer method). A lot of questions need to be addressed and I'm not sure, without "seeing" what's in the .dll, that they can be answered.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
RE: Integration of Python and C using .dll files - by sparkz_alot - Mar-16-2017, 01:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to run this triple integration in python Safinazsalem 1 314 May-20-2024, 11:43 AM
Last Post: Axel_Erfurt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020