Re: [Discuss-gnuradio] USRP Handshake

2015-06-11 Thread Marcus Müller
Hi Surya,

> I use access code from packet decoder

That sounds like a good approach; you should have told us earlier!

> Problem is when I start the Rx's fg the file sink immediately write
file output even Tx's fg not run.

this means that the access code checking doesn't work.

Best regards,
Marcus
On 06/11/2015 11:00 AM, Surya Agam wrote:
> I want to transmitted digital file (i.e. .jpg) with file source on Tx
> side then received the file with file sink.
> It's not about "silence or noise" because I use access code from
> packet decoder, the problem is when I start the Rx's fg the file sink
> immediately write file output even Tx's fg not run. Or when I start
> the Tx's fg first, the file transmitted (repeat = off) but the Rx's fg
> not start yet. I doubt these situation will compromised the output file.
>
> I haven't test it yet, still working to "remove" the noise from
> transmission.
>
> On Thu, Jun 11, 2015 at 5:15 AM, Chris Kuethe  > wrote:
>
> Examples of the squelch block include
> http://www.ece.uvic.ca/~elec350/grc_doc/ar01s01s03.html
>  and
> http://files.ettus.com/tutorials/labs/Lab_1-5.pdf
>
> I've never used timed events in gnuradio, I just know that you can do
> things in a time-aligned way. You may want to google for "gnuradio
> squelch" and "gnuradio timed"
>
> Out of curiousity, why do you need to handshake? What's wrong with a
> little bit of silence or noise at the beginning and end of your
> recording?
>
> On Wed, Jun 10, 2015 at 3:02 PM, Surya Agam
> mailto:surya11.01a...@gmail.com>> wrote:
> > Would you mind to tell me how?
> > I have no idea.
> >
> > On Thu, Jun 11, 2015 at 4:54 AM, Chris Kuethe
> mailto:chris.kue...@gmail.com>>
> > wrote:
> >>
> >> Maybe use a squelch block and wait for for received power to exceed
> >> some critical level? Or use timed events?
> >>
> >> On Wed, Jun 10, 2015 at 1:47 PM, Surya Agam
> mailto:surya11.01a...@gmail.com>>
> >> wrote:
> >> > Hello everyone,
> >> >
> >> > I try to transmitting a file using PSK modulation with 2 x
> USRP B200 as
> >> > Tx
> >> > and Rx. When I run the Tx's fg, the Tx only transmitted
> before the Rx fg
> >> > completely run. But when I run the Rx's fg, the file sink
> already write
> >> > something before I run the Tx's fg. Is there any way to both
> Tx and Rx
> >> > "handshake" before transmission started?
> >> >
> >> > --
> >> > Sincerely,
> >> >
> >> > Surya Agam
> >> > University Al Azhar of Indonesia, Jakarta
> >> >
> >> > ___
> >> > Discuss-gnuradio mailing list
> >> > Discuss-gnuradio@gnu.org 
> >> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >> >
> >>
> >>
> >>
> >> --
> >> GDB has a 'break' feature; why doesn't it have 'fix' too?
> >
> >
> >
> >
> > --
> > Sincerely,
> >
> > Surya Agam
> > University Al Azhar of Indonesia, Jakarta
>
>
>
> --
> GDB has a 'break' feature; why doesn't it have 'fix' too?
>
>
>
>
> -- 
> Sincerely,
>
> Surya Agam
> University Al Azhar of Indonesia, Jakarta
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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


Re: [Discuss-gnuradio] USRP Handshake

2015-06-11 Thread Surya Agam
I want to transmitted digital file (i.e. .jpg) with file source on Tx side
then received the file with file sink.
It's not about "silence or noise" because I use access code from packet
decoder, the problem is when I start the Rx's fg the file sink immediately
write file output even Tx's fg not run. Or when I start the Tx's fg first,
the file transmitted (repeat = off) but the Rx's fg not start yet. I doubt
these situation will compromised the output file.

I haven't test it yet, still working to "remove" the noise from
transmission.

On Thu, Jun 11, 2015 at 5:15 AM, Chris Kuethe 
wrote:

> Examples of the squelch block include
> http://www.ece.uvic.ca/~elec350/grc_doc/ar01s01s03.html and
> http://files.ettus.com/tutorials/labs/Lab_1-5.pdf
>
> I've never used timed events in gnuradio, I just know that you can do
> things in a time-aligned way. You may want to google for "gnuradio
> squelch" and "gnuradio timed"
>
> Out of curiousity, why do you need to handshake? What's wrong with a
> little bit of silence or noise at the beginning and end of your
> recording?
>
> On Wed, Jun 10, 2015 at 3:02 PM, Surya Agam 
> wrote:
> > Would you mind to tell me how?
> > I have no idea.
> >
> > On Thu, Jun 11, 2015 at 4:54 AM, Chris Kuethe 
> > wrote:
> >>
> >> Maybe use a squelch block and wait for for received power to exceed
> >> some critical level? Or use timed events?
> >>
> >> On Wed, Jun 10, 2015 at 1:47 PM, Surya Agam 
> >> wrote:
> >> > Hello everyone,
> >> >
> >> > I try to transmitting a file using PSK modulation with 2 x USRP B200
> as
> >> > Tx
> >> > and Rx. When I run the Tx's fg, the Tx only transmitted before the Rx
> fg
> >> > completely run. But when I run the Rx's fg, the file sink already
> write
> >> > something before I run the Tx's fg. Is there any way to both Tx and Rx
> >> > "handshake" before transmission started?
> >> >
> >> > --
> >> > Sincerely,
> >> >
> >> > Surya Agam
> >> > University Al Azhar of Indonesia, Jakarta
> >> >
> >> > ___
> >> > Discuss-gnuradio mailing list
> >> > Discuss-gnuradio@gnu.org
> >> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >> >
> >>
> >>
> >>
> >> --
> >> GDB has a 'break' feature; why doesn't it have 'fix' too?
> >
> >
> >
> >
> > --
> > Sincerely,
> >
> > Surya Agam
> > University Al Azhar of Indonesia, Jakarta
>
>
>
> --
> GDB has a 'break' feature; why doesn't it have 'fix' too?
>



-- 
Sincerely,

Surya Agam
University Al Azhar of Indonesia, Jakarta
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] USRP Handshake

2015-06-10 Thread Chris Kuethe
Examples of the squelch block include
http://www.ece.uvic.ca/~elec350/grc_doc/ar01s01s03.html and
http://files.ettus.com/tutorials/labs/Lab_1-5.pdf

I've never used timed events in gnuradio, I just know that you can do
things in a time-aligned way. You may want to google for "gnuradio
squelch" and "gnuradio timed"

Out of curiousity, why do you need to handshake? What's wrong with a
little bit of silence or noise at the beginning and end of your
recording?

On Wed, Jun 10, 2015 at 3:02 PM, Surya Agam  wrote:
> Would you mind to tell me how?
> I have no idea.
>
> On Thu, Jun 11, 2015 at 4:54 AM, Chris Kuethe 
> wrote:
>>
>> Maybe use a squelch block and wait for for received power to exceed
>> some critical level? Or use timed events?
>>
>> On Wed, Jun 10, 2015 at 1:47 PM, Surya Agam 
>> wrote:
>> > Hello everyone,
>> >
>> > I try to transmitting a file using PSK modulation with 2 x USRP B200 as
>> > Tx
>> > and Rx. When I run the Tx's fg, the Tx only transmitted before the Rx fg
>> > completely run. But when I run the Rx's fg, the file sink already write
>> > something before I run the Tx's fg. Is there any way to both Tx and Rx
>> > "handshake" before transmission started?
>> >
>> > --
>> > Sincerely,
>> >
>> > Surya Agam
>> > University Al Azhar of Indonesia, Jakarta
>> >
>> > ___
>> > Discuss-gnuradio mailing list
>> > Discuss-gnuradio@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> >
>>
>>
>>
>> --
>> GDB has a 'break' feature; why doesn't it have 'fix' too?
>
>
>
>
> --
> Sincerely,
>
> Surya Agam
> University Al Azhar of Indonesia, Jakarta



-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?

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


Re: [Discuss-gnuradio] USRP Handshake

2015-06-10 Thread Surya Agam
Would you mind to tell me how?
I have no idea.

On Thu, Jun 11, 2015 at 4:54 AM, Chris Kuethe 
wrote:

> Maybe use a squelch block and wait for for received power to exceed
> some critical level? Or use timed events?
>
> On Wed, Jun 10, 2015 at 1:47 PM, Surya Agam 
> wrote:
> > Hello everyone,
> >
> > I try to transmitting a file using PSK modulation with 2 x USRP B200 as
> Tx
> > and Rx. When I run the Tx's fg, the Tx only transmitted before the Rx fg
> > completely run. But when I run the Rx's fg, the file sink already write
> > something before I run the Tx's fg. Is there any way to both Tx and Rx
> > "handshake" before transmission started?
> >
> > --
> > Sincerely,
> >
> > Surya Agam
> > University Al Azhar of Indonesia, Jakarta
> >
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>
>
>
> --
> GDB has a 'break' feature; why doesn't it have 'fix' too?
>



-- 
Sincerely,

Surya Agam
University Al Azhar of Indonesia, Jakarta
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] USRP Handshake

2015-06-10 Thread Chris Kuethe
Maybe use a squelch block and wait for for received power to exceed
some critical level? Or use timed events?

On Wed, Jun 10, 2015 at 1:47 PM, Surya Agam  wrote:
> Hello everyone,
>
> I try to transmitting a file using PSK modulation with 2 x USRP B200 as Tx
> and Rx. When I run the Tx's fg, the Tx only transmitted before the Rx fg
> completely run. But when I run the Rx's fg, the file sink already write
> something before I run the Tx's fg. Is there any way to both Tx and Rx
> "handshake" before transmission started?
>
> --
> Sincerely,
>
> Surya Agam
> University Al Azhar of Indonesia, Jakarta
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?

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


[Discuss-gnuradio] USRP Handshake

2015-06-10 Thread Surya Agam
Hello everyone,

I try to transmitting a file using PSK modulation with 2 x USRP B200 as Tx
and Rx. When I run the Tx's fg, the Tx only transmitted before the Rx fg
completely run. But when I run the Rx's fg, the file sink already write
something before I run the Tx's fg. Is there any way to both Tx and Rx
"handshake" before transmission started?

-- 
Sincerely,

Surya Agam
University Al Azhar of Indonesia, Jakarta
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio