Python Forum
How to use xmlrpc from flrig?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use xmlrpc from flrig?
#1
Hi
I am new to python and am looking for a simple example on how to communicate with a program called FL-RIG (Ham radio control) in XMLRPC.

The FL-RIG program supports it, and it provides these items.

main.set_frequency d:d set current VFO in Hz
main.get_version s:n returns version string
rig.get_AB s:n returns vfo in use A or B
rig.get_bw A:n return BW of current VFO
rig.get_bws A:n return table of BW values
rig.get_bwA A:n return BW of vfo A
rig.get_bwB A:n return BW of vfo B
rig.get_info s:n return an info string
rig.get_mode s:n return MODE of current VFO
rig.get_modeA s:n return MODE of current VFO A
rig.get_modeB s:n return MODE of current VFO B
rig.get_modes A:n return table of MODE values
rig.get_sideband s:n return sideband (U/L)
rig.get_notch i:n return notch value
rig.get_ptt i:n return PTT state
rig.get_power i:n return power level control value
rig.get_pwrmeter s:n return PWR out

Can someone please point me in the right direction to use XMLRPC communication in python?
I know there is a XMLRPC library, but how do I use it in this concept?

regards
Martin
Reply
#2
There are actually many XMLRPC packages available see: https://pypi.org/search/?q=XMLRPC
Where is the docuemtation located for the interface?
Is the source available?
Reply
#3
Thank you for your assistance.
I have found this library which will help me further.
https://pythonhosted.org/pyfldigi/rig.html

regards
martin
Reply
#4
mamoman Wrote:You stated: program called FL-RIG
actually, program name is: pyfldigi
more info here:
PyPi entry here: https://pypi.org/project/pyfldigi/
GitHub repository here: https://github.com/KM4YRI/pyFldigi
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 4,893 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE
  wordpress-python-xmlrpc. I can import 1 file. How do I import the entire folder? SamLearnsPython 0 3,257 Jul-05-2018, 06:21 AM
Last Post: SamLearnsPython
  XMLRPC 'client' error SamLearnsPython 19 15,816 Jul-04-2018, 11:51 AM
Last Post: SamLearnsPython
  xmlrpc.client, ServerProxy and null return thepurpleblob 0 3,038 Oct-26-2017, 10:26 AM
Last Post: thepurpleblob

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020