# Flex400

**URL:** <https://www.ruby-forum.com/t/flex400/107266>\
**Category:** GNU Radio\
**Created:** [June 19, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/flex400/107266 "2007-06-19T20:52:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mamoru\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ecb155/32.png) [@Mamoru\_Y](https://www.ruby-forum.com/u/Mamoru_Y)\
**Post date:** [June 19, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/flex400/107266/1 "2007-06-19T20:52:37Z")

</div>

Dear Sirs,

I have two questions on USRP and GNU radio use.

(1) Change of output file of file\_sink

I would like to record data into files. I am now using  
file\_sink in the flow graph. Now my program is very  
simple and it can record data into one file only.  
I want to change the program that it can start/stop  
receiving, and for different runs, record data into  
different files. How can I change output file  
(= filename)? Do I need to stop the program and  
return to OS for each file output?

(2) Set PLL frequency of RFX400

I am using RFX400 for receiving. It works fine.  
But I would like to set PLL (the local oscillator  
on the board) to a certain frequency. Please show  
me how to control frequency of the PLL on the board.

Thank you very much for your help.

Regards,

* * *

Mamoru Y. removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![Mamoru\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ecb155/32.png) [@Mamoru\_Y](https://www.ruby-forum.com/u/Mamoru_Y)\
**Post date:** [June 20, 2007, 7:03am UTC](https://www.ruby-forum.com/t/flex400/107266/2 "2007-06-20T07:03:28Z")

</div>

> (2) Set PLL frequency of RFX400
> 
> I am using RFX400 for receiving. It works fine.  
> But I would like to set PLL (the local oscillator  
> on the board) to a certain frequency. Please show  
> me how to control frequency of the PLL on the board.

Use the normal set\_freq method as in usrp\_siggen.py. If you need to  
control it yourself, see how it is done in gr-usrp/src/db\_flexrf.py

Matt
