Hello
here is my signal chain:
rhythmfpga->bandpassfilter->crossingdetector->eventBroadcaster
I use a threshold that gets me events on the screen (if I add an lfp viewer) and on the recordings (if I add an recording node)
I am trying to read the sockets with python (with matlab I couldn't get zmq jar files to compile)
unfortunately I can't get anything out of the sockets
here is the simplest code I could make:
#############
import zmq
Prepare our context and sockets
context = zmq.Context()
socket = context.socket(zmq.SUB)
socket.connect("tcp://localhost:5557")
Do 10 requests, waiting each time for a response
for request in range(1,11):
# socket.send(b"Hello")
event = socket.poll(timeout=3000) # wait 3 seconds
if event == 0:
# timeout reached before any events were queued
print("nothing")
pass
else:
# events queued within our time limit
msg = socket.recv()
print("Received reply %s" %(msg))
can you help me?
I've been stuck for days trying to communicate with the gui
Hello
here is my signal chain:
rhythmfpga->bandpassfilter->crossingdetector->eventBroadcaster
I use a threshold that gets me events on the screen (if I add an lfp viewer) and on the recordings (if I add an recording node)
I am trying to read the sockets with python (with matlab I couldn't get zmq jar files to compile)
unfortunately I can't get anything out of the sockets
here is the simplest code I could make:
#############
import zmq
Prepare our context and sockets
context = zmq.Context()
socket = context.socket(zmq.SUB)
socket.connect("tcp://localhost:5557")
Do 10 requests, waiting each time for a response
for request in range(1,11):
# socket.send(b"Hello")
event = socket.poll(timeout=3000) # wait 3 seconds
if event == 0:
# timeout reached before any events were queued
print("nothing")
pass
else:
# events queued within our time limit
msg = socket.recv()
print("Received reply %s" %(msg))
can you help me?
I've been stuck for days trying to communicate with the gui