Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Run the updating procedure. This will look in the ELEMENT_MODELS which was updated by the APX load above, and, for every row that has a match in LCLS_ELEMENTS, it will update Aida's directory service with a name composed of the EPICS name of the device + '//twiss' and '//R', and tell Aida that that device's model is to be acquired from the XAL Aida data provider (service id 202).

aida_xal_names_update takes an optional parameter, to specify whether or not to set the service-id to 202 of names it finds to be already in the aida directory. The default (or "N") is not to set the service-id (that is, leave names which are in both the SLC namespace and EPICS name, assigned to the SLC modelling environment (service id 63). If given, and valued "Y", all names modelled by XAL will be assigned to the XAL model service id (202).

Code Block
SQL> exec aida_xal_all_changesnames_update [Y];

PL/SQL procedure successfully completed.   <-- you should see this

...

Code Block
SQL> connect aidaprod/<aidadbpassword>
Connected.
SQL> exec aida_xal_all_changesnames_update [Y];
SQL> @show_IA_given_serviceid 202

...