Skip to content

Commit

Permalink
added standalone folder
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwrath1223 committed Dec 19, 2023
1 parent 9053e57 commit b5a542e
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
9 changes: 9 additions & 0 deletions standalone/HOW TO SAVE CONFIGS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- Copy the `custom config.bat`

- rename it to what this new config should do

- right click -> edit

- for any feilds you want to make constant in that configuration, remove the block that asks for user input and replace `%variable_name%` with it's new value.

- SAVE
46 changes: 46 additions & 0 deletions standalone/custom config.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
@echo off
echo ----------------------------------
set /p ip_addr= "Enter IP address of GPIB adapter: "
echo ----------------------------------
echo %ip_addr%
echo ----------------------------------

echo ----------------------------------
set /p gpib_addr= "Enter GPIB address of HP606n device: "
echo ----------------------------------
echo %gpib_addr%
echo ----------------------------------

echo ----------------------------------
set /p discharge_current= "Enter discharge current: "
echo ----------------------------------
echo %discharge_current%
echo ----------------------------------

echo ----------------------------------
set /p file_name= "Enter name of output file excluding `.csv`: "
echo ----------------------------------
echo %file_name%
echo ----------------------------------

echo ----------------------------------
set /p poll_rate= "Enter polling rate (queries per minute): "
echo ----------------------------------
echo %poll_rate%
echo ----------------------------------

echo ----------------------------------
set /p cutoff_voltage= "Enter cutoff voltage (voltage to stop discharging once reached): "
echo ----------------------------------
echo %cutoff_voltage%
echo ----------------------------------

echo ----------------------------------
set /p current_range= "Enter current range (see your device's manual to find what range best fits your desired current draw): "
echo ----------------------------------
echo %current_range%
echo ----------------------------------

hp606n-battery-tester.exe --ip-string "%ip_addr%" --gpib-addr %gpib_addr% --discharge-current %discharge_current% --output-file %file_name%.csv --polling-rate %poll_rate% --cutoff-voltage %cutoff_voltage% --current-range %current_range%

pause
Binary file added standalone/hp606n-battery-tester.exe
Binary file not shown.

0 comments on commit b5a542e

Please sign in to comment.