Versions Compared

Key

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

...

(info)  These two scripts perform the same processing, the only difference being which data format they're accessing. The first example will read XTC files, while the second one will read HDF5 files. When running these examples you will notice that the HDF5 version is significantly faster. This is due to the fact that we don't yet support indexing for XTC files.

Extracting values of EPICS variables

In this example we will demonstrate how to access a value of an EPICS variable. The application will monitor changes in the value and report event numbers at which changes happen:

Code Block

./scan_epics.py

Here are the relevant lines of code:

Code Block

epics = ds.env().epicsStore()
pv = epics.getPV('VGCP:FEE1:311:P').data()[0]

4. Instrument Specific Examples

...