Stephane Fillod | 3 Sep 2011 15:32
Picon
Favicon

Hamlib sample programs, was Re: Unable to communicate with K3

Sab, Aug 06, 2011, D. R. Evans skribis:
[..]
> PS Ten seconds' perusal shows that the serial port stuff seems to be quite
> different in rigctl as compared to testrig. Although it's not obvious why,
> if testrig.c is using an incorrect API into the library, some sensible
> error message isn't propagated back to the user. But it does seem clear
> that the correct way to set the port parameters isn't the way that
> testrig.c does it. I've had enough of this for today (I spent essentially
> the whole day on it) so I'll get back to it sometime early in the week.

We should definitely kill testrig.c.

In lieu of this program, we ought to document on the wiki step-by-step directions
and sample source code using Hamlib library for the following languages/environements:
 * C
 * Python
 * Tcl
 * Perl
 * VB & .NET

The C example can derived from a stripped down rigctl.
The Python/Tcl/Perl may come from {python,tcl,perl}test.{py,tcl,pl}
VB & .NET: hamlibvb.bas ?

The same could be done for the Net rigctld protocol, c.f. from rigctld(8).
--

-- 
Stephane - F8CFE

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
(Continue reading)

Stephane Fillod | 3 Sep 2011 15:51
Picon
Favicon

Re: custom hamlib win 32 compile

Sab, Aug 13, 2011, Stephane Fillod skribis:
> Ven, Aug 12, 2011, Nate Bargmann skribis:
> > * On 2011 12 Aug 15:57 -0500, Marty Duplissey wrote:
> > > Could someone compile a kenwood.dll for win32 with 2 minor edits to 850.c? The
> > > edits needed are serial_handshake set to none and Stopbits set to 1. Or can
> > > someone give me step by step instructions on installing GCC or whichever
> > > compiler you need to do it. I am trying to use it with HDSDR and my TS-850.
> > > Rigctl will not talk to the 850 unless these two parameters are changed. But
> > > HDSDR has no way to change them. This is the only way I can think to solve my
> > > problem. If there is an easier way I'm all ears.
> > > Marty
> > > N5KBP
> 
> Compiling Hamlib versions with hardcoded setup for every baud rate and
> every serial parameter is definitely not the way to go. The better
> solution it to let your end-user program to set serial_handshake/stop_bits
> using rig_set_conf().
> 
> > Hi Marty.
> > 
> > I can make up a version of 1.2.14 with your needed changes and email it
> > to you later this evening.  I have grabbed the ExtIO_HamLib_v14.zip
> > archive and will look at it and see if those settings can be exposed in
> > the ExtIO_HamLib.cfg file.
> 
> The ExtIO_HamLib.cfg is definitely the way to go.

Marty, for your information, there's a new ExtIO_Hamlib V1.5 at 
 http://hdsdr.de/hardware.html

(Continue reading)

Nate Bargmann | 3 Sep 2011 16:09
Picon
Favicon
Gravatar

Re: Hamlib sample programs, was Re: Unable to communicate with K3

* On 2011 03 Sep 08:34 -0500, Stephane Fillod wrote:
> We should definitely kill testrig.c.

Probably not a bad idea if we don't intend to maintain it.  As
rigctl/rotctl already provide the source for a working example,
testrig.c seems redundant.

> In lieu of this program, we ought to document on the wiki step-by-step directions
> and sample source code using Hamlib library for the following languages/environements:
>  * C
>  * Python
>  * Tcl
>  * Perl
>  * VB & .NET
> 
> The C example can derived from a stripped down rigctl.
> The Python/Tcl/Perl may come from {python,tcl,perl}test.{py,tcl,pl}
> VB & .NET: hamlibvb.bas ?
> 
> The same could be done for the Net rigctld protocol, c.f. from rigctld(8).

The tesctld.pl and testrotctld.pl programs already exercise the ctld
programs using Perl.  I never got around to doing it with Python.

73, de Nate >>

--

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
(Continue reading)

Stephane Fillod | 4 Sep 2011 12:23
Picon
Favicon

Re: icom rx7

Hi Udo,

Mar, Aug 30, 2011, Udo van den Heuvel skribis:
> Does hamlib software work well with the Icom RX7?
> I'd like to upload frequencies to program in this scanner.
> Any advice on tools would be very welcome.

Hamlib has no support yet for the Icom RX7. It could, as long as
the control protocol of the scanner is documented. Do you have
such documentation in the scanner manual?

The protocol might be Icom's CI-V, but most often, the protocol is a kind
of proprietary memory dump as found for "clonable" rigs. In that case,
the CHIRP http://chirp.danplanet.com/ might be of interest for you.

Cheers
--

-- 
Stephane

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
Udo van den Heuvel | 4 Sep 2011 13:51
Picon
Picon
Favicon

Re: icom rx7

On 2011-09-04 12:23, Stephane Fillod wrote:
> Mar, Aug 30, 2011, Udo van den Heuvel skribis:
>> Does hamlib software work well with the Icom RX7?
>> I'd like to upload frequencies to program in this scanner.
>> Any advice on tools would be very welcome.
> 
> Hamlib has no support yet for the Icom RX7. It could, as long as
> the control protocol of the scanner is documented. Do you have
> such documentation in the scanner manual?
> 
> The protocol might be Icom's CI-V, but most often, the protocol is a kind
> of proprietary memory dump as found for "clonable" rigs. In that case,
> the CHIRP http://chirp.danplanet.com/ might be of interest for you.

Thanks for pointing out chirp. Chirp might need some work to communicate
well with the RX7 but we'll find out soon.

The RX7 instruction manual, chapter 10 "control command", lists the few
commands that the CI-V interface accepts (aside from cloning etc).
See http://www.icomamerica.com/en/downloads/default.aspx?Category=191
for the manual.

Kind regards,
Udo

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
(Continue reading)

Stephane Fillod | 5 Sep 2011 14:38
Picon
Favicon

Re: icom rx7

dim, Sep 04, 2011, Udo van den Heuvel skribis:
> On 2011-09-04 12:23, Stephane Fillod wrote:
> > Mar, Aug 30, 2011, Udo van den Heuvel skribis:
> >> Does hamlib software work well with the Icom RX7?
> >> I'd like to upload frequencies to program in this scanner.
> >> Any advice on tools would be very welcome.
> > 
> > Hamlib has no support yet for the Icom RX7. It could, as long as
> > the control protocol of the scanner is documented. Do you have
> > such documentation in the scanner manual?
> > 
> > The protocol might be Icom's CI-V, but most often, the protocol is a kind
> > of proprietary memory dump as found for "clonable" rigs. In that case,
> > the CHIRP http://chirp.danplanet.com/ might be of interest for you.
> 
> Thanks for pointing out chirp. Chirp might need some work to communicate
> well with the RX7 but we'll find out soon.

According to the manual, the CS-RX7 software relies on .icf files, which Chirp
can grok for other models. Don't know though how compatible the format
could be.

> The RX7 instruction manual, chapter 10 "control command", lists the few
> commands that the CI-V interface accepts (aside from cloning etc).
> See http://www.icomamerica.com/en/downloads/default.aspx?Category=191
> for the manual.

Well, at least these commands are now supported in Hamlib (into git
repo and daily snapshot), and will be available in next release.

(Continue reading)

Udo van den Heuvel | 5 Sep 2011 16:52
Picon
Picon
Favicon

Re: icom rx7

On 2011-09-05 14:38, Stephane Fillod wrote:
>> The RX7 instruction manual, chapter 10 "control command", lists the few
>> commands that the CI-V interface accepts (aside from cloning etc).
>> See http://www.icomamerica.com/en/downloads/default.aspx?Category=191
>> for the manual.
> 
> Well, at least these commands are now supported in Hamlib (into git
> repo and daily snapshot), and will be available in next release.

That is good news.
But these commands do not allow me to program a number of frequencies,
or do they?
If not my hope is on chirp to allow me to dump a CSV into the RX7.

Kind regards,
Udo

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
jarmo | 8 Sep 2011 16:50
Picon
Picon
Favicon

Hamlib and Kenwood ts-440

Hi

I have tried to get hamlib working with my ts-440. No luck this far.
Running Fedora 15 and hamlib version is hamlib-1.2.12-3.fc15.i686.
Have tried also 1.2.14 version, compiled it and installed. I have 
DigiMaster USB IF232 CAT interface In use. I can communicate with 
radio using Minicom.
Now, here's some info

rigctl -vvvvv -m 202 -r /dev/ttyUSB0 
rigctl, Hamlib 1.2.14
Report bugs to <hamlib-developer <at> lists.sourceforge.net>

rig:rig_init called 
rig: loading backend kenwood
initrigs2_kenwood called
rig_register (213)
rig_register (201)
rig_register (225)
rig_register (203)
rig_register (204)
rig_register (216)
rig_register (224)
rig_register (205)
rig_register (207)
rig_register (209)
rig_register (210)
rig_register (222)
rig_register (214)
rig_register (230)
(Continue reading)

Nate Bargmann | 9 Sep 2011 03:33
Picon
Favicon
Gravatar

Re: Hamlib and Kenwood ts-440

* On 2011 08 Sep 16:38 -0500, jarmo wrote:
> Hi
> 
> I have tried to get hamlib working with my ts-440. No luck this far.
> Running Fedora 15 and hamlib version is hamlib-1.2.12-3.fc15.i686.
> Have tried also 1.2.14 version, compiled it and installed. I have 
> DigiMaster USB IF232 CAT interface In use. I can communicate with 
> radio using Minicom.

Hi Jarmo.

What serial rate is your TS-440/IC-10 set to?  I see that the backend
has a minimum rate of 1200 bps and a maximum of 4800 bps.  With no
serial rate given on the command line, rigctl defaults to the highest
rate supported by the backend.  Since it is working in minicom, I
presume that you're using 8 data bits and 2 stop bits (backend default),

There was a patch applied to the backend prior to 1.2.14 that changed
the IF command length from 29 to 38 characters.  As you're seeing the
same issue in 1.2.12, I think we can ingore that patch for the moment.

73, de Nate >>

--

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

(Continue reading)

SourceForge.net | 9 Sep 2011 22:48
Picon

[ hamlib-Patches-3406922 ] Kenwood TS-2000 memory and csv memory load

Patches item #3406922, was opened at 2011-09-09 20:48
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=308305&aid=3406922&group_id=8305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Kenwood TS-2000 memory and csv memory load

Initial Comment:
Hi,
Needed that, so I had to create the code. My patch allows for memory reading and writing for Kenwood TS-2000.
It also allows for loading csv (comma-separated values) files with rigmem.
This is my first experience with hamlib programming, so I expect there are some errors in my procedures
(though they work fine for me), but I'll be happy to correct them if I can.
Cheers,
Dariusz, SQ9KEJ

----------------------------------------------------------------------

You can respond by visiting: 
(Continue reading)


Gmane