flowgraph crashes when I enable a block

2024-07-17 Thread Jameson Collins
This flowgraph is based on the example in the PDU to Stream documentation.
The difference is that now 'N' is now a formula instead of a constant (
int(samp_rate*tx_dur) )

As soon as I enable the one disabled block then gnuradio will crash with
only a X window system error.  And as far as I can tell this only happens
when N is variable.

VEC is defined as `pmt.init_f32vector( N, np.arange(N) )`

[image: image.png]


deleteme2.grc
Description: Binary data


Re: flowgraph crashes when I enable a block

2024-07-17 Thread Volker Schroer

Just tested with a freesh build from main
and it works. I can enable the block and run the generated flowgraph.


Am 17.07.24 um 13:19 schrieb Jameson Collins:

This flowgraph is based on the example in the PDU to Stream
documentation.  The difference is that now 'N' is now a formula instead
of a constant ( int(samp_rate*tx_dur) )

As soon as I enable the one disabled block then gnuradio will crash with
only a X window system error.  And as far as I can tell this only
happens when N is variable.

VEC is defined as `pmt.init_f32vector( N, np.arange(N) )`

image.png





Time stamping data in a waterfall sink block

2024-07-17 Thread Jason Nguyen
Hi all,
For about the past week, I've been trying to figure out a way to timestamp
data for when it's being replayed in the QT GUI waterfall sink block. I've
been running into a few issues, first of which is even being able to
extract the timestamp data from my capture, which is taken from a HackRF
sweep and then converted into a cfile. The HackRF sweeps automatically come
with timestamps for each data point which is how I know that they're
actually associated, but I'm struggling to find a way to visually display
them. I initially tried using a file meta source block but I was struggling
to find much documentation on it and after poking around the QT GUI
waterfall sink block's documentation for a while, it seems like there's no
built-in way to change what the readout of the y-axis is. Could anyone
provide guidance on how to extract the timestamp data from my capture and
use it in a waterfall sink block on the y-axis instead of seconds, or how
to modify the existing waterfall sink block?
Thanks,
Jason


Re: flowgraph crashes when I enable a block

2024-07-17 Thread Jameson Collins
I'm using v3.10.2.0 from source, in conda.  I'll try with another version.

On Wed, Jul 17, 2024 at 10:22 AM Volker Schroer  wrote:

> Just tested with a freesh build from main
> and it works. I can enable the block and run the generated flowgraph.
>
>
> Am 17.07.24 um 13:19 schrieb Jameson Collins:
> > This flowgraph is based on the example in the PDU to Stream
> > documentation.  The difference is that now 'N' is now a formula instead
> > of a constant ( int(samp_rate*tx_dur) )
> >
> > As soon as I enable the one disabled block then gnuradio will crash with
> > only a X window system error.  And as far as I can tell this only
> > happens when N is variable.
> >
> > VEC is defined as `pmt.init_f32vector( N, np.arange(N) )`
> >
> > image.png
>
>
>