Problem with 1047 encoder board
Posted: Tue Oct 29, 2019 3:28 pm
Playing with the 1047 but I'm having some problems. Using the Phidgets Control Panel I get errors whenever I physically attach the encoder and try to open the channel. Pretty confident I have the encoder wired correctly. The log file is below. Thanks for any help
Thanks!
****************************** Logging Enabled ******************************
* Phidget22 - Version 1.5 - Built Oct 18 2019 13:55:59 *
*******************************************************************************
2019-10-29T12:35:11 <Info> phidget22net[PhidgetNet_start()] : Starting Networking
2019-10-29T12:35:11 <Info> phidget22net[PhidgetNet_stop()] : Stopping Networking
2019-10-29T12:35:11 <Info> phidget22usb[AttachUSBDevice()] : Attaching Phidget | Path: \\?\hid#vid_06c2&pid_004f#7&120b86f2&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} | PDO Name: \Device\000001f9
2019-10-29T12:35:11 <Info> phidget22[deviceAttach()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647
2019-10-29T12:35:16 <Info> phidget22usb[PhidgetUSBOpenHandle()] : Opened USB Device: 0x43c
2019-10-29T12:35:16 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647: USB read thread started: 0x00000698
2019-10-29T12:35:34 <Info> phidget22usb[PhidgetUSBCloseHandle()] : Closing USB Device: 0x43c
2019-10-29T12:35:34 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647: ReadThread exiting normally (signaled by Phidget_close)
2019-10-29T12:35:36 <Info> phidget22usb[PhidgetUSBOpenHandle()] : Opened USB Device: 0x78c
2019-10-29T12:35:36 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647: USB read thread started: 0x000016f0
2019-10-29T12:35:36 <ERROR> phidget22usb[PhidgetUSBSendPacket()] : WriteFile() failed with error code: 0x00000002 - The system cannot find the file specified.
2019-10-29T12:35:36 <ERROR> phidget22usb[PhidgetUSBSendPacket()] : WriteFile() failed with error code: 0x00000002 - The system cannot find the file specified.
2019-10-29T12:35:41 <ERROR> phidget22usb[PhidgetUSBReadPacket()] : GetOverlappedResult() in PhidgetUSBReadPacket failed with error code: 0x0000048f - The device is not connected.
2019-10-29T12:35:41 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647: ReadThread exiting normally (Phidget detach detected in PhidgetDevice_read)
Thanks!
****************************** Logging Enabled ******************************
* Phidget22 - Version 1.5 - Built Oct 18 2019 13:55:59 *
*******************************************************************************
2019-10-29T12:35:11 <Info> phidget22net[PhidgetNet_start()] : Starting Networking
2019-10-29T12:35:11 <Info> phidget22net[PhidgetNet_stop()] : Stopping Networking
2019-10-29T12:35:11 <Info> phidget22usb[AttachUSBDevice()] : Attaching Phidget | Path: \\?\hid#vid_06c2&pid_004f#7&120b86f2&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} | PDO Name: \Device\000001f9
2019-10-29T12:35:11 <Info> phidget22[deviceAttach()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647
2019-10-29T12:35:16 <Info> phidget22usb[PhidgetUSBOpenHandle()] : Opened USB Device: 0x43c
2019-10-29T12:35:16 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647: USB read thread started: 0x00000698
2019-10-29T12:35:34 <Info> phidget22usb[PhidgetUSBCloseHandle()] : Closing USB Device: 0x43c
2019-10-29T12:35:34 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647: ReadThread exiting normally (signaled by Phidget_close)
2019-10-29T12:35:36 <Info> phidget22usb[PhidgetUSBOpenHandle()] : Opened USB Device: 0x78c
2019-10-29T12:35:36 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647: USB read thread started: 0x000016f0
2019-10-29T12:35:36 <ERROR> phidget22usb[PhidgetUSBSendPacket()] : WriteFile() failed with error code: 0x00000002 - The system cannot find the file specified.
2019-10-29T12:35:36 <ERROR> phidget22usb[PhidgetUSBSendPacket()] : WriteFile() failed with error code: 0x00000002 - The system cannot find the file specified.
2019-10-29T12:35:41 <ERROR> phidget22usb[PhidgetUSBReadPacket()] : GetOverlappedResult() in PhidgetUSBReadPacket failed with error code: 0x0000048f - The device is not connected.
2019-10-29T12:35:41 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1047 (PhidgetEncoder HighSpeed 4-Input) v103 S/N:519647: ReadThread exiting normally (Phidget detach detected in PhidgetDevice_read)