## Phidget Common.lvlib:PhidgetAddServer.vi

Registers a server that the client (your program) will try to connect to. The client will continually try to connect to the server, increasing the time between each attempt to a maximum interval of 16 seconds.
This call is intended for use when server discovery is not enabled, or to connect to a server that is not discoverable.
The server name used by this function does not have to match the name of the server running on the host machine. Only the address, port, and password need to match.
This call will fail if a server with the same name has already been discovered.
This call will fail if ${METHOD:setServerPassword} has already been called with the same server name, as ${METHOD:setServerPassword} registers the server entry anticipating the discovery of the server.
See:

- ${METHOD:removeServer}
- ${METHOD:enableServerDiscovery}

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.

| Flags connection flags: should be set to 0

| Name ${AddServer:srvname}

| Host The hostname or address of the server to connect to

| Port The hub port index

| Password ${AddServer:passwd}

| 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.