## Phidget Common.lvlib:PhidgetEnableServerDiscovery.vi

Enables the dynamic discovery of servers that publish their identity to the network. Currently Multicast DNS is used to discover and publish Phidget servers.

To connect to remote Phidgets, call this function with server type `PHIDGETSERVER_DEVICEREMOTE`.

`enableServerDiscovery()` must be called once for each server type your program requires. Multiple calls for the same server type are ignored

This call will fail with the error code `EPHIDGET_UNSUPPORTED` if your computer does not have the required mDNS support. We recommend using Bonjour Print Services on Windows and Mac, or Avahi on Linux.

See:

- `disableServerDiscovery()`
- `addServer()`

Device Support:

| error in error in can accept error information wired from VIs previously called.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error in indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source string describes the origin of the error or warning. Right-click the error in indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| error out error out passes error or warning information out of a VI to be used by other VIs.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source string describes the origin of the error or warning. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.