3 Sep 2011 15:32
Hamlib sample programs, was Re: Unable to communicate with K3
Stephane Fillod <f8cfe <at> free.fr>
2011-09-03 13:32:40 GMT
2011-09-03 13:32:40 GMT
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)
RSS Feed