You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 26 Next »

Useful AIDA queries

The following table lists some useful AIDA queries. Click on the links to execute the queries.

Oracle Database

AIDA Query

Description

LCLS//epicsDeviceNames

All the EPICS "device names" (type:area:unit, or area:type:unit if SLC) in the LCLS system.1

LCLS//BSA.elements.byZ

Table of all Beam Synchronous PV "root names", and their MAD element, whether EPICS or SLC, sorted by Z 1

LCLS//elementInfo

Table of all beamline elements, whether they MAD modelled or not, epics device name, etc 1

LCLS//elementInfo.byZ

Table of all beamline elements, whether they MAD modelled or not, epics device name, etc, sorted by Z 1

Archive Queries

Summary AIDA query

Description

U*:T*//HIST.lcls REL_TIME=LAST_DAY

Gets a list of Undulator EPICS PV archive names matching pattern U*:T*, click one to get plot of last day's data for that PV

Model Queries

Aida Query

Description

modelRmats//Design.FullMachine

Latest Design Full Machine (Cathode to Dump) model Rmats for all devices

modelRmats//Design.CathodeToGunSpect

Latest Design Cathode to Gun Spectrometer model Rmats for all devices

modelRmats//Design.CathodeTo135MeVSpect

Latest Design Cathode to 135 Mev Spectrometer model Rmats for all devices

modelRmats//Design.CathodeTo52SL2

Latest Design Cathode to 52 line model Rmats for all devices

modelRmats//Extant.FullMachine

Latest Extant (from actual device settings) Full Machine (Cathode to Dump) model Rmats for all devices

modelRmats//Extant.CathodeToGunSpect

Latest Extant (from actual device settings) Cathode to Gun Spectrometer model Rmats for all devices

modelRmats//Extant.CathodeTo135MeVSpect

Latest Extant (from actual device settings) Cathode to 135 Mev Spectrometer model Rmats for all devices

modelRmats//Extant.CathodeTo52SL2

Latest Extant (from actual device settings) Cathode to 52 line model Rmats for all devices

1 Note for using AidaWeb with these queries. These AIDA queries return many rows, so switch the preferences to style >1000 rows to see all data. Alternatively, and bearing in mind that for these big result queries, HTML styling may be taking about a second on it's own, check radio-button "Display Raw Data" and set "Max number of AIDA names to list" to like 5000. Then you'll get a fast response and get all data.

Aida one-liners

Command

Description

aidaget LCLS//epicsDeviceNames | grep BEND

Get the device-name of all the BEND devices in LCLS

  • No labels