Hey Jonathan!
Answers below, but I have to caveat, I’m doing this from memory. 

<end transmission>

> On Aug 7, 2021, at 00:43, Jonathon Pendlum <[email protected]> wrote:
> 
> 
> Hi Paul,
> 
> Have you tried running the flowgraph without the loopback patch? I don't 
> think it would affect your flowgraph, but it is worth a shot.
Yes initially I did.
> 
> Do you get the same error if you remove the DDC block?
I’ll have to check again, if I remember correctly there was a connection error 
if I try to connect the siggen block directly to the streamer. 

> 
> Do you set enable before or after you start streaming?
The “enable“ register is set to True by default before the stream starts. 
> 
> Jonathon



> 
>> On Tue, Aug 3, 2021 at 11:22 AM Paul Atreides <[email protected]> wrote:
>> I could really use some help guys.
>> 
>> i'm using an X310
>> i've added the siggen block to my HA FPGA image.
>> I've added the 'Loopback Patch' to gr-ettus which exposes skip property 
>> propagation (but it's currently set to False as is default)
>> I made a custom gnuradio block using rfnocmodtool  that accesses the UHD 
>> siggen control API and controls the following properties:
>> enable
>> waveform type
>> amplitude
>> constant I
>> constant Q
>> sine phase increment
>> 
>> uhd_usrp_probe shows the siggen block
>> |   |       RFNoC blocks on this device:
>> |   |   
>> |   |   * 0/DDC#0
>> |   |   * 0/DDC#1
>> |   |   * 0/DDC#2
>> |   |   * 0/DUC#0
>> |   |   * 0/DUC#1
>> |   |   * 0/NullSrcSink#0
>> |   |   * 0/Radio#0
>> |   |   * 0/Radio#1
>> |   |   * 0/SigGen#0
>> |   |   * 0/SplitStream#0
>> |     _____________________________________________________
>> |    /
>> |   |       Static connections on this device:
>> |   |   
>> |   |   * 0/Radio#0:0==>0/SEP#0:0
>> |   |   * 0/SEP#0:0==>0/Radio#0:0
>> |   |   * 0/Radio#1:0==>0/SEP#1:0
>> |   |   * 0/SEP#1:0==>0/Radio#1:0
>> |   |   * 0/SEP#2:0==>0/DDC#0:0
>> |   |   * 0/DDC#0:0==>0/SEP#2:0
>> |   |   * 0/SEP#3:0==>0/DDC#1:0
>> |   |   * 0/DDC#1:0==>0/SEP#3:0
>> |   |   * 0/SEP#4:0==>0/DDC#2:0
>> |   |   * 0/DDC#2:0==>0/SEP#4:0
>> |   |   * 0/SEP#5:0==>0/SplitStream#0:0
>> |   |   * 0/SplitStream#0:0==>0/SEP#6:0
>> |   |   * 0/SplitStream#0:1==>0/SEP#7:0
>> |   |   * 0/SEP#8:0==>0/DUC#0:0
>> |   |   * 0/DUC#0:0==>0/SEP#8:0
>> |   |   * 0/SEP#9:0==>0/DUC#1:0
>> |   |   * 0/DUC#1:0==>0/SEP#9:0
>> |   |   * 0/SEP#10:0==>0/NullSrcSink#0:0
>> |   |   * 0/NullSrcSink#0:0==>0/SEP#10:0
>> |   |   * 0/SEP#11:0==>0/NullSrcSink#0:1
>> |   |   * 0/NullSrcSink#0:1==>0/SEP#11:0
>> |   |   * 0/SEP#12:0==>0/SigGen#0:0
>> |   |   * 0/SigGen#0:0==>0/SEP#12:0
>> |
>> 
>> 
>> I've followed Aaron Rosetto's RFNoC Python API guide from GRCON last year 
>> and confirmed that siggen can be accessed via UHD and can stream samples to 
>> the host. 
>> 
>> the gnuradio part is where it's getting messy
>> 
>> when i connect:
>> RX RADIO -> DDC -> RX STREAMER -> QT GUI TIME SINK
>> everything works as expected in GNURadio
>> 
>> when i replace the radio with the siggen and connect
>> SIGGEN -> DDC -> RX STREAMER -> QT GUI TIME SINK
>> i get the following error
>>   File "/home/user/flowgraphs/siggen_stream_to_host.py", line 258, in 
>> <module>
>>     main()
>>   File "/home/user/flowgraphs/siggen_stream_to_host.py", line 234, in main
>>     tb = top_block_cls()
>>   File "/home/user/flowgraphs/siggen_stream_to_host.py", line 184, in 
>> __init__
>>     self.rfnoc_graph.connect(self.nocextend_siggen_0.get_unique_id(), 0, 
>> self.ettus_rfnoc_ddc_0.get_unique_id(), 0, self.rfnoc_graph.skip_propagation)
>>   File "/usr/local/lib/python3/dist-packages/ettus/ettus_swig.py", line 
>> 2384, in connect
>>     return _ettus_swig.rfnoc_graph_sptr_connect(self, *args)
>> RuntimeError: EnvironmentError: IOError: Timed out getting recv buff for 
>> management transaction
>> Exception ignored in: <built-in function delete_time_sink_c_sptr>
>> SystemError: <built-in function delete_time_sink_c_sptr> returned a result 
>> with an error set
>> 
>> 
>> Again, i could really use some help
>> thanks
>> _______________________________________________
>> USRP-users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to