Re: Future version 1.27 of the "World Map"
#future
With these NMEA devices the resolution comes from the chipset. As below, the time is 09h37m52s, the milliseconds value is always returned as zero. Not all NMEA sentences are returned by every device, mine doesn’t return the timestamps.
They are easy to read – just open the COM port and read the text.
$GPGLL,5006.3037,N,00507.6798,W,093752.000,A,A*47 $GPGLL,5006.3035,N,00507.6796,W,093753.000,A,A*4A $GPGLL,5006.3032,N,00507.6792,W,093754.000,A,A*4E
From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of jdow
Sent: 11 May 2022 09:37 To: main@SDR-Radio.groups.io Subject: Re: [SDR-Radio] Future version 1.27 of the "World Map" #future
time_t timeGetTime(); That has millisecond resolution - if running with mm timer set to 1 ms. Then there is the precision (100ns) timer with motherboard dependent actual resolution. I use timeGetTime() most of the time. One must handle it's roll over, of course. With time64_to work with on 64 bit builds that's not much of a problem. It is always a relative time to when the computer boots. But that offset can be backed out if critical. On 20220511 00:10:26, Simon Brown wrote:
-- - + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems. |
|
Re: Future version 1.27 of the "World Map"
#future
On 11/05/2022 09:37, jdow wrote:
time_t timeGetTime(); That has millisecond resolution - if running with mm For getting the UTC I use the precise function where it is available, which should be Windows-8 ans later. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function NowUTCprecise: TDateTime; function FTtoDateTime (const ft: TFileTime): TDateTime; type TFT = record case integer of 0: (ft: TFileTime); 1: (i64: int64); end; var ft64: TFT; dt: TDateTime; offset: TDateTime; begin ft64.ft := ft; dt := ft64.i64; dt := dt / (1E7 * 86400); offset := EncodeDate (1601, 1, 1); Result := dt + offset; end; var ft: TFileTime; begin FPreciseFT (ft); Result := FTtoDateTime (ft); end; In the initialisation use the best available: FKernel32 := LoadLibrary ('kernel32.dll'); if FKernel32 <> 0 then begin FPreciseFT := GetProcAddress (FKernel32, 'GetSystemTimePreciseAsFileTime'); if @FPreciseFT = nil then FPreciseFT := GetProcAddress (FKernel32, 'GetSystemTimeAsFileTime'); end; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Using NTP with a PPS source gives much better than 1 millisecond keeping: https://www.satsignal.eu/mrtg/harstad_ntp_2.html https://www.satsignal.eu/mrtg/stamsund_ntp_2.html A Raspberry Pi with a GPS/PPS hat can make an ideal local NTP server, for example: https://store.uputronics.com/index.php?route=product/product&path=64&product_id=81 (hit by the chip shortage). 73, David GM8ARV -- SatSignal Software - Quality software for you Web: https://www.satsignal.eu Email: david-taylor@... Twitter: @gm8arv |
|
Re: Future version 1.27 of the "World Map"
#future
jdow
time_t timeGetTime(); That has millisecond resolution
- if running with mm timer set to 1 ms. Then there is the
precision (100ns) timer with motherboard dependent actual
resolution. I use timeGetTime() most of the time. One must handle
it's roll over, of course. With time64_to work with on 64 bit
builds that's not much of a problem. It is always a relative time
to when the computer boots. But that offset can be backed out if
critical.
toggle quoted message
Show quoted text
{^_^} On 20220511 00:10:26, Simon Brown
wrote:
|
|
Re: World Map 1.2.5
jdow
Then there is the brute force attempt to open each
com port from 0 to 100.
toggle quoted message
Show quoted text
It's fugly. And it's historically not consistent from motherboard to motherboard and program to program. As I remember it there are at least two different device type GUIDs you must enumerate over to get everything. At least MIDI is a little less out there in the ozone. Then you can open com ports two different ways. One with the full \\ based URIs. I forget the details of the other way. I found the URIs were a little more reliable. By the time I was finding everything, for a customer, I felt like Wiley Coyote after a day chasing the roadrunner. {^_^} On 20220510 22:29:28, Simon Brown
wrote:
|
|
Re: Future version 1.27 of the "World Map"
#future
jdow
I presume you mean +/- 1 ms. Your phrasing was a
touch ambiguous. And that is only with the multimedia tick size
setting to 1ms. (By now setting to 0.1 ms should be allowed but I
suppose ms does not figure that's productive.
toggle quoted message
Show quoted text
{^_-} On 20220510 22:21:51, Simon Brown
wrote:
|
|
Re: World Map - Rotator COM Ports
Hi,
Prosistel uses its own protocol which you’ll not find in the World Map. At present I do not plan to add any more protocols, I really added the rotator support for myself then extended it for other Yaesu users.
Sorry, World Map is not a major rotator controller program at present.
From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of sm6fhz
Sent: 11 May 2022 08:32 To: main@SDR-Radio.groups.io Subject: Re: [SDR-Radio] World Map - Rotator COM Ports
Hi Simon and all.
-- - + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems. |
|
Re: World Map - Rotator COM Ports
sm6fhz
Hi Simon and all.
I just looked into the rotator function in World Map and concluded that
The World Map seems to connect OK to the Control Box "D" and there is some kind of data flowing. I must be missing something. Can anyone direct me to some instructions that can guide me to success. BTW I am using USR-VCOM to go from COM-port to Ethernet communication to my remote location where the rotator is situated. This is what I see in the communication monitoring window when using the ERC-Mini protocol. 73 / Ingolf, SM6FHZ |
|
Re: Future version 1.27 of the "World Map"
#future
And,
Testing my device it shows a time resolution of just one second.
From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of Simon Brown
Sent: 10 May 2022 21:36 To: main@SDR-Radio.groups.io Subject: Re: [SDR-Radio] Future version 1.27 of the "World Map" #future
Yes,
Could do that, I have such a device.
Simon Brown
From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of EA7HGL
[Edited Message Follows] Hi Simon. I have seen in the forecast of version 1.2.7 of the "World Map", an NTP client, would it be possible to implement the reading of the clock of a GPS (installed in a serial port)? It would be appreciated in areas or circumstances without internet connection . Thanks for your time. Antonio D. (EA7HGL)
- + - + - Please use https://forum.sdr-radio.com:4499/ when posting questions or problems. -- - + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems. |
|
Re: Version 3.0.26 Wobbly audio ?
Martin Ooijman
thanks for the tips
strange is that it is only sdr console
original perseus software doesn't have that problem
like sdruno and hdsr don't have that problem
but we keep looking for a solution
|
|
Re: World Map 1.2.5
Hi,
The correct way is to use SetupDiEnumDeviceInfo see https://docs.microsoft.com/en-us/windows/win32/api/setupapi/ .
Older software doesn’t use this API when installing the drivers, so I also use https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getdefaultcommconfigw which really just digs around in the registry.
Com0com and Eltira behave nicely. My recommendation is com0com.
From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of jdow
Sent: 11 May 2022 05:05 To: main@SDR-Radio.groups.io Subject: Re: [SDR-Radio] World Map 1.2.5
Remember there are at least three or four totally unrelated different means of enumerating COM ports. That makes "correctly installed" a bit if a tough call. On 20220510 11:53:25, Simon Brown wrote:
-- - + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems. |
|
Re: Future version 1.27 of the "World Map"
#future
Hi,
I can tell you that with Windows & NTP setting the time results in either 0 or 1 ms offset, it’s good. An advanced NTP client talks with several NTP servers, determines round trip latency, performs long term analysis and generally results in a 0 ms offset.
The Windows time sync runs as a service using the local system account, there will be a small amount of latency with this approach.
From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of jdow
Sent: 11 May 2022 04:44 To: main@SDR-Radio.groups.io Subject: Re: [SDR-Radio] Future version 1.27 of the "World Map" #future
You can do that using the PC version of Symmetricom's ntp client. If not that there is a full up ntp server/client for NTP out there on the web. One or both of those options should include the standard com port. The accuracy may not be all that great, though. There is a lot of latency variation with Windows. And Windows time setting granularity is 1 ms when a program has the multi-media timers active and set to 1 ms. On 20220510 10:25:09, EA7HGL wrote:
-- - + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems. |
|
Re: World Map - Rotator COM Ports
What is the rotator controller you’re talking to?
From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of Max Mucci, N5NHJ via groups.io
Sent: 11 May 2022 01:33 To: main@SDR-Radio.groups.io; SDR-Radio@groups.io Subject: Re: [SDR-Radio] World Map - Rotator COM Ports
Logs attached.
-- 73 de Max, N5NHJ (I8NHJ) one of EL2PP, 1A0KM, JT1Y, E30GA, T77V, TT8MM, T32R, K5K, XR0X, S05X, 4O3T, BS7H, K4M, PJ7E, PJ7DX, 6Y1V, C6ANA, VP5/I8NHJ, ZF2NH, KP4/N5NHJ and... -- - + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems. |
|
Re: World Map - Rotator COM Ports
OK,
Sorry – for now use a proper serial port solution, com0com works OK. I’ll list the programs I’ve tested this with later today.
FWIW it looks like there’s a timeout issue.
From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of Max Mucci, N5NHJ via groups.io
Sent: 11 May 2022 01:33 To: main@SDR-Radio.groups.io; SDR-Radio@groups.io Subject: Re: [SDR-Radio] World Map - Rotator COM Ports
Logs attached.
-- 73 de Max, N5NHJ (I8NHJ) one of EL2PP, 1A0KM, JT1Y, E30GA, T77V, TT8MM, T32R, K5K, XR0X, S05X, 4O3T, BS7H, K4M, PJ7E, PJ7DX, 6Y1V, C6ANA, VP5/I8NHJ, ZF2NH, KP4/N5NHJ and... -- - + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems. |
|
Re: World Map 1.2.5
jdow
Remember there are at least three or four totally
unrelated different means of enumerating COM ports. That makes
"correctly installed" a bit if a tough call.
toggle quoted message
Show quoted text
{o.o} On 20220510 11:53:25, Simon Brown
wrote:
|
|
Re: Version 3.0.26 Wobbly audio ?
jdow
Oddly enough you might get shorter latency with the
96ksps. If the audio buffer size is the same for the two data
rates it will fill up quicker at 96ksps. That is the ONLY reason I
can see to use 96 ksps or even 128 ksps. There are tradeoffs in
here that are worth somebody exploring. It won't be easy doing
this accurately.
toggle quoted message
Show quoted text
{^_-} On 20220510 11:03:37, Chris wrote:
|
|
Re: Future version 1.27 of the "World Map"
#future
jdow
This one looks intriguing, It has Windows driver. It
has PPS - sort of, via USB.
toggle quoted message
Show quoted text
Waterproof GPS Receiver for Laptop, USB Interface, Raspberry Pi, 27 db Gain I have NO idea why this caught be by surprise. There are people
who've done GPS using an RTL dongle. But, it did surprise me. And
it's only $35 Amazon Prime in the US. {o.o}
On 20220510 10:40:04, Siegfried
Jackstien wrote:
|
|
Re: Future version 1.27 of the "World Map"
#future
jdow
You can do that using the PC version of Symmetricom's
ntp client. If not that there is a full up ntp server/client for
NTP out there on the web. One or both of those options should
include the standard com port. The accuracy may not be all that
great, though. There is a lot of latency variation with Windows.
And Windows time setting granularity is 1 ms when a program has
the multi-media timers active and set to 1 ms.
toggle quoted message
Show quoted text
{^_^} On 20220510 10:25:09, EA7HGL wrote:
|
|
Re: Memory Scanning Function
jdow
Brought to you by the department of redundancy
department, division of needless repetition division.
toggle quoted message
Show quoted text
{o.o{ On 20220510 09:57:08, Brian Morrison
wrote:
On Tue, 10 May 2022 09:17:43 -0700 "Noel via groups.io" <pnoelw@...> wrote:On Tue, May 10, 2022 at 11:03 AM, Simon Brown wrote:Recursive (n.) : see recursiveAnd there was something else but I’ve forgotten….....he needs to scan his memory :-) |
|
Re: World Map 1.2.5
jdow
Just make sure the top checkmark on each side in the
setup dialog, "use Ports class" is ticked.
toggle quoted message
Show quoted text
{^_-} On 20220510 08:27:56, Simon Brown
wrote:
|
|
Re: World Map - Rotator COM Ports
Logs attached.
-- 73 de Max, N5NHJ (I8NHJ) one of EL2PP, 1A0KM, JT1Y, E30GA, T77V, TT8MM, T32R, K5K, XR0X, S05X, 4O3T, BS7H, K4M, PJ7E, PJ7DX, 6Y1V, C6ANA, VP5/I8NHJ, ZF2NH, KP4/N5NHJ and... |
|