Datasheet

Measurement Computing (508) 946-5100
3
info@mccdaq.com mccdaq.com
MCC 172
Example Programs
MCC DAQ HAT Examples
The MCC DAQ HAT Library includes example programs devel-
oped in C/C++ and Python that users can run to become familiar
with the DAQ HAT library and boards; source code is included.
Console-Based (C/C++ and Python)
Console-based examples are provided that demonstrate how
to perform FFT on a block of data, acquire synchronous data
from multiple MCC 172 HATs using shared clock and trigger
options, trigger a finite scan, and synchronously acquire data
from multiple DAQ HATs. Source code is included.
The fft_scan example is shown here.
Peak frequency and harmonics display in a terminal window
FFT data is saved to a csv file
User Interface
Example programs featuring a user interface are provided in
different formats. Examples of each are shown here.
Data Logger (C/C++)
The data logger example shows how to acquire data from the
MCC 172, display the data on a strip chart, and log the data to
a CSV file. This example can be run from the terminal.
Web Server (Python)
The web server example lets users configure acquisition options
and view acquired data from a browser window. This example
is written for Python (source included).
Configure options, plot data on a strip chart, and log data to a file
Configure options and view strip chart data from your browser