Software for the LabTool logic analyzer and oscilloscope
C C++ Other
Latest commit f1cb7e3 Jun 22, 2016 @embeddedartists committed on GitHub Merge pull request #11 from megaknoc/fix/std_isfinite_nan
added std:: to isfinite() and nan() to fix compile errors on g++ 4.9

README.md

LabTool Software

This repository hold the software for the LabTool hardware and consist of three parts:

  1. The LabTool User Interface - a program written in Qt that is executed on a PC.
  2. The LabTool Firmware - a program that executes on the onboard LPC4370
  3. The LabTool Demo - a program that executes on the onboard LPC812

Documentation

The User's Manual and information about LabTool is found on the product page.

The code documentation can be generated with doxygen for each of the three parts.

Mailing List

There is a mailing list here where issues and questions about LabTool can be discussed.

Typical topics are:

  • Installation related problems
  • Suggested improvements
  • Bugs and problems with the code

Installation - Windows

For Windows there is an installer which can be downloaded here. It will install the LabTool User Interface and the needed drivers.

Installation - Raspberry Pi

For Raspberry Pi there are prebuilt binaries. The prerequisites are:

  • A Raspberry Pi model B (needed for the extra 256MBytes RAM)
  • A powered USB hub to be able to connect LabTool, a mouse and optionally a keyboard

If you don't have Raspbian Wheezy running already, you can download 2013-09-25-wheezy-raspbian.zip here and write it to an SD card using one of the methods described here.

After booting into Raspbian open an LXTerminal and type in these commands:

$ cd ~/Desktop
$ wget http://www.embeddedartists.com/sites/default/files/support/app/labtool/labtool_raspi_2013-10-18.tgz
$ tar -xf labtool_raspi_2013-10-18.tgz
$ cd LabTool
$ sudo cp 10-ea-labtool.rules /etc/udev/rules.d/
$ cp LabTool.desktop ~/Desktop/
$ chmod +x LabTool
$ chmod +x tools/dfu-util-0.7-binaries/linux-armel/dfu-util

Note that the exact name of the archive labtool_raspi_2013-10-18.tgz will change over time and the latest version is always available on the product page.

After installing you will have an icon on the desktop to start LabTool with.

Compiling in Windows

If you would like to compile LabTool yourself, follow the instructions for that part - User Interface, Firmware or Demo.

Compiling in Linux

Raspberry Pi is used as a reference system for Linux compilation. The instructions for building the LabTool User Interface on a Raspberry Pi are available here. Instructions for building on Ubuntu are available here.

If you use a different Linux distribution and/or hardware the Raspberry Pi instructions can give you a starting point.

Suggested Improvements

  1. More analyzers, e.g. CAN bus, I2S, 1-Wire and other custom analyzers
  2. Implement a frequency counter
  3. Implement an I2C monitor

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b my_labtool)
  3. Commit your changes (git commit -am "Added CoolFeature")
  4. Push to the branch (git push origin my_labtool)
  5. Open a Pull Request
  6. Enjoy a refreshing Diet Coke and wait