Skip to content

Oscilloscope and data logger for the Attys DAQ (Linux/Windows)

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.rtf
Notifications You must be signed in to change notification settings

glasgowneuro/attys-scope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

attys-scope (Linux / Windows)

Oscilloscope program for the Attys (http://www.attys.tech).

Features

  • Records from multiple Attys at the same time.
  • Python plugins to visualise data or feed the data into your favourite game engine (via UDP broadcast).
  • Saves data as tab separated values which can be directly imported into Python, MATLAB ™, OCTAVE, R, GNUPLOT and many other software packages.
  • Change the gain, highpass, lowpass, 50/60Hz bandstop and rectifier for amplitude plots

alt tag

Data format

For saving data to a file the format is either "comma separated" (CSV) or "tab separated" (TSV).

UDP packets are always transmitted as CSV.

Header

# TIMESTAMP_IN_UNIX_EPOCH ATTYS1MAC ATTYS2MAC ...

Columns

  1. TIME
  2. RAW_AccX
  3. RAW_AccY
  4. RAW_AccZ
  5. RAW_MagX
  6. RAW_MagY
  7. RAW_MagZ
  8. RAW_CH1
  9. RAW_CH2
  10. RAW_DIO1
  11. RAW_DIO2
  12. FILT_1
  13. FILT_2
  14. FILT_3
  15. FILT_4
  16. FILT_5
  17. FILT_6
  18. FILT_7
  19. FILT_8
  20. FILT_9
  21. FILT_10
  22. RAW_AccX of the 2nd Attys
  23. ...

Windows installer

https://github.com/glasgowneuro/attys-scope/blob/master/installer/attys_scope_installer.msi

Ubuntu packages for Ubuntu LTS releases

Add these two repositories...

sudo add-apt-repository ppa:berndporr/attys
sudo add-apt-repository ppa:berndporr/dsp

...and then select attys-scope. This will then install also the other required packages.

Compile under Linux

Compile under Windows

  • Install: Visual Studio 2022 community edition
  • clone iir1 in your root directory: https://github.com/berndporr/iir1 and compile it (release version)
  • Download the open source version of QT5, 64 bits, 5.15 LTS for visual C++ 2019 from www.qt.io.
  • git clone https://github.com/glasgowneuro/attys-comm.git and compile it
  • git clone https://github.com/glasgowneuro/attys-scope.git
  • Edit attys-scope.pro and adjust the path variables so that they point to attys-comm and the IIR libary
  • Run qmake -tp vc in the x64 terminal of VS
  • Open the .sln file
  • Open VS and then re-target the project (right click on attys_scope in the Solutions Explorer -> Retarget Projects)
  • Build solution
  • go to the "release" subdirectory
  • run "windeployqt attys-scope.exe" which copies all the DLLs into this directory which are needed to run the app
  • Install "Microsoft Visual Studio Installer Projects" via VS->Extensions and build the msi installer which will be in the "installer" subdirectory.

Post- and realtime processing in Python

Check out the python subdirectory. This contains scripts for both postprocessing of datafiles and realtime processing.