Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| test-and-measurement:analog-discovery-2:jupyter [2022/09/12 18:08] – changed forum.digilentinc.com to forum.digilent.com jeff.greenberg_ni.com | test-and-measurement:analog-discovery-2:jupyter [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Using Jupyter Notebooks with WaveForms SDK ====== | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | Jupyter notebooks are interactive documents that contain Python code and descriptions of what the code is doing that can be run step-by-step. The example notebooks, listed below, contains explanations and examples of how to use the WaveForms Python SDK functions to activate the device, configure the necessary instruments, | ||
| + | ---- | ||
| + | ===== Example Notebooks ===== | ||
| + | To use these example notebooks, download the ZIP Archive associated with a notebook, then follow the instructions found in [[# | ||
| + | |||
| + | <WRAP group> <WRAP column half> | ||
| + | * **Mixed Signals** - {{ reference: | ||
| + | * Description: | ||
| + | * Requirements: | ||
| + | * An Analog Discovery Studio, Analog Discovery 2, or Analog Discovery (Legacy) | ||
| + | * A resistor ladder (either a [[https:// | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Using a Jupyter Notebook ===== | ||
| + | === Install Jupyter Notebooks === | ||
| + | Two options for installing Jupyter Notebooks on your system are presented here: | ||
| + | == 1. Anaconda installer == | ||
| + | **Note:** //This method may result in second Python installation, | ||
| + | |||
| + | Go to [[https:// | ||
| + | |||
| + | Once Anaconda is installed, open the program and click the " | ||
| + | ---- | ||
| + | == 2. Command Line == | ||
| + | **Note:** //This method requires an existing Python installation.// | ||
| + | |||
| + | Find the directory in which Python is installed. From the Python install directory, open a terminal window and run the following commands. This will install Jupyter into Python' | ||
| + | < | ||
| + | python -m pip install jupyter --user</ | ||
| + | |||
| + | Allow the installation to take place. To run Jupyter Notebooks, type the following command (in the same directory as before): | ||
| + | < | ||
| + | The system' | ||
| + | ---- | ||
| + | === Opening and Running the Notebook === | ||
| + | Depending on the method used above, download and unzip an [[# | ||
| + | 1. Anaconda installer (run the program at least once before this step): Directory chosen during installation. Place the files on the same level as the " | ||
| + | 2. Command line: " | ||
| + | |||
| + | The *.ipynb file should now appear in the Jupyter tab in the browser. Double click it and the file will open in a new tab. | ||
| + | |||
| + | Read the instructions/ | ||
| + | ---- | ||
| + | |||
| + | ===== Final Notes ===== | ||
| + | For more guides and example projects for your Test and Measurement device, please visit its Resource Center, which can be found through this wiki's [[test-and-measurement: | ||
| + | |||
| + | For technical support, please visit the [[https:// | ||
| + | |||
| + | {{tag> | ||
| + | |||

