[hpsdr] PowerSDR Radio Astronomy

Tom McDermott tom.n5eg at gmail.com
Thu Oct 16 09:15:22 PDT 2014


Hi Joe  - I tripped on this in the TAPR VNA project.

A CSV  comma separated variable file in Europe-format does not use commas
to separate variables !!!
It uses semi-colons because commas are used as the decimal-point
character.  Alternatively you can
enclose each numeric variable in double-quotes and separate with commas.

In C++ .NET the system will create a default CultureInfo based on the
locale under which the Windows OS was installed.
You can over-ride the default CultureInfo by creating a specific type.

In VS2008 syntax:

CultureInfo^ CI = gcnew CultureInfo("en-us");

Then use CI in all places where you format a variable into a string for
printing to a file ...

 ... variable.ToString(CI)  ...


-- Tom, N5EG





On Thu, Oct 16, 2014 at 4:42 AM, Joe Martin K5SO <k5so at valornet.com> wrote:

> ***** High Performance Software Defined Radio Discussion List *****
>
> G’morning Georg,
>
> Wow, okay that explains things.  I’ll take a look at the “region” option
> then and see what can be done with respect to the RA disk read/write.  I’m
> pleased that the underlying cause of the problem is revealed at least.
> Thanks for the excellent feedback and testing!
>
> I will be out of town for two weeks beginning today so I won’t be able to
> work on this until I return so please be patient.  Rest assured that
> finding a suitable resolution to the region selection issue with regard to
> the RA utility disk read/write formatting is on my “to do” list.
>
> 73, Joe K5SO
>
> On Oct 16, 2014, at 2:39 AM, georg Prinz wrote:
>
> > Good Morning Joe,
> >
> > the file I sent you was definitely written by RA utility. What we run
> into is the representation
> > of numbers in Europe. This is automatically installed, when you choose
> region and language
> > during OS installation. There is a posibility to change the location
> from Germany to US any time.
> > I tried it with the result, that PowerSDR is totally messed.
> > The solution could be to force RA utility to write and read numbers in a
> particular way independant
> > from the country/region adjustment. Or to check the number
> representation first after reading
> > the file.
> > Joe, I know this is not as simple as it looks, and it takes a lot of
> time, but this feature what you
> > made is super and it would be a pity, if it could be used in US only.
> >
> > Best regards
> > Georg
> > dl2kp
> >
> >>
> >
> >
> > --
> >
> >
> >
> > ---
> > Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus
> Schutz ist aktiv.
> > http://www.avast.com
> >
>
> _______________________________________________
> HPSDR Discussion List
> To post msg: hpsdr at openhpsdr.org
> Subscription help:
> http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
> HPSDR web page: http://openhpsdr.org
> Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20141016/01958863/attachment-0003.htm>


More information about the Hpsdr mailing list