Download application

Download last release:

scope+lock-0.15.11

Install App in RedPitaya

First, you need an already running RedPitaya enviroment. If you don’t know how to prepare the device SDCard, just follow the RedPitaya help page instructions

To install the web application you need to upload the scope+lock folder to /opt/redpitaya/www/apps/. You can do that with several SSH clients.

For Windows

Use PuTTY to log into the RedPitaya device and run rw:

root@rp-XXXXXX:~$ rw

Then, use WinSCP to upload the scope+lock folder to /opt/redpitaya/www/apps/

If you want to use the remote control tools you need to copy the scope+lock/resources/RP_py/*.py content to /root/py in the RedPitaya device.

Automatic login for PuTTY

TO BE COMPLETED

For linux

To enable rw, in a Terminal console run:

ssh rp-XXXXXX.local -l root  "PATH_REDPITAYA=/opt/redpitaya /boot/sbin/rw"

where rp-XXXXXX.local is the device address.

Then upload the scope+lock folder.

With GUI

You can use any SSH file transfer client, like FileZilla of gftp.

With console

Using the scp command from console:

scp -r scope+lock  root@rp-XXXXXX.local:/opt/redpitaya/www/apps/scope+lock
scp -r scope+lock/resources/RP_py  root@rp-XXXXXX.local:/root/py

automatic script

The installation package includes a bash script to automatically upload the application to the RedPitaya device.

Just run:

bash upload_app.sh rp-XXXXXX.local

Configure automatic login into RP

It’s useful to automate the login procedure to get into RedPitaya console without typing user and password each time. To do this you need to have an SSH key. If you don’t have one, create it with this command in localhost console:

ssh-keygen

If it ask you for Pass Phrase, just hit enter key

Then upload the public key to RP:

ssh-copy-id -i ~/.ssh/id_rsa.pub rp-XXXXXX.local

Now you should be able to login without a password:

ssh rp-XXXXXX.local -l root