You can configure the Cascade DataHub on Linux from the command line when you start the DataHub using the datahub command. A complete list of the datahub command options is available in the Cascade DataHub for Linux and QNX manual. Here we will explain only the necessary ones.
Configure the Cascade DataHub as mirroring slave
If the OPC DataHub on the Windows machine has been configured as a tunnelling master, the Cascade DataHub on the Linux machine must be configured as a mirroring slave.
[sh]$ datahub -M address -m port -n domain
The name or IP address of the Windows computer.
The TCP port number used by the DataHub for mirroring. The DataHub's preconfigured default is 4600.
The name of the data domain on the OPC DataHub where the OPC data is coming from.
[sh]$ xdhview -d domain &
Configure the Cascade DataHub as mirroring master
If the OPC DataHub on the Windows machine has been configured as a tunnelling slave, the Cascade DataHub on the Linux machine must be configured as a mirroring master.
[sh]$ datahub -d domain -p 4600
[sh]$ xdhview -d domain &
Please refer to the Cascade DataHub for Linux and QNX manual for more information about using the Cascade DataHub in Linux.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.