You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Its for win 10, only


Step 1 - Install Anaconda.

Step 2 - Install package "pyserial"

Step 3 - Install the modules drivers

Step 4 - Place the notebook files inside your "user directory"

Step 5 - Start Jupyter via Anaconda or direct

Step 6 - Alter the comport to yours

Step 7 - Show linenumber / Starting with clearing the caches

Step 7 - Run the Notebook



Einleitung → Bildchen's der module

Warum benutzen wir ANaconda?/ Keine Autovervollständigung oder sinnvolle Fehlerausgabe... . Als extra Schmerz für Anfänger?!!??


IPython (Interactive Python) - is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language
ipywidgets - Interactive Widgets/GUI elements for the Jupyter Notebook


This manual privides an easy path for the installation

for running the AnalogMax


This manuals goal is to provide a simple instruction for installing the required software to run the demos / for running demos on certain modules.
For the ease of access and programability the programming language Python(ab Version 3.5) has been chosen.
The project Jupyter provides an excellent and open source

Jupyter via Anaconda

The demos for the modules rely on the Jupyter  ... .


The simplest way to get the demos running in Jupyter is accomplished throw the installion of Anaconda,
this will install more than is needed but Jupyter is also installed without problems or much manual setup.
So running and editing the Demos requires the following steps:
• download and installation of Anaconda
• installation of pyserial throw Anacondas command prompt
• driver installation for the AnalogMax board
• adding the demos to Jupyter
The following description of steps applies in its details to computers running windows, for other
operation systems they are in general similar.


Installation of Anaconda


The Anaconda website provides detailed instructions on how to install the application, just follow the link
http://docs.anaconda.com/anaconda/install/windows/
The instructions and the installer of Anaconda offer you the installation of optional application, they are
not needed to run the demos or edit them.


Installation of Pyserial


At least with Anaconda installation on Windows, pyserial (python serial port support library) is not
included and hast to be installed. This can be done from Anaconda command prompt.
To open the Anaconda command prompt, just press the windows key and type Anaconda prompt. Enter
conda install -c anaconda pyserial
into the command prompt. This starts the search for software dependencies of pyserial, you are asked to
proceed with the installation off these. In the end pyserial is installed and the command prompt is no
longer needed.






Driver installation → can also lead to 2 comports, normaly the higher numbered is the right one

Windows startet die Treiberinstallation / eher nicht


When you connect the AnalogMax board to your computer, windows starts the automatic driver

installation.


Rechtklick auf Win-Symbol und GeräteManager auswählen

ODER:



If this is not the case, the manual approach is to open the device manager, windows key and

type device manager. It lists two unknown devices Arrow USB Blaster.

Through a right mouse click on each device, the search for drivers can be started. Just follow the steps

and the installation of the drivers changes the devices name into USB Serial Converter A & B. In addition,

also a comport is installed.

Check its number (“COMX” ) and memorize it for the later use within the AnalogMax demos.

In dependency to the modules firmware, the driver installation leads to one or two comports


Adding of the demos to jupyter


A convenient way to add the demos into Jupyter is to extract them and copy
the folder / file
from the AnalogMax distribution

archive to your user folder, for example

C:\Users\Username

before you start jupyter.

Opening the demos in jupyter

Alternative kann man auch einfach nur Jupyter starten, es öffnet sich als Konsolenfenster, dass nicht
geschlßen werden, wohl aber minimiert werden darf


Jupyter is accessible through the Anaconda Navigator, press the windows key and type Anaconda

Navigator. Anaconda opens and to open jupyter, click launch, in the screenshot below, marked within

the red rectangle.




The application opens a tab inside your browser which displays your user respectively home folder.









Clicking on the folder AnalogMax opens it.

Choose a demo and another click opens

the demo in a new tab.


  • No labels