# DataLogger Example for Linux ## About The **DataLogger** example shows how to acquire data from a supported MCC device, display the data on a strip chart, and log the data to a CSV file. This example can be run from a terminal window, or accessed with an IDE such as **CodeBlocks**. ## Dependencies - **GTK+** cross-platform toolkit for creating graphical user interfaces. - **GtkDatabox** widget used to display two-dimensional data. > Project files are supplied for **CodeBlocks**. ## Install uldaq follow the instructions on https://github.com/mccdaq/uldaq ## Install the Dependencies Install **GTK+**: ```sh sudo apt-get install libgtk-3-dev ``` Install **GTKDatabox**: ```sh cd ~ git clone https://github.com/erikd/gtkdatabox.git cd gtkdatabox ./autogen.sh ./configure sudo make install ``` > You may need to run ldconfig after installing the dependencies. ```sh sudo ldconfig ``` ## Running the example from CodeBlocks To install **CodeBlocks**, run the following in a terminal: ```sh sudo apt-get install codeblocks ``` Click `Build`, then `Run` to run the example. ## Support/Feedback Contact technical support through our [support page](https://www.mccdaq.com/support/support_form.aspx). ## More Information - GTK+: https://www.gtk.org/ - GTKDataBox: https://sourceforge.net/projects/gtkdatabox/ - CodeBlocks: http://www.codeblocks.org/ - Geany: https://www.geany.org/