I have three phidgetspatials that link to pc through usb. I use "getdeviceseiralnumber" to get device serial numbers,but I only get one device serial number. how should I do to get other device information.
thanks
Code: Select all
ch0 = Accelerometer()
ch0.openWaitForAttachment(5000)
print(str(ch0.getDeviceSerialNumber()))
Code: Select all
ch0 = Accelerometer()
ch1 = Accelerometer()
ch2 = Accelerometer()
ch0.openWaitForAttachment(5000)
ch1.openWaitForAttachment(5000)
ch2.openWaitForAttachment(5000)
print(str(ch0.getDeviceSerialNumber()))
print(str(ch1.getDeviceSerialNumber()))
print(str(ch2.getDeviceSerialNumber()))
Code: Select all
ch0 = Accelerometer()
ch0.setDeviceSerialNumber(123456)
ch0.openWaitForAttachment(5000)
Users browsing this forum: No registered users and 0 guests