fix entangle integration
StringIO::multicommunicate can now only handle up to 100 messages. Should be sufficient. Change-Id: Id3ccdf03143b80a37aa0ef0b87c47090ef802a42 Reviewed-on: https://forge.frm2.tum.de/review/16288 Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Tested-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
parent
eeac276601
commit
16e69e7778
@ -278,7 +278,7 @@ class StringType(DataType):
|
|||||||
if self.minsize:
|
if self.minsize:
|
||||||
return 'StringType(%s, %s)' % (
|
return 'StringType(%s, %s)' % (
|
||||||
str(self.minsize) or 'unspecified', str(self.maxsize) or 'unspecified')
|
str(self.minsize) or 'unspecified', str(self.maxsize) or 'unspecified')
|
||||||
return 'StringType(%d)' % str(self.maxsize)
|
return 'StringType(%s)' % str(self.maxsize)
|
||||||
|
|
||||||
def validate(self, value):
|
def validate(self, value):
|
||||||
"""return the validated (internal) value or raise"""
|
"""return the validated (internal) value or raise"""
|
||||||
|
@ -971,9 +971,9 @@ class StringIO(PyTangoDevice, Module):
|
|||||||
ArrayOf(
|
ArrayOf(
|
||||||
TupleOf(
|
TupleOf(
|
||||||
StringType(),
|
StringType(),
|
||||||
IntRange()))],
|
IntRange()),100)],
|
||||||
result=ArrayOf(
|
result=ArrayOf(
|
||||||
StringType())),
|
StringType(),100)),
|
||||||
}
|
}
|
||||||
|
|
||||||
def do_communicate(self, value=StringType()):
|
def do_communicate(self, value=StringType()):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user