Lightquick Web Design - High Quality, Low Cost

LightQuick Web Design - Latest News

We have just finished a new web shop for Goodwood Antiques at goodwoodantiques.co.uk. The shop features a Joomla CMS front-end using a traditional template from Joomlashack. The on-line shop is provided using the well-respected & integrated Joomla shopping cart Virtuemart. Goodwood Antiques has a unique product range of champagne and wine racks.
You are here:
  • Decrease font size
  • Default font size
  • Increase font size
Programming problems with the steampunk cpu thermometer widget PDF Print
Saturday, 16 April 2011

thermometers-tiny.pngProgramming problems with the steampunk cpu thermometer widget.

During the recent changes to the code to read the temperatures from Speedfan I was stuck, the problem was that I was experiencing errors that I just wasn't expecting as I had not encountered them before. I thought it was my mishandling of the string functions but in actual fact I was trying to read a line from the output of the .exe that did not yet exist. A simple programming error. I am still unused to the errors that the widget runtime engine throws up so they can be confusing - to me. You know how it is with bugs until you get your head around them they can be difficult to actually 'see'. Once the bug was sorted it was all plain sailing.

I've actually made the thermometers work at least on Windows. There is a
problem with determining which sensor to use which I will overcome when
I've tested it on a few more windows machines. Speedfan provides the
temperatures in some shared memory but Speedfan misses one important bit
of information, it does not say which is which. You have to read a
separate configuration file to determine which sensors actually exist,
then assign them to each temperature 'feed'. It is complicated somewhat
by the fact that different machines can have an entirely different
number of sensors. For example, my machine has two hard drives which can
supply temperature readings whereas most will only have one.

I have used the first Speedfan sensor for GPU and the seventh for CPU
because that is how it is in my machine, other machines will be entirely
different. The sensor names are unfortunately not generic but are
specific to the hardware, so my GPU sensors are marked 'Nvidia', other
manufacturers cards may be identified differently. It might be quite
difficult to determine which to use.

Stuff to do before I am happy.

Thermometer MkI
===============
Check the mercury/alcohol pushes up the indexes - done
Make the alarm bell ring on an over-temperature (red) alarm
Check the speedfan configuration file, rename it as backup, change
speedfan startup minimised - done
Ensure any Widnows-specific code is only called when the o/s is non-Mac
Ensure any speedfan-specific code is only called when speedfan is
installed.
Check the cpu/gpu temperatures can be extracted from hardware with
differently identified sensors
Add Mac OS/X temperature code ( an unknown quantity this )
Alarm clapper state saved to preferences
Alarm clapper state restored on bell ding
Alarm cease on bell ding
If speedfan is not installed provide a pop-up with an installation link
Centigrade vs fahrenheit toggle switch to the left of the lower bracket,
determines scale &c

Move the vertical lines on the paper from right to left according to the
sampling interval
Draw the chart
Write up full instructions page on the website

Submit to yahoo widgets
Submit to other widget site

Thermometer MkII
================
allow option to display multiple thermometers for each additional sensor
a 1-8 toggle for each sensor on the top right hand side of the wooden base
switch from mercury to alcohol and vice versa
retain temperature history for each sensor in an array
bottom bar slider to show the historical temperatures in digital form


mmsblog_00116_01.png

Comments (0)Add comments

Write comment

busy
Last Updated ( Sunday, 11 September 2011 )
 
< Prev   Next >

Steampunk Yahoo Widget

How about something special for the weekend sir?

Steampunk Yahoo clock/calendar widget download

Lightquick have a nice little Yahoo widget for you to download. Steampunk Stamp WidgetClick on the image above.

Do you need a stamp with that madam?

Yahoo Widget Downloads

Download the Joomla Multi-Sit... here

Joomla Multi-Sit...

Downloads: 32
Avg. Rating:
StarStarStarStarStar(5)

Download the Steampunk Orrery... here

Steampunk Orrery...

Downloads: 1160
Avg. Rating:
StarStarStarStarStar(2)

Download the Steampunk Weathe... here

Steampunk Weathe...

Downloads: 48182
Avg. Rating:
StarStarStarStarStar(38)

Download the Cyberpunk Yahoo ... here

Cyberpunk Yahoo ...

Downloads: 3301
Avg. Rating:
StarStarStarStarStar(15)

Download the Steampunk CPU / ... here

Steampunk CPU / ...

Downloads: 7906
Avg. Rating:
StarStarStarStarStar(26)

Virtuemart Assistance

If you require assistance regarding VM or Joomla then please contact lightquick here...

Contact me here

Site Total Page Views

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday473
mod_vvisit_counterYesterday756
mod_vvisit_counterThis week473
mod_vvisit_counterThis month19125
mod_vvisit_counterAll Visitors484076

Site Last Modified

Site Last Modified:Monday 21 May 2012, 11:30

Secure Login Form

Log In / Sign Up

Find us on the FreeIndex directory under Web Designers