The Server Utility allows MPI and MPX applications running on remote computers to control local motion controller cards by connecting via a TCP/IP connection.
Optional Arguments for Simulation Server
The Simulation Server utility is a add-on feature to server.exe that allows client applications to run without controller hardware. Simulation Server is only available with MPI 04.00.03 and above. For more information about obtaining Simulation Server or MPI 04.00.03, contact a sales representative at 1-540-633-3400 or email@example.com.
At the command line, type one of the following options:
C:Program Files\MEI\MDK\04.00.03\Win32\>server -simulate
Running Multiple Servers
Multiple servers can be run by specifing different port numbers. See the example below:
C:Program Files\MEI\MDK\04.04.00\Win32\>server -port 3300
Server.exe launches two threads for each client connection. Each thread requires 2 MB of memory. For the eXMP-Series controller with 128 MB RAM, server.exe allows for 8 client connections. If server.exe cannot launch a thread, it will display a "Fatal Error" and cause the client to fail with a "Connection Closed" error. The other connections will continue to operate until server.exe is exited.
Limitation on using multiple client threads
The Server architecture is not compatible with multiple client-side threads. All client-side threads share the same server connection to the same server thread. The result is that locks are not honored on the server since it is the same server thread acquiring and releasing locks. This has been fixed in MPI 04.02.xx.
If the server.exe fails, it will display error messages. When using headless controllers (ex: eXMP-SynqNet), pipe the server.exe output to a file, which will allow you to retrieve the error messages at a later time.
For additional help, refer to Using SynqNet over Client-Server.
|| | Copyright © 2001-2021 Motion Engineering|