Assists in static fire testing of our solid motor.
To support static fire tests, this project streams data from the LabJack T7 and logs it to a CSV file. In the current version, it streams from two analog pins to collect load cell and pressure transducer data. The code in main.cpp
adapts example code from LabJack (https://github.com/labjack/C_CPP_LJM), and the files in lib/
are modified from some header files provided by the LJM library.
cmake
LJM library
(https://labjack.com/pages/support?doc=/software-driver/installer-downloads/ljm-software-installers-t4-t7-digit/)
- Pressure Transducer: AIN1
- Load Cell: AIN2 with AIN3 as negative channel
These AIN channels can be changed in
CHANNEL_NAMES
inmain()
and inaNames
andaValues
inHardcodedConfigureStream()
.
- Create a top-level
build/
directory - Run
cmake ..
from withinbuild/
- Run
make
- Run
./solid