On Tue, Jun 16, 2020 at 10:53 AM wei-wen Cheng <
evelyncheng.e...@g2.nctu.edu.tw> wrote:

> Thank Shin!
> Your description of run_gr.bat makes me clear about the physical meaning
> of it!
> For problem 1, I uninstalled 3.8.0.0 and install 3.7.10 instead, and the
> plot pop out. I don’t know what’s wrong with 3.8.0.0. But if anyone has the
> same problem, you can try install 3.7.10
>
> On Tue, Jun 16, 2020 at 10:17 AM Kyeong Su Shin <kss...@postech.ac.kr>
> wrote:
>
>> Hello Wei-Wen:
>>
>> First, Windows tends to behave erratically when you run scripts by just
>> typing their file paths (tends to mix up binary/library paths; remember
>> that CP/M-like OSs do not support shebang). So, I suggest trying "python
>> name_of_a_script.py" instead of "name_of_a_script.py" when using Windows.
>>
>> Did you run your scripts on GNU Radio Command Prompt? If so, you can
>> simply ignore run_gr.bat. run_gr.bat _is_ what is used to initiate GNU
>> Radio Command Prompt, so you do not need to use it again if you are already
>> on GNU Radio Commmand Prompt.  GNU Radio Command Prompt is just a generic
>> Windows command prompt, but with a few additional variables configured to
>> deal with customized Python binary/library paths.
>>
>> Regards,
>> Kyeong Su Shin
>> ------------------------------
>> *보낸 사람:* wei-wen Cheng <evelyncheng.e...@g2.nctu.edu.tw> 대신
>> Discuss-gnuradio <discuss-gnuradio-bounces+ksshin=postech.ac...@gnu.org>
>> *보낸 날짜:* 2020년 6월 16일 화요일 오전 10:48
>> *받는 사람:* discuss-gnuradio@gnu.org <discuss-gnuradio@gnu.org>
>> *제목:* Re: GNU 3.8.0.0 doesn’t show result after execute & run_gr.bat
>>
>> The following is all the message show on my cmd line, I hope this helps.
>> Great thanks for viewing my problem!
>>
>> Microsoft Windows [Version 10.0.17763.1217]
>> (c) 2018 Microsoft Corporation. 著作權所有,並保留一切權利。
>>
>> C:\Program Files\GNURadio-3.8\bin>run_gr.bat ..\share\gnuradio\examples\
>> analog\fmtest.py
>> setting gnuradio environment
>>
>> C:\Program Files\GNURadio-3.8\bin>gnuradio-companion.py
>> WARNING:gnuradio.grc.core.platform:Slow YAML loading (libyaml not
>> available)
>> <<< Welcome to GNU Radio Companion 3.8.0.0 >>>
>>
>> Block paths:
>>         C:\Users\User\.grc_gnuradio
>>         C:\Program Files\GNURadio-3.8\share\gnuradio\grc\blocks
>>
>> Loading: "C:\Program Files\GNURadio-3.8\share\gnuradio\examples\channels\
>> demo_ofdm.grc"
>> >>> Done
>>
>> Loading: "C:\Users\User\Desktop\gnu_radio\demo_gmsk.grc"
>> >>> Done
>>
>> Generating: 'C:\\Users\\User\\Desktop\\gnu_radio\\demo_gmsk.py'
>>
>> Executing: C:\Python27\python.exe -u C:\Users\User\Desktop\gnu_
>> radio\demo_gmsk.py
>>
>> >>> Done (return code -1073741795)
>>
>> On Tue, Jun 16, 2020 at 9:29 AM wei-wen Cheng <
>> evelyncheng.e...@g2.nctu.edu.tw> wrote:
>>
>> Hi,
>> I am a starter of gnu radio. I followed the tutorial on the wiki, simply
>> add the signal source, throttle, QT time sink. When I run the  flow graph,
>> there is no result plot pop out. Instead, the command line shows:
>> done(return code -1073741795). Can you tell me how can I see my result? I
>> would like  both plot result on grc and export data to .dat file in the
>> directory.
>> Another question is run_gr.bat filename.py on the download document for
>> windows website. I cannot tell what is the purpose of the run_gr.bat, and
>> might do it wrong.
>> I run gnu radio in Windows 10.
>> Thank you
>>
>>

Reply via email to