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 setServerPassword() has already been called with the same server name, as setServerPassword() registers the server entry anticipating the discovery of the server.

See:

Phidget Common.lvlib:PhidgetAddServer.vi

Device Support:

cerrcodeclst

error in

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

ci32

Flags

connection flags: should be set to 0

cstr

Name

A unique name for the server (not the hostname)

cstr

Host

The hostname or address of the server to connect to

ci32

Port

The hub port index

cstr

Password

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

ierrcodeclst

error out

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