Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
equipment:odd:writing_to_accesio_june_2021 [2021/06/19 10:39] – jefferis | equipment:odd:writing_to_accesio_june_2021 [2021/09/16 16:41] – jefferis | ||
---|---|---|---|
Line 60: | Line 60: | ||
Greg Jefferis, | Greg Jefferis, | ||
Cambridge, UK. | Cambridge, UK. | ||
+ | |||
+ | |||
+ | ====== Response 1 ====== | ||
+ | : | ||
+ | |||
+ | Hi Gregory, | ||
+ | |||
+ | We do not yet offer Python as an officially supported language (that is, a language for which we provide working sample programs for the majority of our products). | ||
+ | |||
+ | However, we are in the process of adding Python to our list of supported languages. | ||
+ | |||
+ | You can grab a ctypes wrapper for the Windows AIOUSB.dll here: https:// | ||
+ | |||
+ | There will be minor edits necessary to this file; specifically, | ||
+ | |||
+ | If you run into any issues just let me know and I'll provide what assistance I can. | ||
+ | |||
+ | Sincerely, | ||
+ | John Hentges | ||
+ | JHentges@accesio.com | ||
+ | Director of Digital Design and Software Engineering | ||
+ | |||
+ | |||
+ | ====== Response 2 ====== | ||
+ | |||
+ | Hi Gregory, | ||
+ | |||
+ | AIO_Init(), and libusb itself, are not used in Windows. | ||
+ | |||
+ | Our Windows API Library (AIOUSB.dll) doesn' | ||
+ | |||
+ | Sincerely, | ||
+ | John Hentges | ||
+ | JHentges@accesio.com | ||
+ | Director of Digital Design and Software Engineering | ||
+ | |||
+ | --- | ||
+ | To rate this answer or view ticket history please follow the link: | ||
+ | https:// | ||
+ | |||
+ | -----Original message----- | ||
+ | From: Dr Gregory Jefferis < | ||
+ | Sent: 06/21/2021 09:37:56 | ||
+ | |||
+ | Dear John, | ||
+ | |||
+ | Many thanks for you message. I very much appreciate your quick response. | ||
+ | |||
+ | The AIOUSB.py sample file you linked will be very useful. Two questions | ||
+ | |||
+ | 1. Is AIO_Init() still necessary? I see it is not wrapped. | ||
+ | |||
+ | 2. Do you have any thoughts about whether it will be possible to get | ||
+ | / | ||
+ | work with an initialised lib_usb handle on the python side? In the | ||
+ | past | ||
+ | reusing handles make things run much faster. | ||
+ | |||
+ | Thank you again, | ||
+ | |||
+ | Greg. |