## Phidget Common.lvlib:PhidgetAddServer.vi

Adds a server that the client will continuously try to connect to.

- In most cases, `enableMDNS` will do this automatically.
- This call is intended for servers that are not publishing over MDNS
- This call will fail if `setServerPassword` has already been called with the same server name.
- See: `removeServer`

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 0

| Srv Name The name of the server to connect to (not the hostname)

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

| Port The hub port index

| Password The password for the server to connect to (empty string if no password is required

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