"start" mode on raw route

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf "start" mode on raw route

  • Creator
    Topic
  • #51602
    David Barr
    Participant

      We’ve got a TPS proc on a raw route, and it doesn’t look like the proc is ever called in “start” mode, so some initialization isn’t happening.  Is this normal? We’re on version 5.5.

    Viewing 1 reply thread
    • Author
      Replies
      • #70932
        Charlie Bursell
        Participant

          By default there is no Start mode when the translate thread starts.  All of the route procs belong to the translate thread.

          You can change that bu goind to the IDE => NetConfig => Process = Configure

          Select and check the option Run Translation procs in start mode

          An alternative if you are simply trying to init a global would be

          if {![info exists globalVal]} { set globalVal }

          The if statement would only be true the first time proc is run

        • #70933
          David Barr
          Participant

            Thanks. I didn’t know about the option on the process.

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.