Did I find the right examples for you? yes no

All Samples(107)  |  Call(0)  |  Derive(0)  |  Import(107)

src/t/a/taurus-3.2.0/doc/source/devel/examples/TaurusTest.py   taurus(Download)
import PyTango
import sys
import math
 
class TaurusTest(PyTango.Device_4Impl):

src/t/a/taurus-3.2.0/lib/taurus/qt/qtgui/dialog/taurusmessagebox.py   taurus(Download)
def tg_exc():
    import PyTango
    try:
        PyTango.Except.throw_exception('TangoException',
                                       'A simple tango exception', 'right here')
def tg_serv_exc():
    import PyTango
    import taurus
    dev = taurus.Device("sys/tg_test/1")
    try:
def py_tg_serv_exc():
    import PyTango
    try:
        PyTango.Except.throw_exception('TangoException',
                                       'A simple tango exception', 'right here')

src/s/a/sardana-1.3.1/src/sardana/spock/ipython_01_00/genutils.py   sardana(Download)
def get_pytango_version():
    try:
        import PyTango
        try:
            return PyTango.Release.version
def get_tango_db():
    import PyTango
    tg_host = PyTango.ApiUtil.get_env_var("TANGO_HOST")
 
    db = None
def get_tango_host_from_user():
    import PyTango
    while True:
        prompt = "Please enter a valid tango host (<host>:<port>): "
        from_user = raw_input(prompt).strip()
        factory = Factory()
        taurus_dev = factory.getDevice(dev_name)
        import PyTango
        dev = PyTango.DeviceProxy(dev_name)
        setattr(spock_config, dev_type, dev)

src/s/a/sardana-1.3.1/src/sardana/spock/ipython_00_11/genutils.py   sardana(Download)
def get_pytango_version():
    try:
        import PyTango
        try:
            return PyTango.Release.version
def get_tango_db():
    import PyTango
    tg_host = PyTango.ApiUtil.get_env_var("TANGO_HOST")
 
    db = None
def get_tango_host_from_user():
    import PyTango
    while True:
        prompt = "Please enter a valid tango host (<host>:<port>): "
        from_user = raw_input(prompt).strip()
        factory = Factory()
        taurus_dev = factory.getDevice(dev_name)
        import PyTango
        dev = PyTango.DeviceProxy(dev_name)
        setattr(spock_config, dev_type, dev)

src/t/a/taurus-3.2.0/lib/taurus/core/tango/sardana/motion.py   taurus(Download)
            states.append(res[0])
            positions.extend(res[1])
        import PyTango
        state = PyTango.DevState.ON
        if PyTango.DevState.FAULT in states:
                moveable.waitMove(id=id, timeout=timeout)
            states, positions = self.readState(), self.readPosition()
            import PyTango
            state = PyTango.DevState.ON
            if PyTango.DevState.FAULT in states:

src/t/a/taurus-3.2.0/lib/taurus/qt/qtgui/extra_macroexecutor/sequenceeditor/sequenceeditor.py   taurus(Download)
 
from taurus.qt import Qt
import PyTango
 
from lxml import etree

src/t/a/taurus-3.2.0/lib/taurus/qt/qtgui/util/tauruscolor.py   taurus(Download)
        return ( b[name], f[name] )
 
import PyTango
 
QT_DEVICE_STATE_PALETTE = QtColorPalette(DEVICE_STATE_DATA, PyTango.DevState)

src/t/a/taurus-3.2.0/lib/taurus/qt/qtgui/tree/taurusdevicetree.py   taurus(Download)
import time,os,re,traceback
from functools import partial
import PyTango # to change!!
 
try:import icons_dev_tree

src/t/a/taurus-3.2.0/lib/taurus/qt/qtgui/table/taurusvaluestable_ro.py   taurus(Download)
from taurus.qt import Qt
 
import PyTango
 
import taurus.core

src/t/a/taurus-3.2.0/lib/taurus/qt/qtgui/table/taurusdevicepropertytable.py   taurus(Download)
from taurus.qt.qtgui.base import TaurusBaseWidget
import taurus.core
import PyTango
 
class TaurusPropTable(QtGui.QTableWidget, TaurusBaseWidget):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next