WBN: Restartable Server Operation for Elecraft

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

WBN: Restartable Server Operation for Elecraft

Gary Johnson
Here’s a partial solution which was mentioned some time ago: Create a .bat file that calls the utility. Here are the ones I use that launch the KPA500 and KAT500 apps and assign a baud rate, port number, and timeout. I don’t know if other parameters are possible. And I don’t know how to keep the amp from turning on at launch.  To run a batch file at startup, put a shortcut to it in your Startup folder.

rem Run the KPA500 remote control server, with parameters
cd C:\Program Files (x86)\Elecraft\KPA500 Remote\
start /MIN KPA500-Remote.exe COM2 38400 4626 500

rem Run the KAT500 remote control server, with parameters
cd C:\Program Files (x86)\Elecraft\KAT500 Remote\
start /MIN KAT500-Remote.exe COM2 38400 4627 500

-Gary NA6O

>
> It would be nice if KPA500 Remote, KAT500 Remote, and KPA1500 Remote could
> be set up to operate as *automatically restartable servers*. I don't think
> they can do this today, but if I'm wrong, someone please enlighten me!
>
> Here's the scenario: These apps all have Host Remote capability. When
> enabled, they listen for connection from a client-side instance of the same
> app. But it takes two or three mouse clicks to set this up AFTER launching
> the server-side programs. If the server computer on which they run suffers
> a power failure, it can reboot automatically when power is restored (not
> all computers will do this, but many can). However, it's necessary to
> restart the app manually, tell it to start hosting, and, at least for
> KPA1500, turn the amp back off since the app turns it on during its
> initialization process. It would be nice if they had a setting that means
> "Automatically go into remote hosting mode and turn OFF the device (or
> don't turn it on) upon startup." Then, unattended power failures would be
> largely transparent to the control-side user.
>
> 73,
>
> /Rick N6XI
>

______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: WBN: Restartable Server Operation for Elecraft

Rick Tavan-2
Thanks, Gary. Yes, I know how to automatically start an app when the
computer powers up. And KPAxxx Remote remembers the communication
parameters that you illustrate anyway. The problem is pushing the various
soft buttons after the app starts up, most notably Start Hosting Remote and
Power (off). I think the best solution would be two tweaks to the UI: 1) an
Auto-Start Hosting Remote checkbox and 2) a Leave Amp Power Off after
Startup checkbox. (They would be separately useful although I would use
both together.)

Alternatively, they could add such parameters to the command line. (I
didn't know there were any command line parameters. I don't find them in
the KPA1500 Rev. B1 Owners Manual or the .rtf file associated with KPA1500
Remote.) Unfortunately, these programs are considered “unsupported,
contributed utilities." But I've seen them change recently, so someone is
maintaining them.

/Rick N6XI

On Tue, Dec 17, 2019 at 7:42 AM Gary Johnson <[hidden email]> wrote:

> Here’s a partial solution which was mentioned some time ago: Create a .bat
> file that calls the utility. Here are the ones I use that launch the KPA500
> and KAT500 apps and assign a baud rate, port number, and timeout. I don’t
> know if other parameters are possible. And I don’t know how to keep the amp
> from turning on at launch.  To run a batch file at startup, put a shortcut
> to it in your Startup folder.
>
> rem Run the KPA500 remote control server, with parameters
> cd C:\Program Files (x86)\Elecraft\KPA500 Remote\
> start /MIN KPA500-Remote.exe COM2 38400 4626 500
>
> rem Run the KAT500 remote control server, with parameters
> cd C:\Program Files (x86)\Elecraft\KAT500 Remote\
> start /MIN KAT500-Remote.exe COM2 38400 4627 500
>
> -Gary NA6O
>
> >
> > It would be nice if KPA500 Remote, KAT500 Remote, and KPA1500 Remote
> could
> > be set up to operate as *automatically restartable servers*. I don't
> think
> > they can do this today, but if I'm wrong, someone please enlighten me!
> >
> > Here's the scenario: These apps all have Host Remote capability. When
> > enabled, they listen for connection from a client-side instance of the
> same
> > app. But it takes two or three mouse clicks to set this up AFTER
> launching
> > the server-side programs. If the server computer on which they run
> suffers
> > a power failure, it can reboot automatically when power is restored (not
> > all computers will do this, but many can). However, it's necessary to
> > restart the app manually, tell it to start hosting, and, at least for
> > KPA1500, turn the amp back off since the app turns it on during its
> > initialization process. It would be nice if they had a setting that means
> > "Automatically go into remote hosting mode and turn OFF the device (or
> > don't turn it on) upon startup." Then, unattended power failures would be
> > largely transparent to the control-side user.
> >
> > 73,
> >
> > /Rick N6XI
> >
>
>

--
--

Rick Tavan
Truckee and Saratoga, CA
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to [hidden email]