Page 1 of 1
Wireless vint and sonar sensor problems
Posted: Wed Jun 22, 2022 8:27 am
by coso2
Hi, I have a wireless VINT hub (HUB5000_0) connected both wifi and cable. The cable is for testing and access the control panel from a dev machine. The production program run on a separate network and the pc and the hub are connected via wifi. I have connected a distance sensor on port 0 (DST1001_0) and a sonar sensor (DST1200_0) on port 3.
From the control panel I can't open the sonar sensor, I get Attached: Nothing. But, as soon I open the other distance sensor panel, the sonar sensor start to work and I can see the panel with the sonar reflections.
Changing port from 3 does nothing.
Now I disconnect the cable and work on the application. In the application, it fail the initialization of the sensors because it won't find the sonar sensor. If I remove the sonar from the code and use only the other one all is good.
I don't have an usb vint hub to test with
VINT hub firmware:
phidgethub5000_1.0.67.20220530.bin
The VINT hub version is 203
The distance sensor version is 101
The sonar sensor version is 106
Phidget22 - Version 1.10 - Built May 30 2022 10:21:44
1.10.20220530
Phidget22 library 1.1.10.15
Language C#
Re: Wireless vint and sonar sensor problems
Posted: Wed Jun 22, 2022 4:02 pm
by Patrick
On the HUB5000 web interface Phidgets tab - view the network server log - is there anything of interest? I've reproduced your set up here without issue.
-Patrick
Re: Wireless vint and sonar sensor problems
Posted: Thu Jun 23, 2022 8:33 am
by coso2
Hi, this is the log. The date and time are wrong, and I have not found a way to modify them (on my pc are correct). Even if I can't open it, the system recognize it as a sonar phidget in the control panel.
2022-05-30T17:09:47 <ERROR> phidget22 :
****************************** Logging Enabled ******************************
* Phidget22 - Version 1.10 - Built May 30 2022 10:47:08 *
* Release 1.10.20220530 - Linux (32-bit) *
*******************************************************************************
2022-05-30T17:10:35 <ERROR> phidget22[PhidgetVINTDevice_bridgeInput()] : Failed to send VINT_PACKET_TYPE_PHIDGET_RESET message: 0x34 - Device not Attached
2022-05-30T17:10:35 <ERROR> phidget22[dispatchEntry()] : Failed to send BP_OPENRESET to device for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:10:40 <ERROR> phidget22[PhidgetVINTDevice_bridgeInput()] : Failed to send VINT_PACKET_TYPE_PHIDGET_RESET message: 0x34 - Device not Attached
2022-05-30T17:10:40 <ERROR> phidget22[dispatchEntry()] : Failed to send BP_OPENRESET to device for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:11:01 <ERROR> phidget22[PhidgetVINTDevice_bridgeInput()] : Failed to send VINT_PACKET_TYPE_PHIDGET_RESET message: 0x34 - Device not Attached
2022-05-30T17:11:01 <ERROR> phidget22[dispatchEntry()] : Failed to send BP_OPENRESET to device for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:13:26 <ERROR> phidget22[dispatchEntry()] : failed to set defaults for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:13:53 <ERROR> phidget22[PhidgetVINTDevice_bridgeInput()] : Failed to send VINT_PACKET_TYPE_PHIDGET_RESET message: 0x34 - Device not Attached
2022-05-30T17:13:53 <ERROR> phidget22[dispatchEntry()] : Failed to send BP_OPENRESET to device for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:13:55 <ERROR> phidget22net[handleNetworkRequest()] : phid22device://192.168.139.29:64392: msgtype: MSG_DEVICE/SMSG_DEVCLOSE failed: 0x02 - No Such Entity
server.c+210 handleCloseChannel() : (No Such Entity) failed to close server channel
2022-05-30T17:14:50 <ERROR> phidget22net[runClientConnection()] : 'BeppeHub-4' failed for client phid22device://192.168.139.29:64392
server.c+691 handleDeviceClient() : (Invalid) failed to handle client request
2022-05-30T17:14:51 <ERROR> phidget22 :
****************************** Logging Enabled ******************************
* Phidget22 - Version 1.10 - Built May 30 2022 10:47:08 *
* Release 1.10.20220530 - Linux (32-bit) *
*******************************************************************************
2022-05-30T17:14:53 <ERROR> www[handleWWWClient()] : failed to handle phidgets websocket connection
server.c+622 handleDeviceClient() : (Access Denied) failed to start server connection
network.c+1282 startServerConnection() : (Access Denied) failed to authenticate client
2022-05-30T17:15:06 <ERROR> phidget22[dispatchEntry()] : failed to set defaults for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:15:09 <ERROR> phidget22[dispatchEntry()] : failed to set defaults for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:15:11 <ERROR> phidget22[dispatchEntry()] : failed to set defaults for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:15:15 <ERROR> phidget22[dispatchEntry()] : failed to set defaults for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:15:17 <ERROR> phidget22[PhidgetVINTDevice_bridgeInput()] : Failed to send VINT_PACKET_TYPE_PHIDGET_RESET message: 0x34 - Device not Attached
2022-05-30T17:15:17 <ERROR> phidget22[dispatchEntry()] : Failed to send BP_OPENRESET to device for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
2022-05-30T17:15:21 <ERROR> phidget22[PhidgetVINTDevice_bridgeInput()] : Failed to send VINT_PACKET_TYPE_PHIDGET_RESET message: 0x34 - Device not Attached
2022-05-30T17:15:21 <ERROR> phidget22[dispatchEntry()] : Failed to send BP_OPENRESET to device for Sonar Distance Sensor Ch:0 -> DST1200 -> HUB5000 Port:3 S/N:617960: 0x34 - Device not Attached
Re: Wireless vint and sonar sensor problems
Posted: Thu Jun 23, 2022 12:03 pm
by Patrick
That's a lot of unexpected 'Device not Attached' errors.
This could be a power issue, a cable issue, a firmware issue, or a bad board.
How long is the VINT cable connecting the sonar sensor? Can you try using a shorter cable?
Can you try downgrading the HUB5000 VINT Hub firmware from v203 to v110 and see if that helps?
You may need to contact support for a replacement.
-Patrick