Code to display temperatures.. Thread last updated on 2006-01-17 13:21:58

Posted by member 298966 on 2006-01-17 10:48:22

I was wondering, is there a way of displaying the temperature of my GeForce card?

Posted by member 124072 on 2006-01-17 11:17:28 link

xlabel has some mbm5 funtions, maybe from mbm5 you can see your videocard temp and make a label to display it.
this is from the xlabel 3.4.9 docs:
mbmTemperature
Temperature as reported by MBM5. Takes an optional numeric index as a parameter. MBM5 supports 10 temperature sensors numbered 1 to 10.

Posted by member 298966 on 2006-01-17 11:45:55 link

Hmm. The theme I'm using only uses label-1.99, so I added in xlabel. As of right now, the theme lists the stats, but has the syntax of the label module. Here is the code for the memory stats:

memlabeltransparent
memlabeltext "resource usage:\nhdd: [diskavailable('c:')] of
[disktotal('c:')]\nhdd2: [diskavailable('e:')] of
[disktotal('e:')]\nram: [meminuse] of [memtotal]\notal mem:
[memavailable]\nswap: [swapinuse] of [swaptotal]\ngeforce temp: [mbmTemperature]"

memlabeljustify "left"
memlabelx 15
memlabely 88
memlabelwidth 150
memlabelheight 82
memlabelfont "hooge 05_55 caps"
memlabelfontcolor ffffff
memlabelfontheight 12
memlabelupdateinterval 100
memlabelonrightclick !popup


Can I just add in that part that I have bold? Like mix the parameters of both modules like that? Right now it only outputs 0, when I add in a number after it I get a syntax error. Do I need to make a seperate line for the temperature call?

Posted by member 298966 on 2006-01-17 11:47:07 link

Ok, well the bold didn't do anything, but the part where i have the bold tags:

\ngeforce temp: [mbmTemperature]

Posted by member 1 on 2006-01-17 12:52:17 link

DOUBLE POSTING IS BAD! VERY BAD!!!! RARRRR!!!!!

Posted by member 1 on 2006-01-17 12:54:19 link

[swaptotal][b] is not the same as having a space between them.

Posted by member 298966 on 2006-01-17 13:21:58 link

Sorry about the double posting, I put it in code but then realized it'd be better to put it somewhere else.