utracerJS, utracer6, with pos grid board, grid Rsence calabration issue

39 views
Skip to first unread message

Never Mind

unread,
Sep 4, 2024, 10:37:45 AM9/4/24
to uTracer
During GRID Rsence calibration i noted the following.
Edit the value for GRID Rsence under calibration.
Save to EEprom file.
Opening the EEprom file with a test editor shows the new value of GRID Rsence.

Flush cash and close WEB browser
Close the web server.

Reopen web server
Open web browser and go to local ip address to open utracerJS
Go the calibration page. Value for GRID Rsenceis still at default value.
Click restore from eeprom file. Value for GRID Rsence is still at default value

Seems the value for GRID Rsence is not being read from EEprom file.
The above makes calibration of a utracer6 grid current measurements impossible.
It also prevents use of the lower grid current range in utracer6

Bob J.

Ihor

unread,
Sep 4, 2024, 2:41:09 PM9/4/24
to uTracer
Apparently it is some Windows 10 specific problem. I have not noticed it before because I do not use windows, and on my mac and linux uTracerJS works as it is supposed to, including that Calibration tab. You can see that even on this live demo page that runs on linux http://utracer.boffin.nl/calib so any changes there are staying as they should even after the page refresh. 

I finally tested it on windows and indeed it does not keep the values, even though they are correctly send to the server and saved. Restarting uTracerJS picks them up not not the page refresh. There are apparently lots of reports of that problem with respect to windows 10 and caching online on all possible forums and tons of solutions that are proposed, which also are not universal at all and are sort of hacks :) After quickly trying about 5 of them, nothing worked, so when I find a good solution I will let you know.  

Never Mind

unread,
Sep 5, 2024, 4:19:30 AM9/5/24
to uTracer
Ihor

Re:" Windows 10 specific problem"
Thanks for all your efforts.

I noted that the win10 WEB server in uTracerJS exits without warning sometimes when file open, close, writes are done from the web server.
I did not report it as I figured by now you had enough of me reporting stuff and it was not a road block in use.
Perhaps this is also related to the same file system issues in win10.

In win10 it's hard to believe the bugs present in basic file system functionally.
For example in the current version of win10 (what is a current version as win10 churns constantly?)  if you delete a file it will often persist to show in the file manager, you just cannot access it. 
Deleted files will also sometimes be "seen" by other programs so that file name can no longer be used, it now a "ghost" file. Reboot win10 and the file will be gone.
Incredible to me such a basic file operations are not rock solid. But you can watch movies and buy stuff online. LOL

For desktop use I run win7 for most of my computers in my lab as basic file handling is dependable unlike win10.
I only run win10 on a laptop when I have to for software that will not work under win7.

I run Alma Linux for file servers but have never gotten around to using Linux on a desktop as all my engineering software is WIN based.
What flavor of PC Linux are you using for uTracerJS or are you just using your MAC?

For now I just accepted that grid current will be a bit inaccurate on the uTracer6.
The spice models do a poor job of modeling grid current anyway so some error in measurements will not materially degrade the spice models usefulness.

Take care
Bob J

Ihor

unread,
Sep 5, 2024, 4:35:59 AM9/5/24
to uTracer
I finally figured out the problem, at least the part of it and found the way around. So the latest version on the website should work on windows as well. Apparently the javascript based webserver that I use (within nodejs) behaves slightly different on different platforms while serving the html files. It looks like windows wants to be be the smartest and caches a lot not checking if the things are actually changed. But alt the same time I use another module from someone else who actually have to take case of that. So now I rewrote that part from scratch, substitution of the correct parameter values in html pages dynamically and got rid of that (probably not anymore maintained) javascript module. I hope there are no bugs are poping up but in the worst case it should be visible/detectable. 

I do use mac most of the time, after switching from linux (I still use it but not in a Desktop experience manner, on all possible Raspberry PI's, virtual machines, and so on, mostly for testing or running something that exists only for linux). 

" noted that the win10 WEB server in uTracerJS exits without warning sometimes when file open, close, writes are done from the web server"
I would appreciate reporting of any inconsistencies, usually it is easy to fix and it makes things better. So do not worry with reporting to much, we can jsut stick to one thread where all those bugs and suggestions are reported and discussed. Thanks! 

Cheers, 

Ihor
Reply all
Reply to author
Forward
0 new messages