Table Of Contents

Previous topic

Information classes

Next topic

The Tango Database Python API

This Page

Enumerations & other classes

Enumerations

class PyTango.LockerLanguage

An enumeration representing the programming language in which the client application who locked is written.

  • CPP : C++/Python language
  • JAVA : Java language

New in PyTango 7.0.0

class PyTango.CmdArgType

An enumeration representing the command argument type.

  • DevVoid
  • DevBoolean
  • DevShort
  • DevLong
  • DevFloat
  • DevDouble
  • DevUShort
  • DevULong
  • DevString
  • DevVarCharArray
  • DevVarShortArray
  • DevVarLongArray
  • DevVarFloatArray
  • DevVarDoubleArray
  • DevVarUShortArray
  • DevVarULongArray
  • DevVarStringArray
  • DevVarLongStringArray
  • DevVarDoubleStringArray
  • DevState
  • ConstDevString
  • DevVarBooleanArray
  • DevUChar
  • DevLong64
  • DevULong64
  • DevVarLong64Array
  • DevVarULong64Array
  • DevInt
  • DevEncoded
class PyTango.MessBoxType

An enumeration representing the MessBoxType

  • STOP
  • INFO

New in PyTango 7.0.0

class PyTango.PollObjType

An enumeration representing the PollObjType

  • POLL_CMD
  • POLL_ATTR
  • EVENT_HEARTBEAT
  • STORE_SUBDEV

New in PyTango 7.0.0

class PyTango.PollCmdCode

An enumeration representing the PollCmdCode

  • POLL_ADD_OBJ
  • POLL_REM_OBJ
  • POLL_START
  • POLL_STOP
  • POLL_UPD_PERIOD
  • POLL_REM_DEV
  • POLL_EXIT
  • POLL_REM_EXT_TRIG_OBJ
  • POLL_ADD_HEARTBEAT
  • POLL_REM_HEARTBEAT

New in PyTango 7.0.0

class PyTango.SerialModel

An enumeration representing the type of serialization performed by the device server

  • BY_DEVICE
  • BY_CLASS
  • BY_PROCESS
  • NO_SYNC
class PyTango.AttReqType

An enumeration representing the type of attribute request

  • READ_REQ
  • WRITE_REQ
class PyTango.LockCmdCode

An enumeration representing the LockCmdCode

  • LOCK_ADD_DEV
  • LOCK_REM_DEV
  • LOCK_UNLOCK_ALL_EXIT
  • LOCK_EXIT

New in PyTango 7.0.0

class PyTango.LogLevel

An enumeration representing the LogLevel

  • LOG_OFF
  • LOG_FATAL
  • LOG_ERROR
  • LOG_WARN
  • LOG_INFO
  • LOG_DEBUG

New in PyTango 7.0.0

class PyTango.LogTarget

An enumeration representing the LogTarget

  • LOG_CONSOLE
  • LOG_FILE
  • LOG_DEVICE

New in PyTango 7.0.0

class PyTango.EventType

An enumeration representing event type

  • CHANGE_EVENT
  • QUALITY_EVENT
  • PERIODIC_EVENT
  • ARCHIVE_EVENT
  • USER_EVENT
  • ATTR_CONF_EVENT
  • DATA_READY_EVENT

DATA_READY_EVENT - New in PyTango 7.0.0

class PyTango.KeepAliveCmdCode

An enumeration representing the KeepAliveCmdCode

  • EXIT_TH

New in PyTango 7.0.0

class PyTango.AccessControlType

An enumeration representing the AccessControlType

  • ACCESS_READ
  • ACCESS_WRITE

New in PyTango 7.0.0

class PyTango.asyn_req_type

An enumeration representing the asynchronous request type

  • POLLING
  • CALLBACK
  • ALL_ASYNCH
class PyTango.cb_sub_model

An enumeration representing callback sub model

  • PUSH_CALLBACK
  • PULL_CALLBACK
class PyTango.AttrQuality

An enumeration representing the attribute quality

  • ATTR_VALID
  • ATTR_INVALID
  • ATTR_ALARM
  • ATTR_CHANGING
  • ATTR_WARNING
class PyTango.AttrWriteType

An enumeration representing the attribute type

  • READ
  • READ_WITH_WRITE
  • WRITE
  • READ_WRITE
class PyTango.AttrDataFormat

An enumeration representing the attribute format

  • SCALAR
  • SPECTRUM
  • IMAGE
  • FMT_UNKNOWN
class PyTango.DevSource

An enumeration representing the device source for data

  • DEV
  • CACHE
  • CACHE_DEV
class PyTango.ErrSeverity

An enumeration representing the error severity

  • WARN
  • ERR
  • PANIC
class PyTango.DevState

An enumeration representing the device state

  • ON
  • OFF
  • CLOSE
  • OPEN
  • INSERT
  • EXTRACT
  • MOVING
  • STANDBY
  • FAULT
  • INIT
  • RUNNING
  • ALARM
  • DISABLE
  • UNKNOWN
class PyTango.DispLevel

An enumeration representing the display level

  • OPERATOR
  • EXPERT

Other classes

class PyTango.Release
Release information:
  • name : (str) package name
  • version : (str) package version in format x.y.z
  • version_description : (str) short description for the current version
  • version_number : (int) x*100 + y*10 + z
  • description : (str) package description
  • long_description : (str) longer package description
  • authors : (dict<str(last name), tuple<str(full name),str(email)>>) package authors
  • url : (str) package url
  • download_url : (str) package download url
  • platform : (seq) list of available platforms
  • keywords : (seq) list of keywords
  • licence : (str) the licence
class PyTango.TimeVal(a=None, b=None, c=None)
Time value structure with the following members
  • tv_sec : seconds
  • tv_usec : microseconds
  • tv_nsec : nanoseconds