Overview
The ModFrame client is the tool for configuring a ModFrame application. The client can be connected to one server at the time, but several clients can simultaneously be connected to the same server. The client displays the contents of the connected server graphically in the Configuration panel, as well as the component hierarchy in the Browser.
The Menu and the Tool bar is used for operations, as well as popup menus on the components in the configuration panel and browser. Messages (information, warning and alarms) are presented in the Log view.
Starting the client
After ModFrame has been installed the ModFrame client can be started by selecting All Programs->Apis->ModFrame->ModFrame client.
Batch file
It is possible to create a batch file which starts the client with custom settings. Below is an example of the contents of a batch file. This must be altered to fit the installation. Using batch files it is possible to set all java options. It is also possible to give a file name as a parameter containing settings for the client.
Batch file | Copy Code |
---|---|
C:\\\Program Files\Java\jdk1.6.0_03\bin\javaw.exe -Xmx500m -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel -Djava.security.policy=java.policy -classpath C:\\\Apis\ModFrame\ModFrame.jar;C:\\\Apis\ModFrame\xml.jar;C:\\\Apis\ModFrame\ClickAndTrace.jar; com.modframe.client.MFClient "C:\\\Apis\ModFrame\clientsettings.ini"
|
Client settings
The following settings can be applied to the client by adding them to the client settings file.
Property | Description | Default value |
---|---|---|
ProductName | The name of the product | ModFrame |
AutoConnect | If true the server set in the InitialConnectionServer connected automatically on startup. | |
InitialConnectionServer | The server to connect to on start up. The format is rmi://ip-address/servername:port | |
ServerReadInterval | The interval [ms] between reconnect attempts when the server connection is lost and the interval between history value updates. Cannot be less than 1000 ms | 1000 |
HelpExec | The location of the help file. | current-directory/help |
RemoteObjectPort | The RMI port. Use when the client/server are separeted by firewall. | Automatically obtained. |