Release: ThetisIPCat

Post Reply
User avatar
oe3ide
Posts: 423
Joined: Tue May 05, 2020 8:36 am
Location: JN78XK
Contact:

Release: ThetisIPCat

Post by oe3ide »

Hi,

just made a commandline tool for sending CAT-Commands via TCP/IP to Thetis:
https://www.oe3ide.com/sdm_downloads/thetisipcat/

Usage:
Just call the program. The ini-file (thetisipcat.ini) will be auto-generated in the same directory as the exe. Adjust IP & Port.

Examples:

Code: Select all

thetisipcat.exe /ZZFA00014250000 /ZZSP1 /ZZFB00014260
cmd interface.jpg
cmd interface.jpg (81.7 KiB) Viewed 9532 times
You can parse the output ("returndata:") for reading the returned data from Thetis

Have fun :-)

73 Ernst
ea3aqr
Posts: 313
Joined: Mon Mar 04, 2019 10:50 pm
Location: BCN

Re: Release: ThetisIPCat

Post by ea3aqr »

Thanks Ernst!

Could you post an script to to change PTT state from OFF to ON or ON to OFF in just one key stroke?

Is that possible with your tool?
New call sign EA3CL
User avatar
w-u-2-o
Posts: 6024
Joined: Fri Mar 10, 2017 1:47 pm

Re: Release: ThetisIPCat

Post by w-u-2-o »

Very handy, Ernst!

Would the source code be available for download?

73,

Scott
User avatar
oe3ide
Posts: 423
Joined: Tue May 05, 2020 8:36 am
Location: JN78XK
Contact:

Re: Release: ThetisIPCat

Post by oe3ide »

Hi,

make a cmd-file, like:

ptton.cmd
c:\yourpath\thetisipcat.exe /ZZTX1

pttoff.cmd
c:\yourpath\thetisipcat.exe /ZZTX0

73 Ernst
User avatar
oe3ide
Posts: 423
Joined: Tue May 05, 2020 8:36 am
Location: JN78XK
Contact:

Re: Release: ThetisIPCat

Post by oe3ide »

w-u-2-o wrote:Very handy, Ernst!

Would the source code be available for download?

73,

Scott
Sure ;-)
https://github.com/oe3ide/ThetisIPCat

73 Ernst
ea3aqr
Posts: 313
Joined: Mon Mar 04, 2019 10:50 pm
Location: BCN

Re: Release: ThetisIPCat

Post by ea3aqr »

oe3ide wrote:Hi,

make a cmd-file, like:

ptton.cmd
c:\yourpath\thetisipcat.exe /ZZTX1

pttoff.cmd
c:\yourpath\thetisipcat.exe /ZZTX0

73 Ernst
Looks like I'm not explaining myself well enough...

I would like to know if we can have a batch file assigned to a keystroke than can acts exactly like "space" bar on Thetis that togles ON/OFF my PTT.

I know I can use 2 .bat files but this is not what I'm looking for...

Can you explain in depth how to parse the output ("returndata:") for reading the returned data from Thetis


Thanks
New call sign EA3CL
User avatar
w-u-2-o
Posts: 6024
Joined: Fri Mar 10, 2017 1:47 pm

Re: Release: ThetisIPCat

Post by w-u-2-o »

oe3ide wrote:
w-u-2-o wrote:Very handy, Ernst!

Would the source code be available for download?

73,

Scott
Sure ;-)
https://github.com/oe3ide/ThetisIPCat

73 Ernst
Thanks Ernst! :)
w9mdb
Posts: 465
Joined: Sun Apr 09, 2017 5:53 pm

Re: Release: ThetisIPCat

Post by w9mdb »

You can do the same with Hamlib's rigctl (rigctl-wsjtx or rigctl-jtdx).

Freq
rigctl -m 2048 --vfo -r 127.0.0.1:13013 f VFOA
18100000
rigctl -m 2048 --vfo -r 127.0.0.1:13013 m VFOA
PKTUSB
3050
rigctl -m 2048 --vfo -r 127.0.0.1:13013 get_vfo_info VFOA
18100000
PKTUSB
3050
Turn PTT on
rigctl -m 2048 --vfo -r 127.0.0.1:13013 T 1
Turn PTT off
rigctl -m 2048 --vfo 127.0.0.1:13013 T 0
PTT status
rigctl -m 2048 --vfo 127.0.0.1:13013 t
Mike W9MDB
w9mdb
Posts: 465
Joined: Sun Apr 09, 2017 5:53 pm

Re: Release: ThetisIPCat

Post by w9mdb »

If we already have the space bar in Thetis why do you want it in another window?

I was thinking about making a utility with programmable/movable buttons that you could assign to commands like this with keyboard shortcuts too.
Mike W9MDB
User avatar
oe3ide
Posts: 423
Joined: Tue May 05, 2020 8:36 am
Location: JN78XK
Contact:

Re: Release: ThetisIPCat

Post by oe3ide »

ea3aqr wrote:
oe3ide wrote:Hi,

make a cmd-file, like:

ptton.cmd
c:\yourpath\thetisipcat.exe /ZZTX1

pttoff.cmd
c:\yourpath\thetisipcat.exe /ZZTX0

73 Ernst
Looks like I'm not explaining myself well enough...

I would like to know if we can have a batch file assigned to a keystroke than can acts exactly like "space" bar on Thetis that togles ON/OFF my PTT.

I know I can use 2 .bat files but this is not what I'm looking for...

Can you explain in depth how to parse the output ("returndata:") for reading the returned data from Thetis


Thanks
You could place a shortcut on the desktop and assign a keystroke.

Parsing: Could be done via PowerShell (never tried it):
https://stackoverflow.com/questions/205 ... and-output

73 Ernst
User avatar
oe3ide
Posts: 423
Joined: Tue May 05, 2020 8:36 am
Location: JN78XK
Contact:

Re: Release: ThetisIPCat

Post by oe3ide »

w9mdb wrote:You can do the same with Hamlib's rigctl (rigctl-wsjtx or rigctl-jtdx).

Freq
rigctl -m 2048 --vfo -r 127.0.0.1:13013 f VFOA
18100000
rigctl -m 2048 --vfo -r 127.0.0.1:13013 m VFOA
PKTUSB
3050
rigctl -m 2048 --vfo -r 127.0.0.1:13013 get_vfo_info VFOA
18100000
PKTUSB
3050
Turn PTT on
rigctl -m 2048 --vfo -r 127.0.0.1:13013 T 1
Turn PTT off
rigctl -m 2048 --vfo 127.0.0.1:13013 T 0
PTT status
rigctl -m 2048 --vfo 127.0.0.1:13013 t
Yes correct. But I guess not for Thetis-specific CAT-commands.

73 Ernst
w9mdb
Posts: 465
Joined: Sun Apr 09, 2017 5:53 pm

Re: Release: ThetisIPCat

Post by w9mdb »

rigctl -m 2048 --vfo 127.0.0.1:13013 W ZZFA; 16
rigctl -m 2048 --vfo 127.0.0.1:13013 W ZZFA00014250000; 0

The W command writes raw data and take the # of bytes expected in the return.
Mike W9MDB
Post Reply

Return to “Digital Mode, Rig Control & Logging Software”