Where Tcl code is called from

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Where Tcl code is called from

  • Creator
    Topic
  • #52858
    Roger Reeves
    Participant

      Is there any easy way to scan through the netcfg and tell what threads and routes are calling a specific tcl procedure?

    Viewing 0 reply threads
    • Author
      Replies
      • #75705
        James Cobane
        Participant

          Since the NetConfig is simply a text file (in a keyed list format), you could simply use any text editor and do a search.  I would recommend doing this on a ‘copy’ of the NetConfig, just in case you inadvertantly make a change while in the editor.  When you find an occurence of the proc name you are looking for, you’ll need to scroll back to where it begins with the word ‘protocol’ to determine which thread it’s applied to.  The thread name comes right after the word ‘protocol’;  i.e.

          protocol from_lab {

             { AUTOSTART 1 }

             { BITMAP hielogo.xbm }

             { COORDS {0 0} }

             { DATAFORMAT {

                 { TYPE hl7 }  ……

          …..

          Hope this helps.

          Jim Cobane

          Henry Ford Health

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