discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 135, Issue 1


From: John Blommers
Subject: Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 135, Issue 1
Date: Sat, 01 Feb 2014 12:01:57 -0800

The article reeks of “progressive liberalism” where they government is to be the solver of all problems. The antics of the San Francisco Municipal Transportation Agency speak volumes:

The MTA has ignored the daily violations and has in turn stepped up enforcement of San Franciscans who violate the law, as well as the users of public buses. They make regular “proof-of-payment” stings, waiting at the bus stops and stopping riders as they get off to make sure they paid their fare. If not they are faced with a $100 dollar fine. These stops have led to violent confrontations, immigrant riders turned over to Immigrant and Customs Enforcement and the police shooting death of a 19-year-old rider. This has resulted in nearly $1 million dollars in revenue, far lower than what could be obtained if they would ticket the private shuttles

Google and the other high tech companies are trying to solve a problem with their own money. Here in Microsoft Land we often see The Connector on the roads. Nobody here has bitched about it.

- John



I just felt a tremor in the force, like the Bill of Rights being stripped from hundreds of millions of Americans… 

On Feb 1, 2014, at 9:00 AM, address@hidden wrote:

Send Discuss-gnuradio mailing list submissions to
address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
or, via email, send a message with subject or body 'help' to
address@hidden

You can reach the person managing the list at
address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Discuss-gnuradio digest..."
Today's Topics:

  1. Rtl sdr (Andrew Rich)
  2. Re: Rtl sdr (West, Nathan)
  3. Re: Rtl sdr (Patrik Tast)
  4. Unable to stop the flow graph after calling stop() (Activecat)
  5. Re: Stop GRC flow graph after defined time (Activecat)

From: Andrew Rich <address@hidden>
Subject: [Discuss-gnuradio] Rtl sdr
Date: January 31, 2014 at 1:43:10 PM PST
To: GNURadio Discussion List <address@hidden>


Ok I have open suse Linux

I have gnu radio

I have rtl sdr dongle

I have been using gqrx rx

What can I do to get to know gnu radio

Something simple

Andrew

Sent from my iPhone





From: "West, Nathan" <address@hidden>
Subject: Re: [Discuss-gnuradio] Rtl sdr
Date: January 31, 2014 at 1:57:17 PM PST
To: Andrew Rich <address@hidden>
Cc: GNURadio Discussion List <address@hidden>
Reply-To: address@hidden


On Fri, Jan 31, 2014 at 3:43 PM, Andrew Rich <address@hidden> wrote:
Ok I have open suse Linux

I have gnu radio

I have rtl sdr dongle

I have been using gqrx rx

What can I do to get to know gnu radio

Something simple

Andrew


Hi Andrew,

That question is a little too broad to receive a very meaningful
answer, but I'll try. Saying you want to get to know GNU Radio implies
you're interested in coding or assembling flowgraphs to possibly make
an application. Are you looking for an issue with the GNU Radio
codebase to get in to contributing, or making applications?

I see from your website you made an ADS-B receiving station, so if
that interests  you there's Nick Foster's ADS-B receiver, or his AIS
receiver for ships.

Nathan





From: Patrik Tast <address@hidden>
Subject: Re: [Discuss-gnuradio] Rtl sdr
Date: January 31, 2014 at 2:05:19 PM PST
To: Andrew Rich <address@hidden>
Cc: GNURadio Discussion List <address@hidden>


What can I do to get to know gnu radio
It is up to you Anything!

Patrik

On Sat, 2014-02-01 at 07:43 +1000, Andrew Rich wrote:
Ok I have open suse Linux

I have gnu radio

I have rtl sdr dongle

I have been using gqrx rx

What can I do to get to know gnu radio

Something simple

Andrew

Sent from my iPhone

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio







From: Activecat <address@hidden>
Subject: [Discuss-gnuradio] Unable to stop the flow graph after calling stop()
Date: February 1, 2014 at 4:51:42 AM PST
To: "address@hidden" <address@hidden>


Dear guru,

I am trying to create a block similar to Vector Source.
My objective is to stop the flow graph when the vector has sent out all its elements.
(This is equivalent to "Repeat: No" in Vector Source)

But the function stop() fails to work. The flow graph continue executing infinitely...

Question: 
How to stop the flow graph when this->d_complete == true ?

Below is my code in file: "lib/integer_source_impl.cc"



#include <gr_io_signature.h>
#include "integer_source_impl.h"

namespace gr {
  namespace activecat {

    integer_source::sptr
    integer_source::make(const std::vector <int> &data, bool repeat)
    { return gnuradio::get_initial_sptr (new integer_source_impl( data, repeat )); }

    // private constructor
    integer_source_impl::integer_source_impl( const std::vector <int> &data, bool repeat)
      : gr_sync_block("integer_source",
              gr_make_io_signature( 0, 0, 0 ),
              gr_make_io_signature( 1, 1, sizeof(int))),
        d_data( data ), 
        d_repeat( repeat ),
        d_count( 0 ),
        d_completed( false )
    { }

    // virtual destructor
    integer_source_impl::~integer_source_impl()
    { }

    int
    integer_source_impl::work(int noutput_items,
              gr_vector_const_void_star &input_items,
              gr_vector_void_star &output_items)
    {
        if ( d_completed ) 
        {
            std::cout << "Have completed one cycle!" << std::endl;
            stop();
            return 0;
        }

        int *out = (int *) output_items[0];

        int size = d_data.size();
        for (int i=0; i < noutput_items; i++)
        {
            out[i] = d_data[ d_count ];
            d_count++;
            if ( d_count >= size )
                d_count = 0;
        }
        d_completed = true;

        // Tell runtime system how many output items we produced.
        return noutput_items;
    }

  } /* namespace activecat */
} /* namespace gr */



From: Activecat <address@hidden>
Subject: Re: [Discuss-gnuradio] Stop GRC flow graph after defined time
Date: February 1, 2014 at 4:57:53 AM PST
To: address@hidden, "address@hidden" <address@hidden>


Dear Josh,

Your method below doesn't work on GNU Radio v3.6.5.1
In this case, how to stop the flow graph in v3.6.5.1 ..?

Thanks & regards,
activecat


Subject: Re: [Discuss-gnuradio] Stop GRC flow graph after defined time
Date: Wed, 29 Sep 2010 08:33:49 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8
You can use the Misc->Head block to limit the samples. Then set the flow graph options to "run to completion", this option is only available in non-gui mode. See the options blocks.

-Josh

On 09/29/2010 04:31 AM, Thorsten Laude wrote:
Hallo,

I'm executing a flow graph in GRC and want to stop this flow graph
after some defined time, for example 3 seconds, or after a defined
amount of samples.

Currently I stop the flow graph by clicking on "Kill the flow graph".
How can I implement, that the flow graph is stopped automatically?

Thorsten

_______________________________________________
Discuss-gnuradio mailing list
address@hidden



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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