Search found 2 matches

by forum_name
Tue Jan 17, 2017 6:48 pm
Forum: USB PC Data Loggers
Topic: PT-104 Python Example
Replies: 5
Views: 14696

Re: PT-104 Python Example

OK, found a working solution for the enumerate and getunitinfo functions on Python 3.5. Anyone able to get a value from the getvalue function? import ctypes from enum import IntEnum import numpy as np # load driver mydll = ctypes.cdll.LoadLibrary('usbpt104.dll') USBPT104_MIN_WIRES = 2 USBPT104_MAX_W...
by forum_name
Thu Jan 12, 2017 8:43 pm
Forum: USB PC Data Loggers
Topic: PT-104 Python Example
Replies: 5
Views: 14696

PT-104 Python Example

Are there any programming examples to set up the PT104 using Python? I was able to load the .dll file and found the post from topic23281.html but a more explicit example that shows how to use the GetUnitInfo fuction would be helpful.