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.
-
Installing Raspbian per the document above.
-
Connect an Ethernet cable to the WebDAQ and verify that you have a working connection to the internet.
-
Update your package list:
sudo apt-get update
- Download the DAQ driver:
cd ~
wget https://github.com/nwright-mcc/webdaq_raspbian/raw/master/libulwd.0.0.1-b4.tar.bz2
- Extract and install the driver:
tar -xvjf libulwd.0.0.1-b4.tar.bz2
- Run the following commands to install the library:
cd libulwd
sudo sh install.sh
- Reboot the WebDAQ system
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
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
Online Python help for the DAQ library is available at https://nwright-mcc.github.io/webdaq_raspbian/.