Page 1 of 1 1
Topic Options
#127981 - 2004-10-15 08:04 PM Temperature
Jose Offline
Seasoned Scripter
*****

Registered: 2001-04-04
Posts: 693
Loc: Buenos Aires - Argentina
Hi guys!!
I am playing with KiXomatic but I cannot find any information about the temperature, ¿has anybody seen it thought WMI?

Thanks.
_________________________
Life is fine.

Top
#127982 - 2004-10-15 08:09 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
did not check yet, but it must be perf-class...
_________________________
!

download KiXnet

Top
#127983 - 2004-10-15 08:10 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
more precisely, what temp you want?
chassis or CPU?
_________________________
!

download KiXnet

Top
#127984 - 2004-10-15 08:10 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
k, direct answer. there is temperature class:
Win32_TemperatureProbe
_________________________
!

download KiXnet

Top
#127985 - 2004-10-15 08:11 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
oh, and kixomatic should be fixed to support wkix32.
_________________________
!

download KiXnet

Top
#127986 - 2004-10-15 08:22 PM Re: Temperature
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Wonder what kind of other "probes" there are.
Top
#127987 - 2004-10-15 08:24 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
returns nothing on my laptop though...
_________________________
!

download KiXnet

Top
#127988 - 2004-10-15 08:28 PM Re: Temperature
Jose Offline
Seasoned Scripter
*****

Registered: 2001-04-04
Posts: 693
Loc: Buenos Aires - Argentina
Thanks very much for your answer Jooel. U the man!!

It is weird casue in most cases I run KiXomatic result and works fine, in some others dont see any result like Win32_TemperatureProbe.

Does this happends to you too?
I am running XP pro SP1.
_________________________
Life is fine.

Top
#127989 - 2004-10-15 08:30 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
but what is this:
Win32_Property

it brings [censored] on my face like -*-
_________________________
!

download KiXnet

Top
#127990 - 2004-10-15 08:32 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
btw, for wkix32.exe compatibility, runscript would need to be like this:
Code:

Function RunScript()
$objFSO = CreateObject("Scripting.FileSystemObject")
$strTmpName = "%temp%\kixomatic_temp_script.kix"
$objScript = $objFSO.CreateTextFile($strTmpName)
$objScript.Write ($TextBox.Text+" get $")
$objScript.Close
$objShell = CreateObject("WScript.Shell")
$strCmdLine = "wkix32.exe "
$strCmdLine = $strCmdLine + '"' + $strTmpName + '"'
$nul = $objShell.Run($strCmdLine)
EndFunction

_________________________
!

download KiXnet

Top
#127991 - 2004-10-15 08:39 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
lol.
motherboard has been translated as "mother-card"...
MS has it's ways to stupid land almost as wide as IBM.
_________________________
!

download KiXnet

Top
#127992 - 2004-10-15 10:04 PM Re: Temperature
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Hehee
The PC (Politically Correct) Police are having a field day with terminology like Mother / Daughter and Master / Slave etc. Where will it end?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#127993 - 2004-10-16 02:03 AM Re: Temperature
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
Parent-child relationships should also not be PC. There are normally two parents to a child
_________________________
There are two types of vessels, submarines and targets.

Top
#127994 - 2004-10-16 03:35 AM Re: Temperature
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Two parents per child ? generally true except in Jooel's case - he's a basta child :0(, and I'm his farsha.
Top
#127995 - 2004-10-16 02:59 PM Re: Temperature
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
So, does that now make the Shawn-Jooel connection a Grand-Parent-Child relationship? ;-)
_________________________
There are two types of vessels, submarines and targets.

Top
#127996 - 2004-10-16 03:32 PM Re: Temperature
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
hmm...
iirc, it had something to do with some green plasma...
_________________________
!

download KiXnet

Top
#127997 - 2004-10-23 12:40 AM Re: Temperature
Jose Offline
Seasoned Scripter
*****

Registered: 2001-04-04
Posts: 693
Loc: Buenos Aires - Argentina
Does anyone see this as result? Cause I cannot.
Code:

Break On
$strComputer = "."
$objWMIService = GetObject("winmgmts:\\" + $strComputer + "\root\cimv2")
$colItems = $objWMIService.ExecQuery("Select * from Win32_TemperatureProbe",,48)
For Each $objItem In $colItems
"Accuracy: " + $objItem.Accuracy ?
"Availability: " + $objItem.Availability ?
"Caption: " + $objItem.Caption ?
"ConfigManagerErrorCode: " + $objItem.ConfigManagerErrorCode ?
"ConfigManagerUserConfig: " + $objItem.ConfigManagerUserConfig ?
"CreationClassName: " + $objItem.CreationClassName ?
"CurrentReading: " + $objItem.CurrentReading ?
"Description: " + $objItem.Description ?
"DeviceID: " + $objItem.DeviceID ?
"ErrorCleared: " + $objItem.ErrorCleared ?
"ErrorDescription: " + $objItem.ErrorDescription ?
"InstallDate: " + $objItem.InstallDate ?
"IsLinear: " + $objItem.IsLinear ?
"LastErrorCode: " + $objItem.LastErrorCode ?
"LowerThresholdCritical: " + $objItem.LowerThresholdCritical ?
"LowerThresholdFatal: " + $objItem.LowerThresholdFatal ?
"LowerThresholdNonCritical: " + $objItem.LowerThresholdNonCritical ?
"MaxReadable: " + $objItem.MaxReadable ?
"MinReadable: " + $objItem.MinReadable ?
"Name: " + $objItem.Name ?
"NominalReading: " + $objItem.NominalReading ?
"NormalMax: " + $objItem.NormalMax ?
"NormalMin: " + $objItem.NormalMin ?
"PNPDeviceID: " + $objItem.PNPDeviceID ?
"PowerManagementCapabilities: " + $objItem.PowerManagementCapabilities ?
"PowerManagementSupported: " + $objItem.PowerManagementSupported ?
"Resolution: " + $objItem.Resolution ?
"Status: " + $objItem.Status ?
"StatusInfo: " + $objItem.StatusInfo ?
"SystemCreationClassName: " + $objItem.SystemCreationClassName ?
"SystemName: " + $objItem.SystemName ?
"Tolerance: " + $objItem.Tolerance ?
"UpperThresholdCritical: " + $objItem.UpperThresholdCritical ?
"UpperThresholdFatal: " + $objItem.UpperThresholdFatal ?
"UpperThresholdNonCritical: " + $objItem.UpperThresholdNonCritical ?
?
Next
? 'Press Any Key to close the window'
Get $



BTW Jooel, nice detail the get$.
_________________________
Life is fine.

Top
#127998 - 2004-10-23 01:35 AM Re: Temperature
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4378
Loc: USA
I just ran it on XP SP2, with no results.
Top
#127999 - 2004-10-23 01:52 AM Re: Temperature
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4378
Loc: USA
Just googling and it appears that this is a very common problem, with no simple solution...

http://www.adminlife.com/247reference/msgs/21/106521.aspx
http://www.dotnet247.com/247reference/msgs/55/279739.aspx
http://www.experts-exchange.com/Hardware/Microchips/Q_20703955.html

Top
#128000 - 2004-10-25 08:52 PM Re: Temperature
Jose Offline
Seasoned Scripter
*****

Registered: 2001-04-04
Posts: 693
Loc: Buenos Aires - Argentina
Thanks for the test Al, pitty thought cause aint no minor variable.
It could be nice to have it in future Kixtart version as macro.





Edited by jose3 (2004-10-25 08:53 PM)
_________________________
Life is fine.

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 172 anonymous users online.
Newest Members
FlyHorton, mschwj, Barchester, Evgeniy, kvanacker
17498 Registered Users

Generated in 0.041 seconds in which 0.012 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org