From 217589c5a39ed41abdf53cb1860fe2365394b357 Mon Sep 17 00:00:00 2001 From: sara Date: Mon, 6 Dec 2021 19:38:41 +0100 Subject: An GUI weitergearbeitet --- src/gr-fadingui/python/netsink.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gr-fadingui/python') diff --git a/src/gr-fadingui/python/netsink.py b/src/gr-fadingui/python/netsink.py index 130e5dc..487ef45 100644 --- a/src/gr-fadingui/python/netsink.py +++ b/src/gr-fadingui/python/netsink.py @@ -56,6 +56,7 @@ class netsink(gr.sync_block): @return Bytes of ASCII encoded comma separated string of numbers """ # FIXME: this could be (very) slow, is there a faster way with numpy? + # Maybe numpy.array2string values = "[" + ",".join(map(str, data)) + "]" return bytes(values, "ascii") -- cgit v1.2.1