Skip to content

nwright-mcc/webdaq_raspbian

Repository files navigation

WebDAQ Raspbian and DAQ Library

Installing and Using Raspbian on a WebDAQ

These files and instructions enable overwriting the MCC firmware on a WebDAQ with Raspbian in order to create a customized data acquisition system. Full information is in Webdaq_Raspbian.pdf.

The DAQ driver and examples may then be installed to access the data acquisition hardware.

DAQ Library and Driver Installation

  1. Installing Raspbian per the document above.

  2. Connect an Ethernet cable to the WebDAQ and verify that you have a working connection to the internet.

  3. Update your package list:

  sudo apt-get update
  1. Download the DAQ driver:
  cd ~
  wget https://github.com/nwright-mcc/webdaq_raspbian/raw/master/libulwd.0.0.1-b4.tar.bz2
  1. Extract and install the driver:
  tar -xvjf libulwd.0.0.1-b4.tar.bz2
  1. Run the following commands to install the library:
  cd libulwd
  sudo sh install.sh
  1. Reboot the WebDAQ system

Examples

Python

The Python examples are located in the examples folder. To execute the examples, run the following commands:

  cd ~/libulwd/examples/python
  ./a_in_scan.py
  ./a_in_scan_iepe.py

C

The C examples are located in the examples folder. Run the following commands to build the examples:

  cd ~/libulwd/examples/c
  make

To execute the examples, run the following commands:

  ./AInScan
  ./AInScan_IEPE

Documentation

Online Python help for the DAQ library is available at https://nwright-mcc.github.io/webdaq_raspbian/.

Note: The DAQ module's firmware is stored in a volatile memory, therefore the firmware image will be lost when the WebDAQ system is shut down. The ulGetDeviceInventory function loads the firmware image to the module when it is invoked for the first time after system boot up. Loading the firmware image takes about 5 to 8 seconds.

About

WebDAQ Raspbian and DAQ Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •