Have both ENC1000_0 and 1047_2B encoders attached, how to distinguish?
Posted: Wed Oct 11, 2023 1:13 pm
I have an ENC1000_0 encoder attached via a VINt hub and a 1047_2B high-speed 4-channel encoder attached directly via usb. How can I choose to open a connection to one or the other?
Right now the ENC1000_0 is opened with this code when both are connected.
Right now the ENC1000_0 is opened with this code when both are connected.
Code: Select all
>>> en = Encoder()
>>> en.openWaitForAttachment(5000)
>>> en.getDeviceClassName()
'PhidgetVINT'