test_dimc_cmnd.py File Reference

(Revision 61, commited at 2008-07-31)

An example of using a command service from Python. More...

Go to the source code of this file.

Namespaces

namespace  test_dimc_cmnd

Data Structures

class  MyClass

Functions

def test_dimc_cmnd::dummy
def test_dimc_cmnd::server_create_command_services

Variables

string test_dimc_cmnd::CMND1FORMAT = "C"
string test_dimc_cmnd::CMND2FORMAT = "F:2;D:2;I:1;S:1;C"
string test_dimc_cmnd::CMND3FORMAT = "I"
int test_dimc_cmnd::COMMAND_DELAY = 3
int test_dimc_cmnd::counter = 0
tuple test_dimc_cmnd::list_args = range(counter, counter+2)
tuple test_dimc_cmnd::res = pydim.dic_cmnd_service('test3', list_args, CMND3FORMAT)
tuple test_dimc_cmnd::res = pydim.dic_cmnd_service('test2', tuple_args, CMND2FORMAT)
tuple test_dimc_cmnd::res = pydim.dic_cmnd_service('test1', tuple_args, CMND1FORMAT)
tuple test_dimc_cmnd::tuple_args = (counter, counter+1, counter*9, counter*1.9, counter, counter-1, 'ABRACADABRA')
tuple test_dimc_cmnd::tuple_args = ('Test call no. %03d' %counter, )


Detailed Description

An example of using a command service from Python.

Contains both the server and client parts.

Author:
Radu Stoica (Radu.Stoica@cern.ch)

Definition in file test_dimc_cmnd.py.


Generated on 5 Feb 2014 for PyDIM by  doxygen 1.4.7