Code: Select all
rw
cd /opt/redpitaya/www/apps
wget http://bazaar.redpitaya.com/archives/apps/mcpha-1.0-20190527.zip
unzip mcpha-1.0-20190527.zip
ro
Code: Select all
rw
cd /opt/redpitaya/www/apps
wget http://bazaar.redpitaya.com/archives/apps/mcpha-1.0-20190527.zip
unzip mcpha-1.0-20190527.zip
ro
Code: Select all
root@rp-f084cd:~/red-pitaya-notes/projects/mcpha/client# cd red-pitaya-notes/projects/mcpha/client
[b]root@rp-f084cd:~/red-pitaya-notes/projects/mcpha/client/red-pitaya-notes/projects/mcpha/client# gcc -shared -fPIC -I /usr/include/tcl8.6 mcpha.c -o mcpha.so -lBLT
root@rp-f084cd:~/red-pitaya-notes/projects/mcpha/client/red-pitaya-notes/projects/mcpha/client# wish8.6 mcpha.tcl
application-specific initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: invalid command name "wm"
while executing
"wm minsize . 880 680"
(file "mcpha.tcl" line 4)
root@rp-f084cd:~/red-pitaya-notes/projects/mcpha/client/red-pitaya-notes/projects/mcpha/client# ls -l `which tclsh`
total 100[/b]
What you do is not at all what is written in my instructions. I never suggested installing the MCPHA application to the Red Pitaya board via github. Almost everything that involves my github repository should be done on a development machine and not on the Red Pitaya board.So I managed to get your app loaded via github... however
upon trying to start the server via SSH, this is the error I recieve.
Code: Select all
rw
cd /opt/redpitaya/www/apps
wget http://bazaar.redpitaya.com/archives/apps/mcpha-1.0-20190527.zip
unzip mcpha-1.0-20190527.zip
ro
Code: Select all
rw
cd /opt/redpitaya/www/apps
wget 'https://www.dropbox.com/sh/5fy49wae6xwxa8a/AACX0vv9VXs1U5-jT-oM6KOfa/bazaar/mcpha-1.0-20190527.zip?dl=1' -O mcpha-1.0-20190527.zip
unzip mcpha-1.0-20190527.zip
ro
Out of curiosity, did you consider Analog Discovery 2 and ADALM2000 as possible candidates? If the MCA functionality isn't crucial, these devices come with much better "lab" software. They're also cheaper, easier to connect to a PC and they come with some tutorials:I am trying to sell the red pitaya for grade 12 science learning as a portable "lab" device.
Users browsing this forum: No registered users and 86 guests