Versions Compared

Key

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

...

Panel

Class BldInfo

Python wrapper for pdsdata/xtc/BldInfo class. Unlike C++ this class does not inherit from Src class (Src class does not exist in this module) but uses dynamic Python features to implement the same interface as in Src class.

Enum Type

This enum is an embedded type of BldInfo class. Following enum members are defined currently:

  • BldInfo.Type.EBeam
  • BldInfo.Type.PhaseCavity
  • BldInfo.Type.FEEGasDetEnergy
  • BldInfo.Type.NumberOf

Construction

Usage: obj bld = BldInfo(processId, type)

Arguments:

  • processId – integer number
  • type – one of the BldInfo.Type enum values

Method level()

Usage: lvl = bld.level()

Returns enum value of type xtc.Level which defines source level.

Method log()

Usage: log = bld.log()

Returns logical address of data source as integer number.

Method phy()

Usage: phy = bld.phy()

Returns physical address of data source as integer number.

Method processId()

Usage: processId = bld.processId()

Returns process ID as integer number.

Method type()

Usage: type = bld.type()

Returns BldInfo type which is a value of BldInfo.Type.