Commands VFD to sweep RPM from high RPM to low RPM. Measure analog values using USB-1608FS DAQ at each step. Record raw and summarized data.
gcc -std=c99 -g -Wall -I. -o dynoHR3 dynoHR3.c -L. -lmccusb -lm -L/usr/local/lib -lhidapi-libusb -lusb-1.0 `pkg-config --cflags --libs libmodbus`
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libhidapi-dev
sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
https://github.com/wjasper/Linux_Drivers/tree/master/USB/mcc-libusb
Get mbusd running for communications with the VFD:
sudo ./mbusd -d -L - -v 9 -p /dev/ttyUSB0 -s 9600 -m 8N2 -T 0
Hold your hat, get to a safe place, and run this:
sudo ./dynoHR3 data/no_turbine_full_run_backwards