From: Jim Shaffer <jjs78660@gm...> - 2013-06-21 16:11:04
I had posted a problem I'm having with rig_get_level() with my TS-590. I
did have an error in that earlier post where I wasn't generating the level
parameter correctly. I have fixed that, but with no good results. On my
Windows Vista system, using the 32-bit hamlib version 126.96.36.199, I get the
"feature not available" return for most level values, "Communication Timed
out" for some, and "Invalid Parameter" for a few others. I can be more
specific about the values and responses if needed. I'm confident of my
parameters, because I'm able to successfully read many other values from the
rig, current VFO and frequency for example.
One interesting value, rig_level_meter (1<<20), gives my "Invalid
Parameter". I notice the comment in rig.h says to see the meter_level_e
enumeration. I'm not sure what is meant here?
Using the "dummy" rig, I only get "Feature not available" for a level value
of 0x08000000, and no other errors.
I did notice that, looking at kenwood_get_level(), it returns all readings
for the current VFO. Also, the rig command used to read the meter value is
"SM", and it should be "SM0". Other commands look ok.
Has anyone successfully used rig_get_level() on this radio? I am willing to
share my code with whoever wants to look at it. It's a C# test program.
Jim Shaffer, KE5AL