Versions Compared

Key

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

...

Panel

Anchor
_pdsdata.epics.epicsTimeStamp
_pdsdata.epics.epicsTimeStamp

Class epicsTimeStamp

Python wrapper for pdsdata/epics/epicsTimeStamp class. In addition to methods described here the class also defines __hash__ and __cmp__ methods based on the content of the object and can be used as a key in the dictionaries.


Construction

Wiki Markup
Usage: {{ts = epics.epicsTimeStamp(\[_sec_, \[_nsec_\]\])}}

Arguments:

  • sec – number of seconds since Jan 1, 1990 00:00
  • nsec – nanoseconds within second

Property secPastEpoch

Usage: val = ts.secPastEpoch

Returns number of seconds since Jan 1, 1990 00:00.


Property nsec

Usage: val = ts.nsec

Returns nanoseconds within second.

...

Module _pdsdata.evr

This module contains classes corresponding to those in C++ pdsdata/evr package.

Panel

Anchor
_pdsdata.evr.ConfigV1
_pdsdata.evr.ConfigV1

Class ConfigV1

Python wrapper for pdsdata/evr/ConfigV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method npulses()

Usage: val = config.npulses()

Returns integer number.


Method pulse()

Usage: val = config.pulse(index)

Returns object of evr.PulseConfig type.


Method noutputs()

Usage: val = config.noutputs()

Returns integer number.


Method output_map()

Usage: val = config.output_map(index)

Returns object of evr.OutputMap type.


Method size()

Usage: val = config.size()

Returns total size of the object.

...

Panel

Anchor
_pdsdata.evr.ConfigV2
_pdsdata.evr.ConfigV2

Class ConfigV2

Python wrapper for pdsdata/evr/ConfigV2 class.


Enum RateCode

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

  • ConfigV2.RateCode.r120Hz
  • ConfigV2.RateCode.r60Hz
  • ConfigV2.RateCode.r30Hz
  • ConfigV2.RateCode.r10Hz
  • ConfigV2.RateCode.r5Hz
  • ConfigV2.RateCode.r1Hz
  • ConfigV2.RateCode.r0_5Hz
  • ConfigV2.RateCode.Single
  • ConfigV2.RateCode.NumberOfRates

Enum BeamCode

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

  • ConfigV2.BeamCode.Off
  • ConfigV2.BeamCode.On

Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method beam()

Usage: val = config.beam()

Returns value of enum ConfigV2.BeamCode.


Method rate()

Usage: val = config.rate()

Returns value of enum ConfigV2.RateCode.


Method opcode()

Usage: val = config.opcode()

Returns integer number.


Method npulses()

Usage: val = config.npulses()

Returns integer number.


Method pulse()

Usage: val = config.pulse(index)

Returns object of evr.PulseConfig type.


Method noutputs()

Usage: val = config.noutputs()

Returns integer number.


Method output_map()

Usage: val = config.output_map(index)

Returns object of evr.OutputMap type.


Method size()

Usage: val = config.size()

Returns total size of the object.

...

Panel

Anchor
_pdsdata.evr.OutputMap
_pdsdata.evr.OutputMap

Class OutputMap

Python wrapper for pdsdata/evr/OutputMap class.


Enum Source

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

  • OutputMap.Source.Pulse
  • OutputMap.Source.DBus
  • OutputMap.Source.Prescaler
  • OutputMap.Source.Force_High
  • OutputMap.Source.Force_Low

Enum Conn

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

  • OutputMap.Conn.FrontPanel
  • OutputMap.Conn.UnivIO

Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method source()

Usage: val = map.source()

Returns value of enum OutputMap.Source.


Method source_id()

Usage: val = map.source_id()

Returns integer number.


Method conn()

Usage: val = map.conn()

Returns value of enum OutputMap.Conn.


Method conn_id()

Usage: val = map.conn_id()

Returns integer number.


Method map()

Usage: val = map.map()

Returns encoded source value as integer number.