discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Python Tutorial for MAC OS 10.12


From: Luis Felipe Albarracin Sanchez
Subject: Re: [Discuss-gnuradio] Python Tutorial for MAC OS 10.12
Date: Sun, 24 Sep 2017 13:26:12 -0500

Hello everyone,

Thanks for the responses, they are helpful.

Michael, I get o tried to do that "python  file" manually, but It did not work. Maybe I am doing it wrong. I opened opened a terminal in the folder where the python file is and I placed the manual commands that are on the tutorial, but the console shows an error. Do you know how to do this the rigth way?

Thanks again.

El sept. 24, 2017 12:20 PM, "Michael Dickens" <address@hidden> escribió:
Hi Luis Felipe - OK; thanks for clarifying. When you click the button "generate the flowgraph", GRC creates the Python file -- overwriting anything that might be there already. So, any changes to the Python file are lost when you have GRC generate the flowgraph. Note that, at the very end of 3.1.5, you execute the (new) Python script by hand: "python if_else_mod.py". So, do the file edits, save the Python script, but -do not- click the button "generate the flowgraph". Hope this helps! - MLD

On Sun, Sep 24, 2017, at 01:00 PM, Luis Felipe Albarracin Sanchez wrote:
Thank you for the quick response,

I think you are rigth,  i need to clarify better my problem,  i started from scratch the  Tutorial,  and i placed all blocks according to the Tutorial. After that i clicked on "generate the flowgraph". Once i did this in the folder where the GRC is saved Python file was created. I opened this file to edit it as proposed in the section 3.1.5 of the Tutorial and wrote the lines that in the tutorial said should be added to make Flowgraph work taking into account the two signals.  I did this, i wrote the new code i saved it on python (the same file), and then i clicked again on "Generate the flowgraph" hoping that the "flowgraph" will take the changes on the python files, but it did not happend; what it happend is that it created again a Python file overwritting the one the one that i did changes on. i am kind of lost. How can i make the flowgraphs to take Python script once it have change it?


reply via email to

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