diff --git a/standalone/HOW TO SAVE CONFIGS.txt b/standalone/HOW TO SAVE CONFIGS.txt new file mode 100644 index 0000000..7d34add --- /dev/null +++ b/standalone/HOW TO SAVE CONFIGS.txt @@ -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 diff --git a/standalone/custom config.bat b/standalone/custom config.bat new file mode 100644 index 0000000..3f17bb6 --- /dev/null +++ b/standalone/custom config.bat @@ -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 \ No newline at end of file diff --git a/standalone/hp606n-battery-tester.exe b/standalone/hp606n-battery-tester.exe new file mode 100644 index 0000000..f1be9e9 Binary files /dev/null and b/standalone/hp606n-battery-tester.exe differ