Hi All
I have completed a few online examples and my own simple projects with
GNURadio3.7.13.4 and have started on the main project. However I seem to
have fallen at the first fence.
The project is to connect the two virtual soundcard outputs from my RSP
SDRDuo, running SDRUno software which is super for setting all the SDR
params I need into MAP65. The soundcard outputs use left stereo channel
for" "I and right for "Q" , and if connected to MAP65 soundcard
interface (one at a time) they work well. However it does not seem
possible to connect two sound cards through the soundcard option into
MAP65. The only other option is to use the UDP connection. My project
is to get these two soundcard inputs to a UDP output.
I fell at the first fence because no matter what I have tried I cannot
get the audio source on GNURadio to allow me to use a second output for
the second stereo channel.
I even stripped the design down to the audio source and two QT GUI
Frequency sinks. with the audio source set to one channel and connected
to both sinks it compiles and runs fine, but as soon as I enable the
second port for stereo I get the error below :-
Executing: C:\GNURadio-3.7\gr-python27\python.exe -u
C:\Users\Gary\Documents\top_block.py
INFO: Audio source arch: windows
INFO: Audio sink arch: windows
INFO: Audio sink arch: windows
Traceback (most recent call last):
File "C:\Users\Gary\Documents\top_block.py", line 109, in <module>
main()
File "C:\Users\Gary\Documents\top_block.py", line 97, in main
tb = top_block_cls()
File "C:\Users\Gary\Documents\top_block.py", line 75, in __init__
self.connect((self.audio_source_0, 1), (self.audio_sink_1, 0))
File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\hier_block2.py",
line 47, in wrapped
func(self, src, src_port, dst, dst_port)
File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\hier_block2.py",
line 110, in connect
self.primitive_connect(*args)
File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\runtime_swig.py",
line 5312, in primitive_connect
return _runtime_swig.top_block_sptr_primitive_connect(self, *args)
ValueError: port number 1 exceeds max of 0
>>> Done
If anyone can explain what I am doing wrong I would be very grateful.
Sorry to ask such a simple question but I have searched the web for a
solution and not found one.
Regards
Gary
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio