Gwyscope documentation

open hardware SPM controller with advanced sampling support

User Tools

Site Tools


hwsvnup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hwsvnup [2025/02/20 14:19] – created adminhwsvnup [2025/02/25 14:44] (current) pklapetek
Line 1: Line 1:
-Stable versions of hwserver are available from Sourceforge repository, for example the version that is matched to V4 electronics is available [[https://sourceforge.net/p/gwyscope/code/HEAD/tree/hardware_documentation/V4/|here]]. You can download it to your PC, unpack it and copy it to Red Pitaya.+====== Updating hwserver ======
  
-Development (unstable) version can be checkout using ''svn'' from Sourceforge too.+ 
 +**Stable** versions of hwserver are available from [[https://sourceforge.net/p/gwyscope/code/HEAD/tree/|Sourceforge repository]], for example the version that is matched to V4 electronics is available [[https://sourceforge.net/p/gwyscope/code/HEAD/tree/hardware_documentation/V4/gwyhwserver.tar.7z|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.
  
 <code> <code>
-svn checkout https://svn.code.sf.net/p/gwyscope/code/gwyhwserver_gwyscope+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. 
 +</code> 
 + 
 +Note that Red Pitaya has to have access to the internet. This can be verified e.g. by using ''ping''
 + 
 +<code> 
 +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 
 +...
 </code> </code>
  
 If only update from SF is desired use ''svn up'' in the ''gwyhwserver_gwyscope'' directory. If only update from SF is desired use ''svn up'' in the ''gwyhwserver_gwyscope'' directory.
  
 +<code>
 +root@rp-f0962a:/tmp/gwyhwserver_gwyscope# svn up
 +Updating '.':
 +At revision 87.
 +</code>
 +
 +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.
 +
 +<code>
 +root@rp-f0962a:~/gwyhwserver_gwyscope# apt-get install aptitude
 +</code>
 +
 +We also recommend to install ''vim'' package for source files editing. To install ''vim'' and all dependencies use:
 +
 +<code>
 +root@rp-f0962a:~/gwyhwserver_gwyscope# aptitude install vim libfftw3-dev liblua5.3-dev gnuplot-nox
 +</code>
hwsvnup.1740057587.txt.gz · Last modified: 2025/02/20 14:19 by admin