Hi,
Really basic (bad) programming skills...
I have a series of usb hub devices working, and I'm trying to add a wireless vint to the system for some remote data collection.
After updating the firmware, the control panel can find the device, and I'm able to access the spatial MOT1102_0 that is attached.
However, I can not seem to have it discovered in my program.
Python running in pycharm 2020.01 in windows
little bits of the code:
def main():
Net.enableServerDiscovery(PhidgetServerType.PHIDGETSERVER_DEVICEREMOTE)
ch8 = Accelerometer()
i=0
def AccelerationChangeHandlerI(self, acceleration, timestamp):
global i
i = acceleration
ch8.setOnAccelerationChangeHandler(AccelerationChangeHandlerI)
ch8.openWaitForAttachment(20000)
ch8.setHubPort(0)
ch8.setChannel(0)
ch8.setIsRemote(True)
ch8.setDataInterval(20)
ch8.setDeviceSerialNumber(596579)
And the error message:
File "C:xx", line 135, in <module>
ch8.openWaitForAttachment(20000)
File "C:xx", line 561, in openWaitForAttachment
raise PhidgetException(result)
Phidget22.PhidgetException.PhidgetException: PhidgetException 0x03 (Timed Out)
No matching devices were found to open. Make sure your device is attached, and that your addressing parameters are specified correctly. If your Phidget has a plug or terminal block for external power, ensure it is plugged in and powered.
I'm sure it's user error...