Results 1 to 2 of 2

Thread: How to modify sensor data?

  1. #1
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221

    How to modify sensor data?

    So,I understand now how to read data from sensors, e.g.:

    Code:
    "MBMXX"			- Information from Mother Board Monitor 5 (XX denotes the sensor number).
    
    			  When using this, the tooltip defines the format of display examples are:
    
    			  CODE   , Tooltip
    
    			  "MBM01", "C2F"	(Celcius to Farenheit conversion, "F2C" also available)
    
    			  "MBM01", "0C"		(0 is replaced to show "59C", could also be "0.0 C" etc)
    
    			  "MBM49", "0 RPM"	(0 is replaced to show "4216 RPM", "0.00V" etc)
    
    "SFXXX"			- Information from SpeedFan -- SF codes start with a letter denoting the type of Info.
    
    			  'v' for voltage, 't' for temperature and 'f' for fan. 
    
    			  For instance '"SFV3" would be the third voltage sensor
    
    "PHIDXX"

    now, can I write my own tool tip? For example something that multiplies the value by 100 before displaying it? or displays the square root of the value?

  2. #2
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Code:
        'See if need to apply conversion
    
        Select Case LCase(s)
    
            Case "c2f"
    
                'Show in C
    
                N = N - 200: N = N / 4
    
                N = (N * 9) / 5: N = N + 32
    
                GetPhid = Format(N, "0.0F")
    
            Case "f2c"
    
                'Show in F
    
                N = N - 200: N = N / 4
    
                GetPhid = Format(N, "0.0C")
    
            Case "volt"
    
                'Show in V
    
                N = N - 500: N = N * 0.06
    
                GetPhid = Format(N, "0.00")
    
            Case "50amp"
    
                'Show in Amps
    
                N = N - 500: N = N * 0.1
    
                GetPhid = Format(N, "0.00")
    
            Case "15amp"
    
                'Show in Amps
    
                N = N - 500: N = N * 0.03
    
                GetPhid = Format(N, "0.00")
    
            Case "gp"
    
                'Show in Pressure
    
                N = (N / 4) + 10
    
                GetPhid = Format(N, "0.00")
    
            Case Else
    
                'Return Sensor Info
    
                GetPhid = Format(N, s)
    
        End Select

    It is possible, just need to modify the source code.

Similar Threads

  1. Replies: 2
    Last Post: 07-13-2006, 07:23 AM
  2. Can I somehow modify this for a remote connection?
    By Sonicxtacy02 in forum Input Devices
    Replies: 0
    Last Post: 09-26-2004, 09:07 AM
  3. Replies: 8
    Last Post: 09-17-2004, 01:17 PM
  4. do i need to modify the PSU?
    By dannn in forum Power Supplies
    Replies: 4
    Last Post: 07-11-2004, 06:09 PM
  5. how to modify XXXXX for fast boot
    By babas151 in forum Software & Software Development
    Replies: 9
    Last Post: 04-21-2002, 09:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •