philrhinehart / pycanlibxl

Automatically exported from code.google.com/p/pycanlibxl
0 stars 1 forks source link

Patch for /trunk/canlib_xl.py #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello. I came across your library and it looks like a big head start for using 
the vxlapi in python.

I've worked with this api in the past and found xlGetDriverConfig to be very 
useful for sniffing out what is connected. Through the channels list it gives 
you a list of all connected devices, their HW type, name strings, etc. To 
support that I had to add in the needed structs.

I also added in a couple of the common hwtypes. XL_HWTYPE_ANY does not actually 
appera in the vxlapi.h file, but it can be used in xlGetChannelMask if you 
don't care what the HW type is.

Original issue reported on code.google.com by ram...@gmail.com on 16 Aug 2011 at 4:05

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,

first thanks for your contribution and the patch. At a first look it seems ok 
to me and I think I am going to add it to the trunk. But I still have to test 
and patch it.

Regards Martin 

Original comment by Schaeffk...@googlemail.com on 23 Aug 2011 at 6:22

GoogleCodeExporter commented 9 years ago

Original comment by Schaeffk...@googlemail.com on 3 Sep 2011 at 7:32

GoogleCodeExporter commented 9 years ago

Original comment by Schaeffk...@googlemail.com on 26 Sep 2011 at 5:03