Use the RTView Display Viewer to run the provided publisher example that comes with the RTView adapter.
Prerequisites
The cluster database stores configuration information. Ensure
that the cluster is running, so that the adapter can interact with the projects on
the cluster.
Procedure
- Set the user name and password properties in the ESPOPTIONS.ini file,
located in the examples directory of your
ESP installation, to the desired user
name/password combination..
- Set the username and password in the example environment:
Operating System |
Step |
UNIX |
- Edit the set_example_env.sh script
- Set the ADAPTER_EXAMPLE_USERNAME and ADAPTER_EXAMPLE_PASSWORD variables to the desired user
name/password combination.
- If SSL is enabled, set ADAPTER_EXAMPLE_CLUSTER_NODE_PROTOCOL to esps. If
it is disabled, set it to esp.
|
Windows |
- Edit the set_example_env.bat script
- Set the ADAPTER_EXAMPLE_USERNAME and ADAPTER_EXAMPLE_PASSWORD variables to the desired user
name/password combination..
- If SSL is enabled, set ADAPTER_EXAMPLE_CLUSTER_NODE_PROTOCOL to esps. If
it is disabled, set it to esp.
|
- Start Event Stream Processor with the provided
rtviewadapter.ccx model, located in
%RTVIEWADAPTER_HOME%\examples, and use port 19011.
Operating System |
Step |
Windows |
- Enter cd %RTVIEWADAPTER_HOME%\examples.
- Start the example cluster: start_node.bat
- Add project to the cluster, and start it on the cluster:
start_project.bat
|
UNIX |
- Enter cd $RTVIEWADAPTER_HOME/examples.
- Start the example cluster: start_node.sh
- Start the project on the cluster:
start_project.sh
|
- Start the RTView Display Viewer from the command line:
Operating System |
Step |
Windows |
%RTVIEWADAPTER_HOME%\bin\start_viewer.bat %RTVIEWADAPTER_HOME%\examples publisher.rtv |
UNIX |
$RTVIEWADAPTER_HOME/bin/start_viewer.sh $RTVIEWADAPTER_HOME/examples publisher.rtv |
Note You can start the RTView Display Builder by replacing the start_viewer command with the start_builder command.
- Follow the on-screen instructions.
- Verify that data has been successfully published to the Server.
Operating System |
Step |
Windows |
cd %RTVIEWADAPTER_HOME%\examples
run_sub.bat |
UNIX |
cd $RTVIEWADAPTER_HOME/examples run_sub.sh |