LOG4OM Ft847 and double VFO

Need help? - Post here and we will find a solution for you.
Post Reply
IK7HTB
Novice Class
Posts: 7
Joined: 04 Mar 2014, 13:26

LOG4OM Ft847 and double VFO

Post by IK7HTB » 04 Jul 2018, 15:07

Hi everybody,
i have an issue using my ft847 and LOG4OM. I use this RTX for sat QSO's so i open PSTROTATOR with Omnirig and everythings works fine. If i open LOG4OM i see on the top, in the right corner, the two VFO frequencies but TX and RX are inverted!

Image

Any help will be appreciated ;)

Dave IK7HTB
Attachments
erroreLog4om.JPG
erroreLog4om.JPG (220.99 KiB) Viewed 152 times

User avatar
IW3HMH
Site Admin
Posts: 2166
Joined: 21 Jan 2013, 15:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: LOG4OM Ft847 and double VFO

Post by IW3HMH » 04 Jul 2018, 16:14

RX and TX is provided by Omnirig through a parameter that says what is the actual configuration

Configuration may be
VFO_UNKNOWN
VFO_A
VFO_B
VFO_AB
VFO_BA

Based on that log4om is able to determine what kind of radio structure you have (single or double VFO) and getting the right RX and TX frequencies, assigning VFO to the right one.
Using those data and comparison between values it's also able to detect split mode, if the flag is provided

You need to enable LOG TRACE MODE and check what the software is logging in his internal log. This is something like

"radioInfo.VfoA > 0 && radioInfo.VfoB > 0 A:" + Rig1.FreqA + " " + Rig1.Split + " RX:" + radioInfo.RxVfo + " TX:" + radioInfo.TxVfo

Based on those info i can help you checking if the INI file is correctly set or is malformed.

Do you have downloaded the latest .ini definitions from OMNIRIG website?
Daniele Pistollato - IW3HMH

IK7HTB
Novice Class
Posts: 7
Joined: 04 Mar 2014, 13:26

Re: LOG4OM Ft847 and double VFO

Post by IK7HTB » 04 Jul 2018, 16:36

Hi Daniele,
thank's for your quick replay!
I' using the .ini for the FT847 included by Codrut in PSTROTATOR installation directory. In PSTRotator the RX & TX frequencies are showed right (as you can see in the picture above). I have an inversion in LOG4OM.
This is a part of the log :

TCPServer: TCP MESSAGE OUT: RigStatusMessage CAT FREQTX B:False D:145981,11 S: --- FREQ B:False D:435160,73 S: --- BAND B:False D:0 S:2m --- MODE B:False D:0 S:PM_FM --- MODEFORLOG B:False D:0 S:FM --- CATCONNECTED B:True D:0 S: ---
2018-07-04 15:23:11.8719 TRACE: OmniRigManagement: CAT OMNIRIG -> LOG4OM MESSAGE - Informations: 145981,11 145981,11 PM_FM FM
2018-07-04 15:23:11.8889 TRACE: OmniRigManagement: Rig2.FreqA = Rig2.Freq A:145981110 PM_UNKNOWN RX:VfoB TX:VfoA
2018-07-04 15:23:11.8999 DEBUG: OmniRigManagement: CAT OMNIRIG -> LOG4OM MESSAGE FROM RIG2 PM_UNKNOWN FREQUENCY: VfoA= 145981,11 / VfoB= 435160,73 / VfoUndefined= 0 / RX= VfoB / TX= VfoA
2018-07-04 15:23:11.9139 TRACE: OmniRigManagement: CAT OMNIRIG -> LOG4OM RIG2 PM_UNKNOWN Rig2Freq: 145981110 Rig2RX: 145981110 Rig2TX: 435160730 Rig2.FreqA: 145981110 Rig2.FreqB: 435160730 Rig2.SPLIT: PM_UNKNOWN
2018-07-04 15:23:11.9219 DEBUG: OmniRigSinkClass: CAT OMNIRIG -> LOG4OM MESSAGE FROM RIG2 MODE PM_FM FM
2018-07-04 15:23:11.9289 DEBUG: TCPServer: TCP MESSAGE OUT: RigStatusMessage CAT FREQTX B:False D:145981,11 S: --- FREQ B:False D:435160,73 S: --- BAND B:False D:0 S:2m --- MODE B:False D:0 S:PM_FM --- MODEFORLOG B:False D:0 S:FM --- CATCONNECTED B:True D:0 S: ---
2018-07-04 15:23:11.9359 TRACE: OmniRigManagement: CAT OMNIRIG -> LOG4OM MESSAGE - Informations: 145981,11 145981,11 PM_FM FM
2018-07-04 15:23:11.9539 TRACE: OmniRigManagement: Rig2.FreqA = Rig2.Freq A:145981110 PM_UNKNOWN RX:VfoB TX:VfoA
2018-07-04 15:23:11.9639 DEBUG: OmniRigManagement: CAT OMNIRIG -> LOG4OM MESSAGE FROM RIG2 PM_UNKNOWN FREQUENCY: VfoA= 145981,11 / VfoB= 435160,73 / VfoUndefined= 0 / RX= VfoB / TX= VfoA

Thank's a lot in advance! ;)
Dave IK7HTB

IK7HTB
Novice Class
Posts: 7
Joined: 04 Mar 2014, 13:26

Re: LOG4OM Ft847 and double VFO

Post by IK7HTB » 04 Jul 2018, 17:09

Hi Daniele,
this is the FT847pst.ini file that works fine with the rig and pstrotator (the original of omnirig is not good for sat operation).

;-------------------------------------------------------------------------------
; Yaesu FT-847 command set
;
; File created by Bob Barrett, G8HEZ bob.barrett@ntlworld.com
; Modified by Alex VE3NEA
; Modified by Jason G4KVT 18-SEP-2014
;-------------------------------------------------------------------------------


;-------------------------------------------------------------------------------
; initialize
;-------------------------------------------------------------------------------
[INIT]
Command=00000000.00
ReplyLength=0

;-------------------------------------------------------------------------------
; set frequency
;-------------------------------------------------------------------------------
[pmFreqA]
Command=00000000.11
;32-bit BCD, unsigned, big endian
Value=0|4|vfBcdBU|0.1|00
ReplyLength=0

[pmFreqB]
Command=00000000.21
;32-bit BCD, unsigned, big endian
Value=0|4|vfBcdBU|0.1|00
ReplyLength=0

[pmFreq]
Command=00000000.01
;32-bit BCD, unsigned, big endian
Value=0|4|vfBcdBU|0.1|00
ReplyLength=0

[pmRitOffset]
;Not supported

[pmRit0]
;Not supported

[pmPitch]
;not supported

;-------------------------------------------------------------------------------
; set rit/xit/split/rx/tx
;-------------------------------------------------------------------------------
[pmSplitOn]
;not supported

[pmSplitOff]
;not supported
Command=00000000.00
ReplyLength=0

[pmVfoA]
;not supported

[pmVfoB]
;not supported

[pmVfoEqual]
;not supported

[pmVfoSwap]
;not supported

[pmVfoAA]
;not supported

[pmVfoAB]
;not supported

[pmVfoBA]
;not supported

[pmVfoBB]
;not supported

[pmRitOn]
;not supported

[pmRitOff]
;not supported

[pmXitOn]
;not supported

[pmXitOff]
;not supported

[pmRx]
Command=00000000.88
ReplyLength=0

[pmTx]
Command=00000000.08
ReplyLength=0

;-------------------------------------------------------------------------------
; set mode
;-------------------------------------------------------------------------------
[pmCW_U]
Command=0200000007
ReplyLength=0

[pmCW_L]
Command=0300000007
ReplyLength=0

[pmSSB_U]
Command=0100000007
ReplyLength=0

[pmSSB_L]
Command=0000000007
ReplyLength=0

[pmDIG_U]
;Not supported

[pmDIG_L]
;Not supported

[pmAM]
Command=0400000007
ReplyLength=0

[pmFM]
Command=0800000007
ReplyLength=0

;-------------------------------------------------------------------------------
; read status
;-------------------------------------------------------------------------------
[STATUS1]
;Get Rig Main VFO Frequ
Command=0000000003
ReplyLength=5
;32-bit unsigned BCD, big endian, in 10 Hz unints
Value1=0|4|vfBcdBU|10|0|pmFreq
;check 5 th byte for data match
Flag1 =00000000.07|00000000.00|pmSSB_L
Flag2 =00000000.07|00000000.01|pmSSB_U
Flag3 =00000000.07|00000000.02|pmCW_U
Flag4 =00000000.07|00000000.03|pmCW_L
Flag5 =00000000.07|00000000.04|pmAM
Flag7 =00000000.09|00000000.08|pmFM

[STATUS2]
Command=00000000.E7
ReplyLength=1
Flag1=80|80|pmTx

[STATUS3]
Command=00000000.F7
ReplyLength=1
Flag1=80|80|pmRx

[STATUS4]
;Get Rig SAT RX VFO Frequ
Command=0000000013
ReplyLength=5
;32-bit unsigned BCD, big endian, in 10 Hz unints
Value1=0|4|vfBcdBU|10|0|pmFreqA
;check 5 th byte for data match
Flag1 =00000000.07|00000000.00|pmSSB_L
Flag2 =00000000.07|00000000.01|pmSSB_U
Flag3 =00000000.07|00000000.02|pmCW_U
Flag4 =00000000.07|00000000.03|pmCW_L
Flag5 =00000000.07|00000000.04|pmAM
Flag7 =00000000.09|00000000.08|pmFM

[STATUS5]
;Get Rig SAT TX VFO Frequ
Command=0000000023
ReplyLength=5
;32-bit unsigned BCD, big endian, in 10 Hz unints
Value1=0|4|vfBcdBU|10|0|pmFreqB
;check 5 th byte for data match
Flag1 =00000000.07|00000000.00|pmSSB_L
Flag2 =00000000.07|00000000.01|pmSSB_U
Flag3 =00000000.07|00000000.02|pmCW_U
Flag4 =00000000.07|00000000.03|pmCW_L
Flag5 =00000000.07|00000000.04|pmAM
Flag7 =00000000.09|00000000.08|pmFM


Dave IK7HTB

User avatar
IW3HMH
Site Admin
Posts: 2166
Joined: 21 Jan 2013, 15:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: LOG4OM Ft847 and double VFO

Post by IW3HMH » 05 Jul 2018, 15:18

Issue stays somewhere in this file.
Is the original INI file reporting correct frequencies, despite "it's not good for sat mode"?
If yes, you have something inverted in the readings
Daniele Pistollato - IW3HMH

IK7HTB
Novice Class
Posts: 7
Joined: 04 Mar 2014, 13:26

Re: LOG4OM Ft847 and double VFO

Post by IK7HTB » 06 Jul 2018, 09:46

Hi Daniele, thank's for your reply.
This is the log with the original Omnirig ft847.ini and in log4om i haven't the second VFO (in the radio i have VFO A 145.... RX - VFO B 435.... TX) :

018-07-06 08:35:00.0237 DEBUG: OmniRigManagement: CAT OMNIRIG -> LOG4OM MESSAGE FROM RIG2 PM_UNKNOWN FREQUENCY: VfoA= 0 / VfoB= 0 / VfoUndefined= 145975,61 / RX= VfoUndefined / TX= VfoUndefined
2018-07-06 08:35:00.0607 TRACE: OmniRigManagement: CAT OMNIRIG -> LOG4OM RIG2 PM_UNKNOWN Rig2Freq: 145975610 Rig2RX: 145975610 Rig2TX: 0 Rig2.FreqA: 0 Rig2.FreqB: 0 Rig2.SPLIT: PM_UNKNOWN
2018-07-06 08:35:00.0727 DEBUG: OmniRigSinkClass: CAT OMNIRIG -> LOG4OM MESSAGE FROM RIG2 MODE PM_SSB_U SSB
2018-07-06 08:35:00.0837 DEBUG: TCPServer: TCP MESSAGE OUT: RigStatusMessage CAT FREQTX B:False D:145975,61 S: --- FREQ B:False D:145975,61 S: --- BAND B:False D:0 S: --- MODE B:False D:0 S:PM_SSB_U --- MODEFORLOG B:False D:0 S:SSB --- CATCONNECTED B:True D:0 S: ---
2018-07-06 08:35:00.0946 TRACE: OmniRigManagement: CAT OMNIRIG -> LOG4OM MESSAGE - Informations: 0 0 PM_SSB_U SSB
2018-07-06 08:35:00.1096 INFO: OmniRigSinkClass: Omnirig status ONLINE for rig 2
2018-07-06 08:35:00.1236 DEBUG: TCPServer: TCP MESSAGE OUT: RigStatusMessage CAT CATCONNECTED B:True D:0 S: ---

I'll investigate looking for the difference beetwen the two .ini files.
Anyway any suggest will be appreciated ;)

Dave IK7HTB

User avatar
IW3HMH
Site Admin
Posts: 2166
Joined: 21 Jan 2013, 15:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: LOG4OM Ft847 and double VFO

Post by IW3HMH » 06 Jul 2018, 16:59

So the original INI file is supporting only a single VFO, while the updated one seems working with both.

At this point there could be a flaw in the ini file (but it works with other software, so probably it's a misconfiguration somewhere)

I'll check your detailed log as soon as i can but will take a lot of time to be done without having the rig and debugger connected.
Daniele Pistollato - IW3HMH

IK7HTB
Novice Class
Posts: 7
Joined: 04 Mar 2014, 13:26

Re: LOG4OM Ft847 and double VFO

Post by IK7HTB » 08 Jul 2018, 20:31

Hi Daniele,
i think i found the solution! :)
I have trying to modify the ini file with no success. Than using the ini file of PSTRotator i found out the two button in PSTRotator, not well explained into the manual, labeled TX and RX. When i click on TX button nothing happens in PSTROTATOR but the situation TX & RX in LOG4OM is reversed! Just what i needed ;)

erroreLog4OM2.JPG
erroreLog4OM2.JPG (226.39 KiB) Viewed 89 times

Thank's a lot for your support!

Dave IK7HTB

User avatar
IW3HMH
Site Admin
Posts: 2166
Joined: 21 Jan 2013, 15:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: LOG4OM Ft847 and double VFO

Post by IW3HMH » 12 Jul 2018, 13:08

Glad to see you have found a solution :)
This is how messages are handled through Omnirig... i believe Codrut was aware of this issue or allowed users to make those changes to add flexibility...
Daniele Pistollato - IW3HMH

Post Reply