Changes between Initial Version and Version 1 of ringdup_scn


Ignore:
Timestamp:
03/18/12 18:42:36 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ringdup_scn

    v1 v1  
     1[[PageOutline]] 
     2 
     3= [wiki:Earthworm Earthworm] Module: ringdup_scn = 
     4'''Contributed by: ''' 
     5 
     6== Function == 
     7Ringdup is a program to read messages (with user specified logos) from one ring and deposit them in another. This is actually two program, ringdup_generic and ringdup_scn. 
     8 
     9== Details == 
     10=== Example Configuration File === 
     11ringdup_scn is now SCNL compatible and has a Blocking capability, see .d file below: 
     12{{{ 
     13#  ringdup_scn configuration file 
     14# 
     15# 
     16 MyModuleId     MOD_RINGDUP_SCN     # module id for this program 
     17 InRing         WAVE_RING           # transport ring to use for input 
     18 OutRing        EXPPT_RING          # transport ring to use for output 
     19 HeartBeatInt   30                  # EW internal heartbeat interval (sec) 
     20 LogFile        1                   # If 0, don't write logfile; if 1, do 
     21                                    # if 2, write to module log but not to  
     22                                    # stderr/stdout 
     23# 
     24# Logos of messages to export to client systems 
     25#              Installation       Module       Message Type 
     26 GetMsgLogo    INST_WILDCARD   MOD_WILDCARD    TYPE_TRACEBUF2 
     27  
     28 MaxMsgSize     4096          # maximum size (bytes) for input/output msgs 
     29 RingSize        100          # max# messages in outgoing circular msg buffer  
     30 
     31 
     32# List of station/channel/network/loc codes to duplicate. 
     33#-------------------------------------------------------- 
     34# NOTE: Send_scn and Send_scn_remap commands are now obsolete, and 
     35# have been replaced with Send_scnl and Send_scnl_remap (which 
     36# include the location code field).  If the old commands are used, 
     37# ringdup_scn sets the location code field to * (wildcard). 
     38# 
     39# Use any combination of Send_scnl (to send data as-is) and 
     40#   Send_scnl_remap (to change the SCNL on the fly) commands. 
     41# Use * as a wildcard for any field. A wildcard in the 
     42#   "map to" fields of Send_scnl_remap means that field will 
     43#   not be renamed. 
     44# Use the Block_scnl command (works with both wildcards 
     45#   and not, but only makes sense to use with wildcards) to block 
     46#   any specific channels that you don't want sent. 
     47#   Note, the Block commands must precede any wildcard commands for  
     48#   the blocking to occur. 
     49# 
     50#                  send SCNL     map to SCNL 
     51 Block_scnl      BOZ LHZ US *                 # block this specific channel 
     52 Send_scnl       JMP ASZ NC 01                # send this specific channel 
     53 Send_scnl       JPS *   NC *                 # send all components of JPS NC 
     54 Send_scnl_remap JGR VHZ NC --   *   EHZ * *  # change component code only 
     55 Send_scnl_remap CAL *   NC *    ALM *   * *  # send all component of CAL, but 
     56                                              # change the site code to ALM 
     57}}} 
     58 
     59== Helpful Hints ==