[Cao]
To access and control the Red Pitaya using Python locally on a machine within the local network, one should follow these steps:
-
Start the SCPI server. This is achieved by first log onto the Red Piatay page
rp-xxxxxx.local/
- Go to Development >> SCPI server and turn the server on. (Note : The server is currently running)
- Communication with Red Piataya is done through PyVista, install PyVista with:
sudo pip3 install pyvisa pyvisa-py
This has been installed on Chimay. Ensure that you have pip3 install, if not, you can install it using:
sudo apt-install python3 pip
- To start talking to the RedPitaya, ensure you have the scipt
redpitaya_scpi.py in your local folder. This is the standard class that you will import to your code to establish connection with the Red Pitaya. This code can be found in directory ~/RedPiatya or this link
|