Example of the Cascade DataHub Configuration File

White Papers:
Prev | Hot Standby for InTouch | Next

# 6. Example of the Cascade DataHub Configuration File

        #
        #
        # Cascade Connect configuration for Database "a". File Name: indir1.ini
        #
        # Commands are:
        #
        # program        <name of the client program to run. default none>
        # argument       <argument to client program>
        # colonsub       <character with which to replace colons in tag names>
        # domain         <name of a domain to attach. Multiple allowed>
        # default        <default domain name>
        # tcpservice     <name of the cascade service named in services file>
        # tcptimeout     <milliseconds of inactivity to time out socket>
        # tcpheartbeat   <milliseconds between heartbeats on idle socket>
        # host           <name of a QNX host to attach. Multiple allowed>
        # myservice      <name of the cascade DDE service. default cascade>
        # mytopic        <name of the cascade DDE topic. default data>
        # clientservice  <name of the client DDE service. no default>
        # clienttopic    <name of the client DDE topic. no default>
        # readonly       <use 1 or 0 to set read only mode to true or false>
        # debug          <produce debugging information in the cascade window>
        # neverpoke      <never poke to the DDE client>
        # selectivepoke  <only poke to the DDE client if no advise loop exists>
        # advise         <allow the client to set up an advise loop with Cascade>
        # autoexit       <automatically exit when the DDE client exits>
        # autoreduce     <automatically de-register unwanted points from Cascade Database>
        # decalways      <always translate decimal characters to local equivalent>
        # decnumbers     <translate decimal characters surrounded by digits>
        # decfromqnx     <translate decimals in messages coming from QNX>
        # dectoqnx       <translate decimals in messages going to QNX>
        #

        # Set up hosts and domains

               host           manuel.cogent.ca
               default        default
               domain         default
               domain         a
               tcpservice     cascade
               tcptimeout     5000
               tcpheartbeat   1000

        # Name my service so the client can find me

               myservice      cascade1
               mytopic        data
               qnxname
               qnxclient

        # Name the client to start

               program
               argument
               clientservice  VIEW
               clienttopic    TAGNAME

        # Set colon substitution character

               colonsub       @

        # Set DDE communication flags

               readonly       0
               selectivepoke  1
               neverpoke      0
               advise         1
               debug          1
               autoexit       1
               autoreduce     1
               decalways      0
               decnumbers     0
               decfromqnx     1
               dectoqnx       1

Prev | Home | Next
Testing the Hot Standby link | Up | More Information

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.