15
1072_0_Product_Manual - February 24, 2011 2:52 PM
It’s generally a good idea to catch server connect and disconnect and Phidget attach and detach events in order to
know the state of the connections. It’s also a good idea to catch error events - this is where network errors will be
reported.
If reliability is important, you should consider writing a program to run locally on the PhidgetSBC, and communicate
with it through the Dictionary interface. This way, if the connection is broken, the local application will notice and be
able to take any appropriate actions. See the advanced chapter for more information.
Finding Phidgets on the Network
Any Phidgets attached to the PhidgetSBC can be identified using the Status >> Phidgets page in the configuration
interface, and should be seen on the network through the Webservice.
The Phidget Control Panel has a Bonjour tab (under WebService >> Bonjour) that lists all detected network attached
Phidgets. The Phidgets connected to the PhidgetSBC should be seen here and can be opened by double clicking its
name in the menu.
Network attached Phidgets can also be located programmatically with the Phidget Manager. The Phidget Manager
is used with either hostname and port, or server ID, just like with ‘Open’. The manager can also be used to find all
Phidgets on any Webservice through Bonjour, by specifying a NULL Server ID. See your specific language’s guide for
more information about coding with the Phidget Manager.