25-06-2023, 08:44 AM
Hi Nev,
the CMD batch file is used to call the python script and these can be found here: https://vk5pj.com/icom
there should be only one thing that needs to be changed in the python script (7300-power-off-com3.py) and that is the COM port value, this should match what you have set in WSJT-X. The python script is currently set to be COM3 you just need to change that value to suite your setup.
The files for Python can be found here, the package is not very big: 'https://www.python.org/download/releases/2.7/' select one of the MSI packages to suite your PC type, (x86 or X86-64)
I do not remember which package type I downloaded as it was ages ago, there are later major versions of Python around ( v3.x ) but the script was written around python 2.7 and I have not tried it on the later versions as once it was working I was happy to leave it alone. The python script is not mine and I claim no authorship of it, was found on the WWW when searching for power off scripts for icom. All I have done is adapt is version of it for power ON.
Now be aware that when running the script, it might throw you an error about a missing module, I have a vague memory of needing to add a 'module' which is quite easy to do from the CMD line (will help you through that if it occurs).
I have adapted a version for power OFF and one for power ON as I do a lot of my radio activity from a remote PC in the house and its nice to be able to do both. Not sure about the 7300 but both the 7600 and 7610 have a standby mode you can enable that makes them respond to power on commands even though the radio is 'off'
That's it for this instalment, please try the python script on its own to confirm the 7300 power's off before you go the whole hog.
the CMD batch file is used to call the python script and these can be found here: https://vk5pj.com/icom
there should be only one thing that needs to be changed in the python script (7300-power-off-com3.py) and that is the COM port value, this should match what you have set in WSJT-X. The python script is currently set to be COM3 you just need to change that value to suite your setup.
The files for Python can be found here, the package is not very big: 'https://www.python.org/download/releases/2.7/' select one of the MSI packages to suite your PC type, (x86 or X86-64)
I do not remember which package type I downloaded as it was ages ago, there are later major versions of Python around ( v3.x ) but the script was written around python 2.7 and I have not tried it on the later versions as once it was working I was happy to leave it alone. The python script is not mine and I claim no authorship of it, was found on the WWW when searching for power off scripts for icom. All I have done is adapt is version of it for power ON.
Now be aware that when running the script, it might throw you an error about a missing module, I have a vague memory of needing to add a 'module' which is quite easy to do from the CMD line (will help you through that if it occurs).
I have adapted a version for power OFF and one for power ON as I do a lot of my radio activity from a remote PC in the house and its nice to be able to do both. Not sure about the 7300 but both the 7600 and 7610 have a standby mode you can enable that makes them respond to power on commands even though the radio is 'off'
That's it for this instalment, please try the python script on its own to confirm the 7300 power's off before you go the whole hog.
Peter Sumner, vk5pj
You have enemies? Good. That means you've stood up for something, sometime in your life.
- Winston Churchill
You have enemies? Good. That means you've stood up for something, sometime in your life.
- Winston Churchill