Skip to content

PurdueBajaRacing/LabJack-Dyno-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LabJack-Dyno-Code

Usage

  1. You'll want to download and install the Normal LJM Installer
  2. You can find packaged .exes under "Releases" (right-hand side, I hope you're running Windows!). Download and run it (if a SmartScreen warning comes up, hit "Run Anyway").
  3. Assuming the Labjack is found (you'll see warnings if you don't), you should see a "Start" and "Stop" button. I really hope you can guess which button to press to start recording data.
  4. The data files will be saved AFTER recording is stopped (it may take a moment to finish saving, there's quite a bit of cleanup in the background). It'll be in a data folder in the same place as the .exe file.

To-Dos and Notes

  • Test it with a potentiometer (actually screwed in)
  • Test with the load cell
  • Upload .exe files to releases
  • Test .exes with other computers

Should be ready for v0.1 soon!

Because all of the data is stored in memory, you shouldn't run tests too long.


Environment Setup and Packaging (if you're making changes)

Make a virtual environment and run pip install -r requirements.txt

To package, run pyinstaller --onefile --noconsole --name CobraLJTool -i icon.ico main.py

Using UPX compression can be useful to reduce file size

About

Python script that interfaces with a LabJack-T7 for Purdue Baja Racing's Dynamometer

Resources

Stars

Watchers

Forks

Contributors

Languages