discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] UHD Error: recv packet demuxer unexpected sid


From: Jorge Gallo
Subject: [Discuss-gnuradio] UHD Error: recv packet demuxer unexpected sid
Date: Fri, 30 Jan 2015 12:46:20 +0100

Sometimes I run my python program I continuously get this error:
.........................
UHD Error:
    recv packet demuxer unexpected sid 0x3fff9
UHD Error:
    recv packet demuxer unexpected sid 0x4fff9
UHD Error:
    recv packet demuxer unexpected sid 0xfffe0003
UHD Error:
    recv packet demuxer unexpected sid 0xfffb0000
UHD Error:
    recv packet demuxer unexpected sid 0x3
UHD Error:
    recv packet demuxer unexpected sid 0x3fffc
 .........................

Does anybody know where this error could come from?

My python program just writes some samples in a file, reconfigure the central frequency and write again in a file with different name. Here is the related code:

       for num in range(1,24):  #to iterate between 1 to 24
            tb.samp_rate = samp_rate = 2000000
            tb.fft_points = fft_points = 1024
            tb.frame_rate = frame_rate = int (samp_rate/fft_points/1000)
            center_freq = 914e6 + (num*2000000) # Center freq modification
            tb.set_center_freq(center_freq)
            tb.disconnect((tb.logpwrfft_x_0, 0), (tb.blocks_file_sink_0, 0))
            tb.blocks_file_sink_0 = blocks.file_sink(gr.sizeof_float*fft_points, '/home//FILE_SINK/'+ '914_+_' + str(num+num), False)
           tb.connect((tb.logpwrfft_x_0, 0), (tb.blocks_file_sink_0, 0))
           tb.start()           
           while(tb.blocks_file_sink_0.nitems_read(0) <3):    #3 arrays of 1024
            pass
           tb.stop()
           tb.wait()
  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]