Author Topic: AJAX Updates  (Read 2696 times)

0 Members and 1 Guest are viewing this topic.

Offline Curly

  • Forecaster
  • *****
  • Posts: 603
    • Michiana Weather
AJAX Updates
« on: April 22, 2007, 11:53:45 AM »
On occasions during an update, "undefined" pops up that gets annoying after a while because of its number of characters.
Since AJAX usually updates numbers ranging from 2 to 4 digits, is there a way to change "undefined" to "---" or "***"  ?

Offline carterlake

  • Senior Contributor
  • ****
  • Posts: 243
    • CarterLake.org
Re: AJAX Updates
« Reply #1 on: April 22, 2007, 12:48:05 PM »
I know the solution for Weather Display...  :oops:

Davis VP2 6153; Weather Display (LIVE w/ Ajax); Quickcam for Notebooks Pro; Boltek w/ Nexstorm; GRLevel3; live NOAA Radio

Offline capeweather

  • Administrator
  • Forecaster
  • *****
  • Posts: 1028
    • http://www.capeweather.com
Re: AJAX Updates
« Reply #2 on: April 22, 2007, 02:13:26 PM »
I have the same problem on occasion. What is the solution for weather display? Maybe that could be implemented into vws. Curly are you using weather display or vws?

Chris
Cape Coral, Florida
Website: http://www.capeweather.com
Website: http://www.fortmyersweather.net

Offline Curly

  • Forecaster
  • *****
  • Posts: 603
    • Michiana Weather
Re: AJAX Updates
« Reply #3 on: April 22, 2007, 07:23:57 PM »
I'm using vws.

I noticed when the "undefined" shows up, the wind says  "calm". Thought maybe something like this could be implemented elsewhere.

Offline capeweather

  • Administrator
  • Forecaster
  • *****
  • Posts: 1028
    • http://www.capeweather.com
Re: AJAX Updates
« Reply #4 on: April 22, 2007, 07:31:01 PM »
I'm running VWS as well and would like to correct this somehow. Ken had some ideas on how to fix it so I guess we will have to wait until he gets back. Unless the fix for weather display will work on VWS.

Chris
Cape Coral, Florida
Website: http://www.capeweather.com
Website: http://www.fortmyersweather.net

Offline carterlake

  • Senior Contributor
  • ****
  • Posts: 243
    • CarterLake.org
Re: AJAX Updates
« Reply #5 on: April 23, 2007, 07:17:21 PM »
The fix in WD is to have the software rename the clientraw file as a temporary file.

Davis VP2 6153; Weather Display (LIVE w/ Ajax); Quickcam for Notebooks Pro; Boltek w/ Nexstorm; GRLevel3; live NOAA Radio

Offline Curly

  • Forecaster
  • *****
  • Posts: 603
    • Michiana Weather
Re: AJAX Updates
« Reply #6 on: April 23, 2007, 07:36:04 PM »
The heat index data shows  ---  during the undefined time. That's exactly what I'm looking for.
I took a stab at modifying the file but I couldn't make it work.
I really don't know what I'm doing in that area anyway, being a pre-beginner.

 

anything