hwboxtest
This is an old revision of the document!
After successful login to Red Pitaya's OS a set of simple programs was provided for testing of basic functionalities. By default all these programs were installed to /root/gwyhwserver_gwyscope
directory. Change to this directory and open e.g. test_spi.c
using e.g. nano
or vim
text editors.
The programs are written in plain C programming language and are quite self explanatory. Documentation of functions can be found on Gwyscope websites.
Analog inputs and outputs can be easily tested with the mentioned test_spi
utility. Important variables are listed here:
- hrdac1, hrdac2, hrdac3 - values that are to be set on the 20-bit DACs
- lrdac[i] - field with values for 16-bit DACs. Note that i variable goes from 0 to 15.
hwboxtest.1740042440.txt.gz · Last modified: 2025/02/20 10:07 by admin