CERN |  AB-CO-HT | PSCO | EXPL |
Welcome to the AB-CO-HT Section Web Portal

Overview


Tgm configuration

    The Tgm library must be configured as a preliminary in order to use the settings of the machine which one wishes to control. Three cases must be considered.

  • Linux workstation : The Tgm library uses a environment variable call TGM_NETWORK. This one must be setted with the correct value using the 'setenv' Linux command.
    Example:
    > setenv TGM_NETWORK OPER.LIC
    If this environment variable is not set, the default value in the library will be set to OPER.LIC
  • Windows PC : Like Linux workstations, the Tgm library uses the TGM_NETWORK environment variable. It will be set by opening the control panel and selecting the system icon. In the 'System Properties', select the tabulation 'Avanced' and press the button 'Environment Variables'. Il will open a window that will allow you to define the TGM_NETWORK environment variable. If the environment variable is not defined, the default value OPER.LIC will be used..
  • Front ends (Linux,LynxOS) : Like Linux workstations, the Tgm library uses the TGM_NETWORK environment variable that can be set with the 'setenv' command. However, if this variable is not set, the library will try to find a file named "TGM_NETWORK" in the following path '/local/data/tgm'. This file must contain the value of the TGM environment (OPER.LIC, OPER.CTF,...). If this file doesn't exist, it will try to find it in the following path '/dsc/data/tgm' that corresponds to the default value for the acceleration that the front-end belongs to. If there are no way to find the value the environment variable, the default value OPER.LIC will be taken.
The following table gives the available value that can be taken by the TGM_NETWORK environment variable.

Distributed events on MTG cables

    Timing events are sent throught MTG cables. They will be received by timing receivers like TG8/CTRV/.. and will be used to produce bus interrupt ou start timing counter. The list of known and transmitted events depends on the TGM environment.

The following table gives the available events for each TGM environment.


Equipment analyse

    Attached to a TGM environment, a set of equipments are used to control the Main Timing Generator (MTG).

The following table gives access to the equipments depending on the Tgm environment.
Copyright CERN 21-Feb-2008 9:14 creator:your_name  webmaster:mcattin