identify interfacekit

Supporting 2.7 and 3.2+
jlyjn
Phidgetsian
Posts: 11
Joined: Thu Dec 14, 2017 10:18 am
Contact:

identify interfacekit

Postby jlyjn » Wed Jan 17, 2018 5:00 pm

hello,

i'd like to use 2 0/16/16 interface kits
and bind each one to a separate script.
is it possible to identify them by serial number- if so, how do?

cheers

User avatar
mparadis
Site Admin
Posts: 626
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: identify interfacekit

Postby mparadis » Thu Jan 18, 2018 8:46 am

The serial number is printed on a sticker on the underside of the board. You can ensure that you open a digital input or digital output channel from the desired InterfaceKit by setting the serial number before opening:

Code: Select all

ch.setDeviceSerialNumber(324781)


where "ch" is the handle that you've chosen for your channel.


Return to “Python”

Who is online

Users browsing this forum: No registered users and 2 guests