Gwyscope documentation

open hardware SPM controller with advanced sampling support

User Tools

Site Tools


hwsvnup

This is an old revision of the document!


Stable versions of hwserver are available from Sourceforge repository, for example the version that is matched to V4 electronics is available here. You can download it to your PC, unpack it and copy it to Red Pitaya.

Development (unstable) version can be checkout using svn from Sourceforge too.

root@rp-f0962a:/tmp# svn checkout https://svn.code.sf.net/p/gwyscope/code/gwyhwserver_gwyscope
A    gwyhwserver_gwyscope/AUTHORS
A    gwyhwserver_gwyscope/qlink.c
A    gwyhwserver_gwyscope/rptable.h
...
A    gwyhwserver_gwyscope/test_feedback.c
A    gwyhwserver_gwyscope/test_lockin.c
A    gwyhwserver_gwyscope/test_qm.c
Checked out revision 87.

Note that Red Pitaya has to have access to the internet. This can be verified e.g. by using ping.

root@rp-f0962a:~/gwyhwserver_gwyscope# ping sourceforge.net
PING sourceforge.net (104.18.12.149) 56(84) bytes of data.
64 bytes from 104.18.12.149: icmp_seq=1 ttl=57 time=4.19 ms
64 bytes from 104.18.12.149: icmp_seq=2 ttl=57 time=4.26 ms
64 bytes from 104.18.12.149: icmp_seq=3 ttl=57 time=4.40 ms
...

If only update from SF is desired use svn up in the gwyhwserver_gwyscope directory.

root@rp-f0962a:/tmp/gwyhwserver_gwyscope# svn up
Updating '.':
At revision 87.

After update use make to update binaries. Note that hwserver has several dependencies, these are

  • libfftw3-dev - library for computing Fast Fourier Transforms
  • liblua5.3-dev - support for Lua language scripting
  • gnuplot-nox (optional) - Gnuplot is used in calibration utilities (e.g. cal_inputs.c)

On clean Red Pitaya system we recommend to install aptitude package manager first. It simplifies the search and installation of packages. Use the following example to install it.

root@rp-f0962a:~/gwyhwserver_gwyscope# apt-get install aptitude

We also recommend to install vim package for source files editing. To install vim and all dependencies use:

root@rp-f0962a:~/gwyhwserver_gwyscope# aptitude install vim libfftw3-dev liblua5.3-dev gnuplot-nox
hwsvnup.1740060812.txt.gz · Last modified: 2025/02/20 15:13 by admin