Feb-09-2023, 09:40 PM
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
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