time-nuts@lists.febo.com

Discussion of precise time and frequency measurement

View all threads

Lady Heather Version 5 is now available

JM
John Miles
Sun, Dec 11, 2016 11:00 PM

Yeah, that's probably something we should fix.  Installation programs don't normally set that field at all.  But when Heather's initial working directory isn't in the usual Program Files hierarchy, it tries to load the .cfg file from the same directory as the executable.  This is something I do to make life easier during development.  It's not a problem in applications where the user doesn't access the .cfg or.ini file directly, but in this case different parts of the program are probably looking for the file in different places.

For now, I'd recommend installing LH under the default Program Files or Program Files (x86) subtree, just to minimize confusion.  I probably won't have a chance to tweak this behavior today, but will try to get to it this week.

-- john, KE5FX
Miles Design LLC

Look at this screen capture :

https://dl.dropboxusercontent.com/u/15089947/lh.gif

When properly set, the error disappeared. My suggestion would be to
modify the installer so that
also that field is correctly set.

Yeah, that's probably something we should fix. Installation programs don't normally set that field at all. But when Heather's initial working directory isn't in the usual Program Files hierarchy, it tries to load the .cfg file from the same directory as the executable. This is something I do to make life easier during development. It's not a problem in applications where the user doesn't access the .cfg or.ini file directly, but in this case different parts of the program are probably looking for the file in different places. For now, I'd recommend installing LH under the default Program Files or Program Files (x86) subtree, just to minimize confusion. I probably won't have a chance to tweak this behavior today, but will try to get to it this week. -- john, KE5FX Miles Design LLC > Look at this screen capture : > > https://dl.dropboxusercontent.com/u/15089947/lh.gif > > When properly set, the error disappeared. My suggestion would be to > modify the installer so that > also that field is correctly set. >
AD
Alberto di Bene
Sun, Dec 11, 2016 11:23 PM

On 12/12/2016 12:00 AM, John Miles wrote:

But when Heather's initial working directory isn't in the usual Program Files hierarchy,
it tries to load the .cfg file from the same directory as the executable.

In my case the ,cfg files was in the same directory as the executable, outside the "Program Files" hierarchy, but
apparently LH did not find it, at least not until I manually set that "Start In" field in the Properties panel.

73  Alberto  I2PHD

On 12/12/2016 12:00 AM, John Miles wrote: > But when Heather's initial working directory isn't in the usual Program Files hierarchy, > it tries to load the .cfg file from the same directory as the executable. In my case the ,cfg files was in the same directory as the executable, outside the "Program Files" hierarchy, but apparently LH did not find it, at least not until I manually set that "Start In" field in the Properties panel. 73 Alberto I2PHD
AT
Arnold Tibus
Sun, Dec 11, 2016 11:49 PM

John,
I am a none in programming, but can anybody tell me why it does work?
I tried it now several times with different settings for the time zone ...
I am running WIN7 pro 64 and the program did install in Program Files(86).
Editing the heather.cfg in this directory does have no effects ...
???

Arnold, DK2WT

Am 11.12.2016 um 23:19 schrieb John Miles:

Hmm, that doesn't make any sense at all.  Nothing should be written to \windows\system32 by the installer under any conditions.

-- john, KE5FX
Miles Design LLC

Many thanks Brian!

I found it!
In Windows 7 (10?) this file must be copied into the system32 directory
of windows in order to be read and enable the instructions to be executed.

73
Arnold DK2WT


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

John, I am a none in programming, but can anybody tell me why it does work? I tried it now several times with different settings for the time zone ... I am running WIN7 pro 64 and the program did install in Program Files(86). Editing the heather.cfg in this directory does have no effects ... ??? Arnold, DK2WT Am 11.12.2016 um 23:19 schrieb John Miles: > Hmm, that doesn't make any sense at all. Nothing should be written to \windows\system32 by the installer under any conditions. > > -- john, KE5FX > Miles Design LLC > >> Many thanks Brian! >> >> I found it! >> In Windows 7 (10?) this file must be copied into the system32 directory >> of windows in order to be read and enable the instructions to be executed. >> >> 73 >> Arnold DK2WT > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there.
N
n2lym
Mon, Dec 12, 2016 12:09 AM

Hi Arnold,

I'm running windows pro 64bit, it installed in Program Files(x86). I
made a shortcut on the desktop that points to heather.exe with the /3
switch because my lucent box is there on serial port 3.  Lady Heather
auto detected and all is well.

Many thanks to Mark and John for this great work!

73
Mike N2LYM

On Sun, Dec 11, 2016 at 06:49 PM, Arnold Tibus wrote:

John,
I am a none in programming, but can anybody tell me why it does work?
I tried it now several times with different settings for the time zone
...
I am running WIN7 pro 64 and the program did install in Program
Files(86).
Editing the heather.cfg in this directory does have no effects ...
???

Arnold, DK2WT

Am 11.12.2016 um 23:19 schrieb John Miles:

Hmm, that doesn't make any sense at all.  Nothing should be written
to \windows\system32 by the installer under any conditions.
-- john, KE5FX
Miles Design LLC

Many thanks Brian!

I found it!
In Windows 7 (10?) this file must be copied into the system32
directory
of windows in order to be read and enable the instructions to be
executed.

73
Arnold DK2WT


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Hi Arnold, I'm running windows pro 64bit, it installed in Program Files(x86). I made a shortcut on the desktop that points to heather.exe with the /3 switch because my lucent box is there on serial port 3.  Lady Heather auto detected and all is well. Many thanks to Mark and John for this great work! 73 Mike N2LYM On Sun, Dec 11, 2016 at 06:49 PM, Arnold Tibus wrote: > John, > I am a none in programming, but can anybody tell me why it does work? > I tried it now several times with different settings for the time zone > ... > I am running WIN7 pro 64 and the program did install in Program > Files(86). > Editing the heather.cfg in this directory does have no effects ... > ??? > > Arnold, DK2WT > > Am 11.12.2016 um 23:19 schrieb John Miles: >> Hmm, that doesn't make any sense at all. Nothing should be written >> to \windows\system32 by the installer under any conditions. >> -- john, KE5FX >> Miles Design LLC >> >>> Many thanks Brian! >>> >>> I found it! >>> In Windows 7 (10?) this file must be copied into the system32 >>> directory >>> of windows in order to be read and enable the instructions to be >>> executed. >>> >>> 73 >>> Arnold DK2WT >> _______________________________________________ >> time-nuts mailing list -- time-nuts@febo.com >> To unsubscribe, go to >> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts >> and follow the instructions there. > > > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to > https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. >
AT
Arnold Tibus
Mon, Dec 12, 2016 12:52 AM

Hi Mike,

my installation did work the same way as you describe, the program did
start and showed UTC -
but as I am living in another time zone and I did want to show CET (or
in german MEZ), I tried to modify this by using the config file in the
program directory and not to append the commands in the start command -
with no reaction.
Therfore I started my investigation.
As said, if I put the .cfg file in the system32 directory I can set eg.
the new time zone.
Strange, if I enable eg. the esc esc command to shut off LH, it does the
job well, but with the exception for the time zone setting, this and all
the other commands once set are not anymore to be disabled ... ?
I think this is in better hands with the experts.

Unfortunately I am not at home so I am not in the position to run LH
with my Thunderbolt, but one can start at least with the time display
functions :-)

Yes, I forgot to thank as well John for the great program, sorry John!

73
Arnold, DK2WT

Am 12.12.2016 um 01:09 schrieb n2lym:

Hi Arnold,

I'm running windows pro 64bit, it installed in Program Files(x86). I
made a shortcut on the desktop that points to heather.exe with the /3
switch because my lucent box is there on serial port 3.  Lady Heather
auto detected and all is well.

Many thanks to Mark and John for this great work!

73
Mike N2LYM

On Sun, Dec 11, 2016 at 06:49 PM, Arnold Tibus wrote:

John,
I am a none in programming, but can anybody tell me why it does work?
I tried it now several times with different settings for the time
zone ...
I am running WIN7 pro 64 and the program did install in Program
Files(86).
Editing the heather.cfg in this directory does have no effects ...
???

Arnold, DK2WT

Am 11.12.2016 um 23:19 schrieb John Miles:

Hmm, that doesn't make any sense at all.  Nothing should be written
to \windows\system32 by the installer under any conditions.
-- john, KE5FX
Miles Design LLC

Hi Mike, my installation did work the same way as you describe, the program did start and showed UTC - but as I am living in another time zone and I did want to show CET (or in german MEZ), I tried to modify this by using the config file in the program directory and not to append the commands in the start command - with no reaction. Therfore I started my investigation. As said, if I put the .cfg file in the system32 directory I can set eg. the new time zone. Strange, if I enable eg. the esc esc command to shut off LH, it does the job well, but with the exception for the time zone setting, this and all the other commands once set are not anymore to be disabled ... ? I think this is in better hands with the experts. Unfortunately I am not at home so I am not in the position to run LH with my Thunderbolt, but one can start at least with the time display functions :-) Yes, I forgot to thank as well John for the great program, sorry John! 73 Arnold, DK2WT Am 12.12.2016 um 01:09 schrieb n2lym: > Hi Arnold, > > I'm running windows pro 64bit, it installed in Program Files(x86). I > made a shortcut on the desktop that points to heather.exe with the /3 > switch because my lucent box is there on serial port 3. Lady Heather > auto detected and all is well. > > Many thanks to Mark and John for this great work! > > > 73 > Mike N2LYM > > > > > On Sun, Dec 11, 2016 at 06:49 PM, Arnold Tibus wrote: > >> John, >> I am a none in programming, but can anybody tell me why it does work? >> I tried it now several times with different settings for the time >> zone ... >> I am running WIN7 pro 64 and the program did install in Program >> Files(86). >> Editing the heather.cfg in this directory does have no effects ... >> ??? >> >> Arnold, DK2WT >> >> Am 11.12.2016 um 23:19 schrieb John Miles: >>> Hmm, that doesn't make any sense at all. Nothing should be written >>> to \windows\system32 by the installer under any conditions. >>> -- john, KE5FX >>> Miles Design LLC
JM
John Miles
Mon, Dec 12, 2016 1:26 AM

As said, if I put the .cfg file in the system32 directory I can set eg.
the new time zone.
Strange, if I enable eg. the esc esc command to shut off LH, it does the
job well, but with the exception for the time zone setting, this and all
the other commands once set are not anymore to be disabled ... ?
I think this is in better hands with the experts.

Unfortunately I am not at home so I am not in the position to run LH
with my Thunderbolt, but one can start at least with the time display
functions :-)

Yes, I forgot to thank as well John for the great program, sorry John!

You're welcome -- I'm really just the Web host here, all the good stuff is Mark's. :)

It's true that there is a copy of heather.cfg in the installation directory, but it's only stored there to make the installation a complete copy of my development directory.  (In other words, if you have Inno Setup installed on your machine, you should be able to create your own distribution of LH by running the same batch file I do to create a release.)  This copy of heather.cfg is not read by the program under normal conditions.  For the most part you should only be working with the .cfg file in your Documents folder.

From what I can see, it looks like the .cfg file will always be created in \users<your user name>\documents as intended, and accessed there as well.  As things stand, Mark's current code appears to do the right thing even if you don't install to the Program Files subtree, as long as you launch it from the shortcut and not the command prompt.  So most users should be OK with the current behavior.

My main point is, if the program is doing anything at all in the \windows\system32 folder, something has gone very wrong somewhere.  I've never seen that before, and I'm afraid I don't have any ideas to offer.  It should certainly not be looking there for the .cfg file, unless you somehow managed to install the program itself there... and even then, it still shouldn't. :-P  We'll need to see if anyone else reports similar behavior.

-- john, KE5FX
Miles Design LLC

> As said, if I put the .cfg file in the system32 directory I can set eg. > the new time zone. > Strange, if I enable eg. the esc esc command to shut off LH, it does the > job well, but with the exception for the time zone setting, this and all > the other commands once set are not anymore to be disabled ... ? > I think this is in better hands with the experts. > > Unfortunately I am not at home so I am not in the position to run LH > with my Thunderbolt, but one can start at least with the time display > functions :-) > > Yes, I forgot to thank as well John for the great program, sorry John! You're welcome -- I'm really just the Web host here, all the good stuff is Mark's. :) It's true that there is a copy of heather.cfg in the installation directory, but it's only stored there to make the installation a complete copy of my development directory. (In other words, if you have Inno Setup installed on your machine, you should be able to create your own distribution of LH by running the same batch file I do to create a release.) This copy of heather.cfg is not read by the program under normal conditions. For the most part you should only be working with the .cfg file in your Documents folder. >From what I can see, it looks like the .cfg file will always be created in \users\<your user name>\documents as intended, and accessed there as well. As things stand, Mark's current code appears to do the right thing even if you don't install to the Program Files subtree, as long as you launch it from the shortcut and not the command prompt. So most users should be OK with the current behavior. My main point is, if the program is doing anything at all in the \windows\system32 folder, something has gone very wrong somewhere. I've never seen that before, and I'm afraid I don't have any ideas to offer. It should certainly not be looking there for the .cfg file, unless you somehow managed to install the program itself there... and even then, it still shouldn't. :-P We'll need to see if anyone else reports similar behavior. -- john, KE5FX Miles Design LLC
N
n2lym
Mon, Dec 12, 2016 1:31 AM

Arnold,

I also set the time zone using the 'tz' command while LH is running.
Sorry, I forgot to mention that.

On Sun, Dec 11, 2016 at 07:52 PM, Arnold Tibus wrote:

Hi Mike,

my installation did work the same way as you describe, the program did
start and showed UTC -
but as I am living in another time zone and I did want to show CET (or
in german MEZ), I tried to modify this by using the config file in the
program directory and not to append the commands in the start command

with no reaction.
Therfore I started my investigation.
As said, if I put the .cfg file in the system32 directory I can set
eg.
the new time zone.
Strange, if I enable eg. the esc esc command to shut off LH, it does
the
job well, but with the exception for the time zone setting, this and
all
the other commands once set are not anymore to be disabled ... ?
I think this is in better hands with the experts.

Unfortunately I am not at home so I am not in the position to run LH
with my Thunderbolt, but one can start at least with the time display
functions :-)

Yes, I forgot to thank as well John for the great program, sorry John!

73
Arnold, DK2WT

Am 12.12.2016 um 01:09 schrieb n2lym:

Hi Arnold,

I'm running windows pro 64bit, it installed in Program Files(x86). I
made a shortcut on the desktop that points to heather.exe with the /3
switch because my lucent box is there on serial port 3.  Lady Heather
auto detected and all is well.

Many thanks to Mark and John for this great work!

73
Mike N2LYM

On Sun, Dec 11, 2016 at 06:49 PM, Arnold Tibus wrote:

John,
I am a none in programming, but can anybody tell me why it does
work?
I tried it now several times with different settings for the time
zone ...
I am running WIN7 pro 64 and the program did install in Program
Files(86).
Editing the heather.cfg in this directory does have no effects ...
???

Arnold, DK2WT

Am 11.12.2016 um 23:19 schrieb John Miles:

Hmm, that doesn't make any sense at all.  Nothing should be written
to \windows\system32 by the installer under any conditions.
-- john, KE5FX
Miles Design LLC


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Arnold, I also set the time zone using the 'tz' command while LH is running. Sorry, I forgot to mention that. On Sun, Dec 11, 2016 at 07:52 PM, Arnold Tibus wrote: > Hi Mike, > > my installation did work the same way as you describe, the program did > start and showed UTC - > but as I am living in another time zone and I did want to show CET (or > in german MEZ), I tried to modify this by using the config file in the > program directory and not to append the commands in the start command > - > with no reaction. > Therfore I started my investigation. > As said, if I put the .cfg file in the system32 directory I can set > eg. > the new time zone. > Strange, if I enable eg. the esc esc command to shut off LH, it does > the > job well, but with the exception for the time zone setting, this and > all > the other commands once set are not anymore to be disabled ... ? > I think this is in better hands with the experts. > > Unfortunately I am not at home so I am not in the position to run LH > with my Thunderbolt, but one can start at least with the time display > functions :-) > > Yes, I forgot to thank as well John for the great program, sorry John! > > 73 > Arnold, DK2WT > > > > > Am 12.12.2016 um 01:09 schrieb n2lym: >> Hi Arnold, >> >> I'm running windows pro 64bit, it installed in Program Files(x86). I >> made a shortcut on the desktop that points to heather.exe with the /3 >> switch because my lucent box is there on serial port 3. Lady Heather >> auto detected and all is well. >> >> Many thanks to Mark and John for this great work! >> >> >> 73 >> Mike N2LYM >> >> >> >> >> On Sun, Dec 11, 2016 at 06:49 PM, Arnold Tibus wrote: >> >>> John, >>> I am a none in programming, but can anybody tell me why it does >>> work? >>> I tried it now several times with different settings for the time >>> zone ... >>> I am running WIN7 pro 64 and the program did install in Program >>> Files(86). >>> Editing the heather.cfg in this directory does have no effects ... >>> ??? >>> >>> Arnold, DK2WT >>> >>> Am 11.12.2016 um 23:19 schrieb John Miles: >>>> Hmm, that doesn't make any sense at all. Nothing should be written >>>> to \windows\system32 by the installer under any conditions. >>>> -- john, KE5FX >>>> Miles Design LLC > > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to > https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. >
MM
Mike Millen
Mon, Dec 12, 2016 6:44 AM

On 11/12/2016 23:23, Alberto di Bene wrote:

On 12/12/2016 12:00 AM, John Miles wrote:

But when Heather's initial working directory isn't in the usual
Program Files hierarchy,
it tries to load the .cfg file from the same directory as the
executable.

In my case the ,cfg files was in the same directory as the executable,
outside the "Program Files" hierarchy, but
apparently LH did not find it, at least not until I manually set that
"Start In" field in the Properties panel.

73  Alberto  I2PHD

My problem (on W7) was a little different...

LH ran OK from the shortcut it placed on the desktop, using the
heather.cfg it placed in the \programfiles\heather directory.

When I moved that shortcut to another directory it could no longer see
the .cfg file.
I fixed it by putting another heather.cfg in the folder with the
shortcut... works fine again.

I'll try Alberto's fix instead... I'm sure it will work ok.

Mike

On 11/12/2016 23:23, Alberto di Bene wrote: > On 12/12/2016 12:00 AM, John Miles wrote: >> But when Heather's initial working directory isn't in the usual >> Program Files hierarchy, >> it tries to load the .cfg file from the same directory as the >> executable. > > > In my case the ,cfg files was in the same directory as the executable, > outside the "Program Files" hierarchy, but > apparently LH did not find it, at least not until I manually set that > "Start In" field in the Properties panel. > > > 73 Alberto I2PHD > My problem (on W7) was a little different... LH ran OK from the shortcut it placed on the desktop, using the heather.cfg it placed in the \programfiles\heather directory. When I moved that shortcut to another directory it could no longer see the .cfg file. I fixed it by putting another heather.cfg in the folder with the shortcut... works fine again. I'll try Alberto's fix instead... I'm sure it will work ok. Mike
MM
Mike Millen
Mon, Dec 12, 2016 6:50 AM

Confirmation... setting the "Start In" field to match the "Target" field
allows LH to use the heather.cfg in the Target directory, irrespective
of where the shortcut is placed.

Mike

On 12/12/2016 06:44, Mike Millen wrote:

On 11/12/2016 23:23, Alberto di Bene wrote:

On 12/12/2016 12:00 AM, John Miles wrote:

But when Heather's initial working directory isn't in the usual
Program Files hierarchy,
it tries to load the .cfg file from the same directory as the
executable.

In my case the ,cfg files was in the same directory as the
executable, outside the "Program Files" hierarchy, but
apparently LH did not find it, at least not until I manually set that
"Start In" field in the Properties panel.

73  Alberto  I2PHD

My problem (on W7) was a little different...

LH ran OK from the shortcut it placed on the desktop, using the
heather.cfg it placed in the \programfiles\heather directory.

When I moved that shortcut to another directory it could no longer see
the .cfg file.
I fixed it by putting another heather.cfg in the folder with the
shortcut... works fine again.

I'll try Alberto's fix instead... I'm sure it will work ok.

Mike

Confirmation... setting the "Start In" field to match the "Target" field allows LH to use the heather.cfg in the Target directory, irrespective of where the shortcut is placed. Mike On 12/12/2016 06:44, Mike Millen wrote: > > > On 11/12/2016 23:23, Alberto di Bene wrote: >> On 12/12/2016 12:00 AM, John Miles wrote: >>> But when Heather's initial working directory isn't in the usual >>> Program Files hierarchy, >>> it tries to load the .cfg file from the same directory as the >>> executable. >> >> >> In my case the ,cfg files was in the same directory as the >> executable, outside the "Program Files" hierarchy, but >> apparently LH did not find it, at least not until I manually set that >> "Start In" field in the Properties panel. >> >> >> 73 Alberto I2PHD >> > > My problem (on W7) was a little different... > > LH ran OK from the shortcut it placed on the desktop, using the > heather.cfg it placed in the \programfiles\heather directory. > > When I moved that shortcut to another directory it could no longer see > the .cfg file. > I fixed it by putting another heather.cfg in the folder with the > shortcut... works fine again. > > I'll try Alberto's fix instead... I'm sure it will work ok. > > Mike >
DJ
David J Taylor
Mon, Dec 12, 2016 8:53 AM

Hello Mark,

many thanks for your immense and invaluable work!

I am using the trimble thunderbold together with LH version 3 all the
last years with success, I like your program very much.
I downloaded and installed today the version 5, but I have some problems
because it looks like my windows 7 does
not get access to the heather.cfg file, what do I wrong? Anybody has an
idea how to do it right?

Many thanks

Arnold, DK2WT

---========

Arnold,

Like much software where the user needs to edit a configuration file, it's
best installed /outside/ the "Program Files" directory:

  • Create a new directory C:\Tools\
  • (optional) Set the permissions to Everyone, Full control
  • Created a new directory C:\Tools\LadyHeather\  (your choice of name)
  • Right-click the LH download, Properties.
    • If "Unblock" is present & checked, uncheck it.
  • Install LH here.

It's running correctly on my Win10/64 system.  More information:

http://planeplotter.pbworks.com/Using%20Plane%20Plotter%20on%20Windows-7%20and%20Vista

73,
David GM8ARV

SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu
Email: david-taylor@blueyonder.co.uk
Twitter: @gm8arv

Hello Mark, many thanks for your immense and invaluable work! I am using the trimble thunderbold together with LH version 3 all the last years with success, I like your program very much. I downloaded and installed today the version 5, but I have some problems because it looks like my windows 7 does not get access to the heather.cfg file, what do I wrong? Anybody has an idea how to do it right? Many thanks Arnold, DK2WT ========================================= Arnold, Like much software where the user needs to edit a configuration file, it's best installed /outside/ the "Program Files" directory: - Create a new directory C:\Tools\ - (optional) Set the permissions to Everyone, Full control - Created a new directory C:\Tools\LadyHeather\ (your choice of name) - Right-click the LH download, Properties. - If "Unblock" is present & checked, uncheck it. - Install LH here. It's running correctly on my Win10/64 system. More information: http://planeplotter.pbworks.com/Using%20Plane%20Plotter%20on%20Windows-7%20and%20Vista 73, David GM8ARV -- SatSignal Software - Quality software written to your requirements Web: http://www.satsignal.eu Email: david-taylor@blueyonder.co.uk Twitter: @gm8arv