-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9053e57
commit b5a542e
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.