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:
Enrico Faulhaber 2017-09-19 18:29:03 +02:00
parent eeac276601
commit 16e69e7778
2 changed files with 3 additions and 3 deletions

View File

@ -278,7 +278,7 @@ class StringType(DataType):
if self.minsize:
return 'StringType(%s, %s)' % (
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):
"""return the validated (internal) value or raise"""

View File

@ -971,9 +971,9 @@ class StringIO(PyTangoDevice, Module):
ArrayOf(
TupleOf(
StringType(),
IntRange()))],
IntRange()),100)],
result=ArrayOf(
StringType())),
StringType(),100)),
}
def do_communicate(self, value=StringType()):