Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Tinysa
- Messages
Search
Re: New tinySA-App release: Normalize and localisation bug solved
I am neither a noob nor a luddite, nor am I a programmer, but I do really like this philosophy! Thank you!
73 -Jim NU0C On Thu, 08 Oct 2020 12:02:10 -0700 "OneOfEleven" <cmoss296@...> wrote: Adding settings for the user to have to set complicates things (decimal point and field char) for them, their are often far better ways really (though not always), you can auto-detect what the file is using (by doing a quick scan of the lines in the file for one), but at the moment I've gone the easy route and set the CSV load/save functions to use the users machine locale setting. |
Re: New tinySA-App release: Normalize and localisation bug solved
Adding settings for the user to have to set complicates things (decimal point and field char) for them, their are often far better ways really (though not always), you can auto-detect what the file is using (by doing a quick scan of the lines in the file for one), but at the moment I've gone the easy route and set the CSV load/save functions to use the users machine locale setting.
I will ALWAYS avoid adding any unnecessary settings for the user to have to set/fill-in if at all possible as it gives them something else to set/get wrong and cause problems. Never let your PC software generate exception pop-up boxes on a users PC, if it does (as your CSV code was doing with the range check error exception dialogs) then the code must be fixed to never do so (you can totally screw up a PC if it gets out of hand if your software decides to throw up a 100 exception boxes in the following 2 seconds - I've had that happen and learn from it). Always assume the user is going to load a totally incompatible file (because they will at some point), always do sanity checks on every part of the data you're loading in, if their seems to be a problem with the data then let the user know so that they can either fix the error they are making or get back to you with the much needed feedback for you to fix the source coding error - treat pop-up exception dialogs as evil ;) |
Re: New tinySA-App release: Normalize and localisation bug solved
I sometimes cut some corners in my self inflicted urgency...
While you are making changes, can I kindly ask you to make the "S11" and "S21" part of the displayed graph names coming from a #define or a setting variable so I can change "S11" to "Level" in one location so Graphs.cpp can be reused without any change?? |
Re: New tinySA-App release: Normalize and localisation bug solved
Had a quick look through your CSV code and found source code problems that will cause range check error pop ups.
I'll create a new function purely for .CSV file loading/saving and fix the source coding problems at the same time later on. |
Re: New tinySA-App release: Normalize and localisation bug solved
On Thu, Oct 8, 2020 at 12:53 AM, OneOfEleven wrote:
No idea where the github line endings settings is, I just use GitHub Desktop to push any file changes.If you add a file named .gitattributes to the folder where the nanoVNA-App .git subfolder and all the working sources are located, with only one line in it with: * text=auto the line endings should become normalized and the problems will disappear over time Some of you current source files have a mix of windows line endings and linux line endings. Examples:? Graphs.cpp Unit1.cpp and my merging normalizes everything to windows line endings which confuses github compare and merg meaning I have to do all updating manually I pushed my branch containing the tinySA variant. If you search for field_sep, decimal_dot, fieldSep and decimalDot you will quickly find what I did to the regionalization of the .csv files |
Re: New FW release: THD measurement added
On Wed, Oct 7, 2020 at 09:05 AM, Michael Graves wrote:
On the touch calibration screen, you may want to put little plus signs '+' or cross hairs with a dot in the center.? An excellent idea!? I often have to go through the calibration procedure more than once before I get it right. |
Re: New tinySA-App release: Normalize and localisation bug solved
On Thu, Oct 8, 2020 at 08:28 AM, Erik Kaashoek wrote:
If OK with you I will push my branch to you so you can easily see the changes I madeYes sure. No idea where the github line endings settings is, I just use GitHub Desktop to push any file changes. |
Re: New tinySA-App.exe: Added mode, rbw and attenuation buttons
On Wed, Oct 7, 2020 at 04:52 AM, Bill Cromwell wrote:
I have been reluctant to install any of the "upgrades". I can now afford to risk one of the tinySA units to try installing the "new, improved, giant economy size" software. I am not using PC software for these yet and may decide to not use it. I will not have Windows in my home - actually my computer. So updates to exe files have no appeal unless they will run under WINE. Never had any problems updating my tinySAs or my NanoVNAs.? Go ahead and do it.? My Windows policy is very similar to yours. |
Re: New tinySA-App.exe: Added mode, rbw and attenuation buttons
On Wed, Oct 7, 2020 at 05:41 AM, Erik Kaashoek wrote:
c:\work\DFU\dfu-util? -a 0 -s 0x08000000:leave -D c:\work\VNA\tinySA\build\tinySA.bin jim@jimT450:~$ sudo dfu-util? -a 0 -s 0x08000000:leave -D tinySA_v1.0-52-g1167bde.bin |
Re: New tinySA-App release: Normalize and localisation bug solved
On Thu, Oct 8, 2020 at 01:34 AM, EB4APL wrote:
PD. Maybe Cathy could do the same in the nanoVNA-App for writing itsYes no problem. Though I don't know what's been done or anything, Erik would have to let me see the source code to see what he's done exactly. |
Re: New tinySA-App release: Normalize and localisation bug solved
Hi Erik,
toggle quoted message
Show quoted text
The version is really 1.240.5. A quick test shows that you nailed the problem when writing CSV files. The function to choose the decimal and field separators runs perfectly. This makes very easy to use these files in Excel when Windows uses this configuration. Without it, it is quite cumbersome to do the conversion. Thank you again. Ignacio EB4APL PD. Maybe Cathy could do the same in the nanoVNA-App for writing its files. It is really useful for countries which use comma as decimal separator. El 07/10/2020 a las 18:27, Erik Kaashoek escribi¨®:
New tinySA-App release --
El software de antivirus Avast ha analizado este correo electr¨®nico en busca de virus. |
Re: New FW release: THD measurement added
Eric,
I followed you video and found what I was doing incorrectly even though I was using a stylus.
One has to touch the extreme upper left hand corner and the extreme lower right hand corner to get the correct settings. I was only touching in the general area.
Thanks,
Mike N2MS
|
Re: New FW release: THD measurement added
Erik, might I make a suggestion.? On the touch calibration screen, you may want to put little plus signs '+' or cross hairs with a dot in the center.? This way people will try harder to touch that little dot.? I think this will make it clearer for people to know exactly where to touch.
-- 73, Michael, KE4EST |
to navigate to use esc to dismiss