On 23/11/2014 17:26, Bill Somerville wrote:
On 23/11/2014 16:12, Michael Black wrote:
Hi Mike,
I wrote a C# program to test the get_freq on the OMNI VII and it
works just fine if I put a 10ms sleep after the command
write…otherwise it truncates at the first byte on the reply.
You probably need to do something with the BytesToRead property or
better still set the ReadTimeout property to something longer than the
500ms default. Alternatively use ReadLine and NewLine.
This program gets me the frequency on every click without fail.
If I had the source to hamlib3 I'd debug this myself.
Where can I get it?
Details here: https://sourceforge.net/p/wsjt/mailman/message/32860232/
you probably need to read other parts of the whole thread off that
message.
Mike W9MDB
73
Bill
G4WJS.
<snipped c# to avoid moderation limit>
*From:*Bill Somerville [mailto:[email protected]]
*Sent:* Saturday, November 22, 2014 3:20 PM
*To:* [email protected]
*Subject:* Re: [wsjt-devel] Hamlib OMNI VII
On 22/11/2014 18:20, Michael Black wrote:
Hi Mike,
TenTec OMNI VII not working. I normally use HRD quite
successfully but another guy reported a problem so I checked it
out…and indeed the OMNI isn't working on direct serial comm.
Not sure where the extra 8b character is coming from. Should be
a 6-char response but gets 7.
The frequency being returned is correct.
I'm not sure why you have DTR forced high, try without that and see
how it goes.
Mike W9MDB
73
Bill
G4WJS.
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\main.cpp:166)Debug: "WSJT-X v1.5.0-devel
r4627 by K1JT - Program startup"
.
.
.
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig_set_conf: rig_pathname='COM6'
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig_set_conf: serial_speed='57600'
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig_set_conf: data_bits='8'
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig_set_conf: stop_bits='1'
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig_set_conf: serial_handshake='Hardware'
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig_set_conf: dtr_state='ON'
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig_set_conf: ptt_type='None'
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:262)Debug:
HamlibTransceiver::do_start rig: "Ten-Tec TT-588 Omni VII"
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig:rig_open called
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:401)Debug:
HamlibTransceiver::init_rig rig_get_vfo current VFO
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:405)Debug:
HamlibTransceiver::init_rig rig_get_vfo current VFO = 0x1
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:645)Debug:
HamlibTransceiver::poll rig_get_vfo
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:650)Debug:
HamlibTransceiver::poll rig_get_vfo VFO = 0x1
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:657)Debug:
HamlibTransceiver::poll rig_get_freq
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
write_block(): TX 3 bytes
Sat Nov 22 18:04:09 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug: 0000 3f
41 0d ?A.
Sat Nov 22 18:04:11 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
read_string(): RX 7 characters
Sat Nov 22 18:04:11 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug: 0000 41
01 41 97 58 0d 8b A.A.X..
Sat Nov 22 18:04:11 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:40)Critical:
tt588_get_freq: unexpected length '7'
Sat Nov 22 18:04:11 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:252)Debug:
HamlibTransceiver::error_check: error: Protocol error
Sat Nov 22 18:04:11 2014
GMT(C:\JTSDK-QT\src\wsjtx\HamlibTransceiver.cpp:48)Debug:
rig:rig_close called
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel