English
Forum

CPU temperature with "MSAcpi_ThermalZoneTemperature" read

 

Michael
Axtmann
Hi,
knows itself someone with the "MSAcpi_ThermalZoneTemperature" from? I get not really there....
i'm I do not once sure, whether I the right make and whether the at all supported becomes!? the Program runs of course, but it standing everywhere 0 drin.
subesquent code have I ausprobiert:
 $H windows.ph
Declare TempStat#

Proc ShowTemp

    Def MSAcpi_ThermalZoneTemperature(1)
    Def Temp(1)
    Dim TempStat#,32
    Long TempStat#,0=32
    MSAcpi_ThermalZoneTemperature(TempStat#)
    Print Temp(Long(TempStat#,4)),"Active"
    Print Temp(Long(TempStat#,8)),"ActiveTripPoint"
    Print Temp(Long(TempStat#,12)),"ActiveTripPointCount"
    Print Temp(Long(TempStat#,16)),"CriticalTripPoint"
    Print Temp(Long(TempStat#,20)),"CurrentTemperature"

Endproc

Cls
Decimals 0
ShowTemp
Waitinput
 
07/30/12  
 




Dieter
Zornow
your code might utterly wrong his. you should you time with WMI befassen and then becomes the vaguely so read.

SELECT FROM MSAcpi_ThermalZoneTemperature

have straight none code parat but this lane might to that target lead
 
XProfan X2
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
07/30/12  
 



Jo is with WMI To regulate:  [...] 
 
07/31/12  
 




Michael
Axtmann
Hi,
many Thanks, with the the wmi I get now there, if I but with wmi something choose, zB.

pm& = wmi_call("Select * from Win32_Processor","Manufacturer")

then come I do not on whom String pm& ran, so I with DrawText Show can!?
with GetText$ can I Yes only a handle one Fensterobjektes inquire, but pm& lying definitiv not Window, with String$ come so did i not dran...??????

Greeting
 
08/23/12  
 



example standing:  [...] 

Rückgaben in the internen ListBoxListe!
 
08/23/12  
 




Michael
Axtmann
Hello, if I the but with of/ one "unsichtbaren" list make, then remaining my String always empty!!

pm& = wmi_call("Select * from Win32_Processor","Manufacturer")
Movehandletolist(pm&)
pmL& = Create("List", 3)
pm$ = GetString$(pmL&, 1)
print pm$

with print comes no display!
 
08/23/12  
 



Perhaps GetString$(pmL&, 0) ?

make time simply listbox$("",0) ... shows whole list...

Please Source with code-Tags post:
//sees then so from
print ...

while ...



2 kB
Hochgeladen:08/23/12
Downloadcounter130
Download
 
08/23/12  
 




Michael
Axtmann

 $H windows.ph
 $I wmi.inc
declare e%,pm&,pm$,listp&,pmL&
pm& = wmi_call("Select * from Win32_Processor","Manufacturer")
Movehandletolist(pm&)
pmL& = Create("List", 3)
pm$ = GetString$(pmL&, 0)
print pm$ + "Test Text"
waitinput
end

the wants nothing zurückliefern! The ListBox$("",0) functions always! *Verwunder*
 
08/23/12  
 




Michael
Axtmann

 $H windows.ph
 $I wmi.inc
declare e%,pm&,pm$,listp&,pmL&
pm& = wmi_call("Select * from Win32_Processor","Manufacturer")
Movehandletolist(pm&)
pmL& = Create("List", 3)
pm$ = GetString$(pmL&, 0)
print pm$ + "Test Text"
waitinput
end

sorry again with code.....
 
08/23/12  
 




Dieter
Zornow
You must indeed your list pmL& first time fill
pm& = wmi_call("Select * from Win32_Processor","Manufacturer")
Movehandletolist(pm&)
pmL& = Create("List", 3)
movelisttohandle(pmL&)
pm$ = GetString$(pmL&, 0)
print pm$ + "Test Text"
waitinput

so should it weg
 
XProfan X2
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
08/23/12  
 




p.specht

greeting of P. woodpecker. this Topic interested too me.
with the obigen Änderung works the Reading. unfortunately will's with
pm& = wmi_call("Select * from MSAcpi_ThermalZoneTemperature","CurrentTemperature")

but not klappen. where hakt it there Please?

Link on the structure here:  [...] 

Link the Rootverzeichnis root/WMI:  [...] 

P.s.: unfortunately knows I zuwenig over The WMI.inc
 
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
08/27/12  
 



not any tools support any properties and look over simply z.B.

by WMI code Creator (  [...]  ) .

unfortunately no idea where very one whom to Time to that Download offered

get - would me but interested.
 
08/28/12  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

22.295 Views

Untitledvor 0 min.
Selmo03/24/19
Andre Rohland01/06/19
maroro06/18/18
Christof Neuß07/20/17
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie