wind101net / atmo

Wind Data Logging software for Anemometers designed to provide an accurate and affordable plug-&-play solution for wind site evaluation and wind generator performance. Compatible with Atmo Anemometer Wind Sensors and Atmo Wind Data Logger. Features live anemometer wind data plotting, wind speed database, automatic Weibull analysis and live WEB streaming of anemometer data. Atmo v2.0 will be available for download on http://wind101.net
http://www.baranidesign.com/atmo.html
Other
9 stars 3 forks source link

Atmo doesn't show DAQ is connected with Turkish Regional Settings #40

Closed baranidesign closed 13 years ago

baranidesign commented 13 years ago

Upon connecting DAQ to computer, SD card would show up in Windows, but the logger or anemometers would not show up...the logger time did not show up either. _CAUSE/FIX:_ We just changed the regional settings from Turkish to English and than every thing is ok.

aarondandy commented 13 years ago
  1. Need to see if I can reproduce this by setting my language to that
  2. Need to see if I can fix it by changing the text encoding rules.
aarondandy commented 13 years ago

Root of the problem appears to be that "Atmo.Daq.Win32.PicHidUsbConnection.FindDevicePath()" is complete dookie. It needs to:

  1. match the thread culture as the usage of Encoding.Unicode.GetString(,,) is probably wrong.
  2. be re-factored for sure.
  3. be called less often, as it is slow!
aarondandy commented 13 years ago

I think I may have fixed this but I don't currently have a way to test it. It is not just an issue with Turkish (although I found a separate issue that is) but is an issue with Turkish on older versions of Windows. Can you confirm if this person was using windows XP? I will keep working this issue with that assumption.

baranidesign commented 13 years ago

He was using windows 7 Professional 64bit...please make a build and i will have him test it.

aarondandy commented 13 years ago

I did change the part that I thought may cause this issue, but when I changed my Win7 x64 to Turkish I had no problem tp begin with so I am not certain this will fix it, but I don't have anything else to go on. I do however have an EN build of windows, maybe that is the difference...

baranidesign commented 13 years ago

Turkish issues are fixed...now Atmo 2 powered anemometers can spin anywhere

in the world :-)

On Sat, Nov 26, 2011 at 19:41, Aaron Dandy < reply@reply.github.com

wrote:

I did change the part that I thought may cause this issue, but when I changed my Win7 x64 to Turkish I had no problem tp begin with so I am not certain this will fix it, but I don't have anything else to go on. I do however have an EN build of windows, maybe that is the difference...


Reply to this email directly or view it on GitHub: https://github.com/wind101net/atmo/issues/40#issuecomment-2883179

baranidesign commented 12 years ago

Aaron, Can you just give me an update as to when you could have the next beta release. Thank you, Jan