1.5. Quick Start

Once the Cascade DataHub is installed, you can run it from a terminal. From a second terminal you can run the DataHub Viewer in console mode to get a window into the Cascade DataHub. And from a third terminal, you can verify the data using the waiter command. Try it. Open three terminals and issue the following commands:

TerminalCommandWhat it does
1[sh]$ datahubStarts the DataHub.
2[sh]$ dhviewShows the contents of the Cascade DataHub.
3[sh]$ waiterLets you verify the status of the data.
1[sh]$ writept test 25 Sends test data.

Here is what you should see on the three terminals:

Terminal 1 
  
Terminal 2Terminal 3

You can now use the writept command to write new values to the test point, like this:

[sh]$ writept test 7975

Or, create new points and write values (numbers or strings) to them. For example:

[sh]$ writept newpt "Hello world"

This is the basic concept of the Cascade DataHub. It receives and transmits data from and to any process that is registered with it. Chapter 2, Using the Cascade DataHub gives more detailed information.