G Terpstra

Forum Replies Created

Viewing 3 replies – 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: Engine Output change in Cloverleaf 6.2 #82114
    G Terpstra
    Participant

      The engine idle is also one of my favorits to be filtered.

      But most of all, the documentation on the EO options should be improved.

      I am not able to read from the documentation which option I should enable to get the hexadecimal messages in the logging and preferably turn all other messages off.

      in reply to: Create Unique MSH-10 #83642
      G Terpstra
      Participant

        We have some gen procs installed and one of them is called

        gc_generateUniqueId.

        Code:


        proc gc_generateUniqueId { args } {
           upvar xlateId       xlateId    
             xlateInList   xlateInList    
             xlateInTypes  xlateInTypes    
             xlateInVals   xlateInVals    
             xlateOutList  xlateOutList    
             xlateOutTypes xlateOutTypes    
             xlateOutVals  xlateOutVals

           set module [lindex [info level 0] 0]
           set debug     “0”
           set maxlength “-1”
           catch {
               keylget args DEBUG     debug
               keylget args MAXLENGTH maxlength
           }

           set uid [expr [getclock] + rand()]     ; # e.g. 1128686054.99
           if { [info exists xlateInVals] } {
              foreach el $xlateInVals { append uid “/$el” }
           }

           if { [ctype digit $maxlength] && $maxlength > 0 && [clength $uid] > $maxlength } {
               set uid “[string range $uid 0 [expr $maxlength – 1]]”
           }

           if { $debug } { puts stdout “$module (debug): Generated unique id of [string length $uid] chars ‘$uid'” }

           set xlateOutVals [list $uid]
        }

        in reply to: Configuring single alert to email multiple email addresses. #83525
        G Terpstra
        Participant

          Hi, I use the same way as Brent does, from version 5.8 up to 6.1.1

          So {TO “name@eotiu.org,name2@reoitu.org”}

        Viewing 3 replies – 1 through 3 (of 3 total)