Thursday, January 5, 2023

Re: change grc hier blocks root directory

Embedded python blocks should go wherever the flowgraph goes. The name can be set using ID in the GRC block.

Please keep the discussion on the mailing list - thanks.

On Wed, Jan 4, 2023 at 9:59 PM wieniawski <wieniawski@outlook.com> wrote:
thx

GRC_HIER_PATH EnvVar works quite well!

However, GRC_BLOCKS_PATH doesnot work.

the python block file still generated under [user home]/AppData/Local/Temp/[python_block_name].py (in windows)

And the [python_block_name] is named as epy_block_0_[some number].py, can I change both the directory and the name.

I searched the grc file by epy_block:


Which does not specify the epy_block name and directory. Where does these information specified?

Thx.



---- Replied Message ----
From Jeff Long<willcode4@gmail.com>
Date 1/5/2023 06:55
To discuss-gnuradio@gnu.org<discuss-gnuradio@gnu.org>
Subject Re: change grc hier blocks root directory
Environment variables:
  GRC_HIER_PATH defaults to ~/.grc_gnuradio
  GRC_BLOCKS_PATH can be used to specify an additional path

On Wed, Jan 4, 2023 at 8:00 AM wieniawski <wieniawski@outlook.com> wrote:
hi,

I have generated some GRC Hier Blocks, and as you know, they are located in [user home]/.grc_gnuradio.

My question is can I change the root directory of GRC Hier Blocks?

Thx!

No comments:

Post a Comment