Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| test-and-measurement:analog-discovery-pro-3x50:gui [2021/10/13 21:06] – external edit 127.0.0.1 | test-and-measurement:analog-discovery-pro-3x50:gui [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Adding a GUI for Linux on Analog Discovery Pro (ADP3450/ | ||
| + | {{ reference: | ||
| + | |||
| + | ~~TechArticle~~ | ||
| + | |||
| + | <WRAP group> | ||
| + | This guide discusses how and why to add a Graphical User Interface (GUI) for the Analog Discovery Pro (ADP3450/ | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | ===== Inventory ===== | ||
| + | === Hardware === | ||
| + | <WRAP group> | ||
| + | * [[https:// | ||
| + | * If you haven' | ||
| + | * A computer connected to the same network as the Test & Measurement device | ||
| + | * Ethernet cable or a USB WiFi Dongle (see the [[test-and-measurement: | ||
| + | * A USB flash drive formatted with a FAT/FAT32 filesystem (Optional) | ||
| + | </ | ||
| + | |||
| + | === Software on Your PC=== | ||
| + | <WRAP group> | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | </ | ||
| + | |||
| + | <WRAP group> | ||
| + | **Note:** //To start, you are required to have the latest Linux image on your device, and your device has to be connected to the internet. To update the Linux image on Analog Discovery Pro (ADP3450/ | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | ===== Setting Up a Remote Desktop ===== | ||
| + | <WRAP group> | ||
| + | Connect your PC to the Analog Discovery Pro with a terminal emulator, either over a USB cable or with SSH. Log into the device. By default, the username and password are both "// | ||
| + | |||
| + | First, a desktop environment should be installed. In this guide, [[https:// | ||
| + | < | ||
| + | |||
| + | As the Analog Discovery Pro doesn' | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <WRAP group>< | ||
| + | Start and stop the server to create the necessary configuration files, by typing: | ||
| + | < | ||
| + | At the first start, you are required to enter a password for your remote desktop. When you are asked if you would like a view-only password or not, choose " | ||
| + | < | ||
| + | |||
| + | Now open the configuration file: | ||
| + | < | ||
| + | and add the following line to the end of the file: | ||
| + | < | ||
| + | Hit Ctrl+O and enter to save the changes and Ctrl+X to exit from the editor. | ||
| + | |||
| + | Start the server again with: | ||
| + | < | ||
| + | Note the X desktop name (here it is // | ||
| + | </ | ||
| + | {{ reference: | ||
| + | {{ reference: | ||
| + | </ | ||
| + | |||
| + | <WRAP group>< | ||
| + | Open the VNC viewer and add a new connection with the noted X desktop name. Enter your password and connect to the device. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | |||
| + | <WRAP group>< | ||
| + | On the first start, choose "//Use default config//" | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | |||
| + | <WRAP group>< | ||
| + | To enable autorun for the VNC server, open // | ||
| + | < | ||
| + | |||
| + | Save the changes. Now the VNC server will be started on boot. You can connect to the device after booting by double-clicking on its icon in the VNC viewer. | ||
| + | |||
| + | **Note:** //You may have to wait a few minutes after booting, for the network connection to be established.// | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | ===== Using the Remote Desktop ===== | ||
| + | <WRAP group> | ||
| + | In this part, we will install the WaveForms GUI on the Analog Discovery Pro, then use an Android tablet as a wireless screen. Before continuing, check your browser. If the browser doesn' | ||
| + | </ | ||
| + | |||
| + | <WRAP group> | ||
| + | --> Fixing the Browser on XFCE # | ||
| + | <WRAP group>< | ||
| + | If you receive an error when opening the browser, you will have to install a new one and set that as default. Open the terminal, then type: | ||
| + | < | ||
| + | |||
| + | When the installation finishes, open // | ||
| + | < | ||
| + | Save the changes. Now you should have a working browser. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | <-- | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | ==== Installing the WaveForms GUI ==== | ||
| + | <WRAP group>< | ||
| + | On your device, open the [[https:// | ||
| + | |||
| + | Alternatively, | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | |||
| + | <WRAP group>< | ||
| + | Open **Downloads** folder with the file manager, or after inserting the usb stick, click on the new icon from desktop and enter the password in the pop up window to mount the USB flash drive. Then, from the //File// menu, select //Open Terminal Here//. Install the downloaded package with the following commands (don't forget to change the name of the file according to its version): | ||
| + | < | ||
| + | sudo dpkg -i digilent.waveforms_3.14.3_armhf.deb | ||
| + | sudo apt-get install -f | ||
| + | </ | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | ==== Using the WaveForms GUI ==== | ||
| + | <WRAP group>< | ||
| + | WaveForms can be opened from // | ||
| + | |||
| + | <WRAP round tip> | ||
| + | You can connect other Test & Measurement devices to the Analog Discovery Pro and use them with WaveForms. | ||
| + | </ | ||
| + | |||
| + | <WRAP round tip> | ||
| + | While WaveForms is not supported on Android, you can still install a VNC viewer to your tablet and use it as a wireless display for Analog Discovery Pro. | ||
| + | </ | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | ==== Exchanging Files with the Analog Discovery Pro (ADP3450/ | ||
| + | <WRAP group>< | ||
| + | To copy/move files between your PC and the Analog Discovery Pro, you can use the Secure File Transfer Protocol (SFTP). To start the file transfer, open a command prompt, or terminal on your PC, then type: | ||
| + | < | ||
| + | When required, enter your password. | ||
| + | |||
| + | You can use the following commands to set the working path: | ||
| + | < | ||
| + | pwd - view the remote working directory | ||
| + | lcd directoryname - change the local working directory | ||
| + | cd directoryname - change the remote working directory | ||
| + | lls - list files from the local working directory | ||
| + | ls - list files from the remote working directory</ | ||
| + | |||
| + | /*You can view the local working directory with the "// | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | |||
| + | <WRAP group>< | ||
| + | When the local and the remote paths are set, you can copy files from the remote directory to the local directory with the following command: | ||
| + | < | ||
| + | To copy a file from the local directory to the remote one, use: | ||
| + | < | ||
| + | |||
| + | When finished, you can exit with: | ||
| + | < | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | ===== Next Steps ===== | ||
| + | <WRAP group> | ||
| + | For more guides on how to use your Digilent Test & Measurement device, return to the device' | ||
| + | |||
| + | For technical support, please visit the [[https:// | ||
| + | </ | ||

