Who can write me a wee bit of software?
#6
Hello Nev,
well the testing went well, I made a couple of tweaks but otherwise it was a success,, I watch WSJT-X exit, then after 5 seconds, JTDX, then 5 seconds later my IC-7600 turned off then the PC shut down..  I inserted some PING commands to act as delays between commands, the beauty of using PING is that it needs no extra utility too do the delay and the '-n ' value used on PING is in seconds, my final script looks like this

Code:
@echo off
rem kill off wsjt-x in case its running
  taskkill /IM wsjtx.exe /F

  ping 8.8.8.8 -n 5

rem kill off JTDX in case that's running
  taskkill /IM jtdx.exe /F

  ping 8.8.8.8 -n 5

rem turn off the icom 7600

  C:\Python27\python.exe C:\ham_radio\IC-7600\icom-power-off-com3.py

  ping 8.8.8.8 -n 5

rem shutdown after a 15 sec wait
shutdown /S /T 15

Nev, I have no way to test any CAT control on a FT-817 so you may need to find that extra peace for his puzzle as the python script I have is specific to ICOM gear.  I can send you the Python script and yes you will need some of the Python 2.7 script engine files to be copied to your PC (not a full install)
Peter Sumner, vk5pj

You have enemies? Good. That means you've stood up for something, sometime in your life.
- Winston Churchill
Reply


Messages In This Thread
RE: Who can write me a wee bit of software? - by VK5PJ - 24-06-2023, 08:52 AM

Forum Jump: