hwperifpico
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hwperifpico [2025/02/26 10:13] – admin | hwperifpico [2025/02/27 08:58] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | We have implemented control of Newport Picomotor [[https:// | + | ====== Newport Picomotor ====== |
| + | |||
| + | We have implemented control of Newport Picomotor [[https:// | ||
| + | |||
| + | The implementation was done using [[https:// | ||
| + | |||
| + | < | ||
| + | pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --upgrade pip | ||
| + | </ | ||
| + | |||
| + | This upgrades pip from the installed 9.0.1 version to 20.3.4 which is the latest version that supports Python 3.5 that is part of RP's OS. Note that '' | ||
| + | |||
| + | < | ||
| + | pip install -U pylablib-lightweight[devio-full] | ||
| + | </ | ||
| + | |||
| + | This will ensure that the basic dependencies (numpy, scipy, and pandas) are installed and adds also other packages that are useful for communication to other devices (pyusb, pyserial, websocket-client, | ||
| + | |||
| + | You can now checkout the pmserver from Sourceforge, | ||
| + | |||
| + | < | ||
| + | svn checkout https:// | ||
| + | |||
| + | cd peripherals/ | ||
| + | |||
| + | make | ||
| + | </ | ||
| + | |||
| + | In the directory, there is a simple Python script '' | ||
| + | |||
| + | < | ||
| + | ./pmserver 50101 hwserver_sample.ini | ||
| + | </ | ||
| + | |||
| + | Note that the parameters in the .ini file need to be adjusted. For example the '' | ||
hwperifpico.1740561185.txt.gz · Last modified: 2025/02/26 10:13 by admin
