Hi All,
I'm trying to send a simple spectrometer data stream from the ROACH to more
than one IP address.
I've installed the corr-master library from GitHub which has a function
called tap_multicast_add_send function in katcp_wrapper.py
I'm trying to use it but I get an error message back from the ROACH, here I
copy the prompt info:
Connecting to server 172.17.89.179 on port 7147... ok
------------------------
Trying multicast to PIC
FAILURE DETECTED. Log entries:
172.17.89.179: Starting thread Thread-1
172.17.89.179: #version poco-0.1
172.17.89.179: #build-state poco-0.2804
172.17.89.179: Joining the multicast groups 0.0.0.69 - 0.0.0.70.
172.17.89.179: ?tap-multicast-add PIC send 0.0.0.69+0
172.17.89.179: !tap-multicast-add invalid unknown\_command
172.17.89.179: received reply %r
172.17.89.179: Request tap-multicast-add failed.
Request: ?tap-multicast-add PIC send 0.0.0.69+0
Reply: !tap-multicast-add invalid unknown\_command.
None
Traceback (most recent call last):
File "spectrometer_64bits_float_s12_dif_ed_sin_acc_data_upper_low3.py",
line 297, in <module>
exit_fail()
File "spectrometer_64bits_float_s12_dif_ed_sin_acc_data_upper_low3.py",
line 160, in <module>
fpga.tap_multicast_add_send('PIC', 69, n_addresses=1)
File "/usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.py", line
346, in tap_multicast_add_send
reply, informs = self._request("tap-multicast-add", self._timeout,
tap_dev, 'send', str(ip_str_first) + '+' + str(n_addresses-1))
File "/usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.py", line
196, in _request
% (request.name, request, reply))
RuntimeError: Request tap-multicast-add failed.
Request: ?tap-multicast-add PIC send 0.0.0.69+0
Reply: !tap-multicast-add invalid unknown\_command.
Am I using the command correctly or I have some sort of library problem?
Is there another way to get the info sent to another IP?
Best Regards
--
Pablo Vasquez
Ingeniero Eléctrico
DAS Universidad de Chile
(+562)29771119