pavel-demin / red-pitaya-notes

Notes on the Red Pitaya Open Source Instrument
http://pavel-demin.github.io/red-pitaya-notes/
MIT License
339 stars 211 forks source link

mcpha: description in projects/mcpha/app/index.html still refers to old (tcl/tk) version #1123

Closed GuenterQuast closed 9 months ago

GuenterQuast commented 10 months ago

Description of the setup:

Description of the problem:

The description to start the client program is out-dated in file projects/mcpha/app/index.html Should say: execute client program via "python3 mcpha.py"

In addition, I cannot start the pulse generator.

Steps to reproduce the problem:

1. 2. 3.

pavel-demin commented 10 months ago

Thank you for testing the MCPHA application and for finding this problem.

I have just updated the instructions in the index.html file and in the notes.

We recently started using this application for laboratory exercises at our university and I am in the process of adding new features based on the feedback that I have received so far. Since the 20231004 release I have added some changes that probably break the instructions for Linux. I think that at the moment the simplest workaround would be to checkout the 20231004 tag after cloning the repository and before running the control program:

git clone https://github.com/pavel-demin/red-pitaya-notes
cd red-pitaya-notes/projects/mcpha/client
git checkout 20231004
python3 mcpha.py

To start the pulse generator you will need to load a file with a spectrum. Here is a link to an example spectrum file: https://www.dropbox.com/scl/fi/ytn019wlmvorp74afv0df/test.gen?rlkey=qu4m9q8693quf316wmymo02j1&dl=1

pavel-demin commented 9 months ago

The updated instructions are now in the new release.