Skip to content

PurdueBajaRacing/LabJack-Dyno-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 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'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!

Currently closes the file after every write (which is wasteful). Consider whether it's better to only close files on occasion.


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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Languages