How to read the CPU temperatures of a RT PC [LabVIEW RT]

Hi,
I am programming a stand-alone RT application with LabVIEW RT that runs on a regular PC.
I would like to monitor the different system temperatures (CPU,...) and if possible the fans speed.
I found an example that performs this task for PXI systems but not for regular PC.
Does anybody know if this is possible and how I can do it?
Thanks

Here is a solution that reads the temperature via a VBS script. The script uses WMI to access the Temp.
Saved as LV 8.0
Robert 'Red' Hoar
Staff Systems Engineer
Certified LabView Developer
www.vi-tech.com
 (972) 233-1950 x 208
[email protected]
(Cell) (817) 312-5413 (Fax) (972) 233-1550  
Message Edited by srhoar on 05-15-2008 11:34 AM
Attachments:
Read CPUTemp with vbs script 1.zip ‏17 KB

Similar Messages

  • How to read the keyboard of a smart phone with labview mobile?

    The subject about says it all. I have an HTC phone with keyboard that is running WM 6.1. Using key events I can catch the left and righ soft keys and the left-right-up-down cursor movements, but it doesn't see the keyboard.
    Mike...
    PS: as a side note... given that Microsoft has signalled that it is pretty much abandoning the WM platform due tio lack of acceptance, I wonder what NI is going to do for mobile applications?
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

    Hello, Are you using the PDA Button VIs? Take a look at the Button Input VIs- Windows Mobile.lvproj example in the example finder and let me know if you have tried this. Or the Key Events - Windows Mobiel.lvproj example.
    National Instruments

  • Read clarkdale cpu temperatures

    Hey everyone,
    is there a way to read the cpu temperatures of clarkdale chips like the i3-530 i'm using? It seems to me that in 2.6.32.9 there is no kernel driver available to access the sensor information. Does that mean there's no way to read the temperatures?
    So far I've tried lm-sensors and of course i looked at thermal_zone in /proc/acpi/ without success.
    Thanks,
    demian
    Last edited by demian (2010-03-03 16:17:17)

    Here is a solution that reads the temperature via a VBS script. The script uses WMI to access the Temp.
    Saved as LV 8.0
    Robert 'Red' Hoar
    Staff Systems Engineer
    Certified LabView Developer
    www.vi-tech.com
     (972) 233-1950 x 208
    [email protected]
    (Cell) (817) 312-5413 (Fax) (972) 233-1550  
    Message Edited by srhoar on 05-15-2008 11:34 AM
    Attachments:
    Read CPUTemp with vbs script 1.zip ‏17 KB

  • Read CPU temperature of Desktop PC running LabVIEW Real-Time

    Is it possilbe to read the CPU temperature of a Desktop PC running LabVIEW Real-Time? I found an older example that allows to read the temperature of PXI systems (http://www.ni.com/example/29538/en/). Is there a possibility for Desktop Real-Time Machines as well?
    Regards,
    Steffen

    Hi this is heavily dependent from your specific Hardware. Which PC or more specific which main board do you use?
    I found several examples in the NI forum that try to access the CPU data.  
    I’m using a Dell machine and both temperature VI’s are not working for me.
    Hope you have more luck.
    Attachments:
    Temperatur_der_CPU.vi ‏13 KB
    WMI_GetTemperatureProbe[1].vi ‏26 KB
    WMI_Win32procesor[1].vi ‏41 KB

  • How Far Off Is the CPU Temperature On A K9N6PGM2-V (MS-7309) Motherboard?

    I have read on other sites that these boards have inaccurate cpu temperature readings in the bios. I am wondering how much these temperatures are off, if they even are. I have an AMD Athlon X2 4200+, Bios version 9.2. Thanks for your help.

    Quote from: hunterman439 on 28-March-09, 22:54:04
    Thanks for all replys,
    Sometimes when I turn the computer on and go into the Bios the cpu temperature is already at about 115F. This isn't terrible or anything, but it seems a little hot for just starting the computer.
    115 Fahrenheit = 46,1111111 graden celsius
    That's quite normal, nothing to worry about, BIOS temps are always a bit higher then idle temps.
    Please use C as everybody uses that in the forum, thanks.

  • Satellite M100 - I can't analyse the CPU temperature

    I'm an owner of Toshiba Satellite M100 series (Core Duo T2300, X1400, etc.). The problem is that I can't analyse the CPU temperature changes in such popular application like Everest or Notebook Hardware Control. Also any other software provided by Toshiba and already installed on my HDD doesn't include some CPU diagnostics including the temperature changes!
    The only software which seems to be working is the HWiNFO32 so there is some thermal sensor inside which reads this temperature of Centrino Duo processor, but this software is not very user-friendly :(
    There is a request for Toshiba to do something with this... I've upgraded BIOS in my model to a version 1.70 but it didn't change anything I could easily notice (or is there any?) :(

    Hi
    Like Mike said the BIOS update has nothing to do with the CPU temperature monitoring.
    The fact is that Toshiba doesnt support any 3rd party applications.
    However, all the temperature programs are not precise and dont get exactly information about the temperature. Only the programs with a physical temperature sensor will give you a exactly temperature.
    I dont understand why its so important for you to know the temperature. The Toshiba notebooks support an overheating protection and if the temperature increases to the critical level so the unit shuts down automatically.

  • Why the CPU temperature is so high?

    My NB Model #MB466, the CPU temperature is 40-50C under normal running and the fan is 2000rpm (I use iStat). When the CPU usage is about 80%, the temperature goes up to 70 or 80C, I can feel it, especially the bottom area of the screen, and the fan goes up to 4000rpm.
    Is this normal?

    My new Aluminum MacBook can get pretty hot when I play Spore or use an iTunes visualizer. The hottest I've seen (according to iStat Menus) is 194 degrees fahrenheit and 5637 rpm. I think they won't go too much farther. If something meets the system requirements, it should be fine.

  • How to read the content in one node of XML in Java? Pls help

    My dear brothers,
    I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
    1. Create a GUI form which gives the ability for user to choose a XML file (ok)
    2. Load XML and return the file (ok)
    3. Read the file from node to node to create the node in Tree View (?!)
    Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
    Hoang Yen Binh

    I hope this one helps you.
         <ABC Type="ProductBased" ProdName="One" Location="India">
              <CEO>Raj</CEO>
              <Finance>Vikram</Finance>
              <HR>Karthik</HR>
              <Technical>Satish</Technical>
         </ABC>
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Attr;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Node;
    import org.w3c.dom.DOMException;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import java.io.File;
    import java.io.IOException;
    public class XmlReading {
         Document doc;
         Element element;
         public static void main(String[] args) throws Exception{
              XmlReading xr = new XmlReading();
              xr.getXmlParser(args);
         public void getXmlParser(String[] args) {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   if(args.length != 1) {
                        System.err.println("Argument Required");
              try {
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   doc = builder.parse(new File(args[0]));
              }catch(ParserConfigurationException e1) {
              }catch(SAXException e2) {
              }catch(IOException e3) {
              getAttributes();
         public void getAttributes() {
              // Retrive the entire Document from the Dom Tree
              element = doc.getDocumentElement();
    //          System.out.println(element);
              NamedNodeMap attrs = element.getAttributes();
              // Get number of attributes in the element
         int numAttrs = attrs.getLength();
         // Process each attribute
              for (int i=0; i<numAttrs; i++) {
                   Node node = attrs.item(i);
                   // Get attribute name and value
                   String attrName = node.getNodeName();
                   String attrValue = node.getNodeValue();
                   System.out.println(attrName + ": " + attrValue);
              String s1 = element.getTagName();
              System.out.println(s1);
              // To get all the elements in a DOM Tree
              NodeList nl1 = element.getElementsByTagName("*");
              int i2 = nl1.getLength();
              System.out.println(i2);
              for(int i=0; i<i2; i++) {
                   System.out.println(nl1.item(i) + "\n");
    }

  • How to read the data in excel sheet

    Dear sir,
    How to read the data in excel sheet when i recieve a data serial communication... ie i have store a data in excel such that
    Cell A       Cell B
       A           Apple 
       B           Ball
       C           Cat
       D           Doll
    when i recieve A from serial communication i have to display Apple, and when i recieve B i have to display Ball and so on.. 

    Hi, 
    I would recommend you to have a look at the VI attached. It makes use of a VI named 'Read from Spreadsheet' to read the row and column data from the tab delimited excel file. The read data is then searched for the Alphabet specified and finally returns you the corresponding string. The test file used to validate the operation of the VI is also attached. 
    Trust this would help you solve the issue. 
    Regards, 
    Sagar G Yadav | Application Engineer | National Instruments
    Attachments:
    read_from_excel.vi ‏10 KB
    Book1.txt ‏1 KB

  • How to read the file from a folder.

    Hi All,
    How to read the file from a folder or directory from the non sap server / remote server.
    Regards
    Sathis

    open dataset filename for input in text mode
                         encoding default.
    filename is character type variable with the destination filename.
    Edited by: Jino Augustine on Apr 19, 2010 1:31 PM

  • How to read the check box value in alv report

    hi experts,
    i m working on one alv report where i m using the check box for field selection in alv display.
    but i don't know how to read the only selected fields.
    wa_fieldcat-fieldname = 'BOX'.
      wa_fieldcat-tabname = 'IT_HEADER'.
      wa_fieldcat-seltext_m = 'Box'.
      wa_fieldcat-checkbox = 'X'.
      wa_fieldcat-input = 'X'.
      wa_fieldcat-edit = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'AUFNR'.
      wa_fieldcat-tabname = 'IT_HEADER'.
      wa_fieldcat-seltext_m = 'Sales Doc'.
      wa_fieldcat-hotspot = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR wa_fieldcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = v_repid
         I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
         i_callback_user_command           = 'USER_COMMAND'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         it_fieldcat                       = i_fieldcat[]
         i_save                            = 'A'
         it_events                         = v_events
        TABLES
          t_outtab                          = it_header
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
    when '&RELEAS'.
    endcase
    endform.
    i gone through some already posted que for same problem i tried options like
    loop at it_header.
    endloop.
    but i m getting box field empty.
    is there i missed something? plz sugeest.. if u have any other solution plz post...

    Have this code in your user command fm:
    * For capturing changed data
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = w_grid.
      CALL METHOD w_grid->check_changed_data
        IMPORTING
          e_valid = w_valid.
      IF w_valid = 'X'.
    loop at itab where mark = 'X'.
    endloop.
    ENDIF.
    Regards,
    Ravi

  • How to read the Variance Analysis report S_ALR_87013139,  Pdt cost by Order

    Hi,
    Could someone tell me how to read the variance analysis report, S_ALR_87013139 - Cumulative for product cost by order. The report has the following fields, Target (Debits),     Actual (Debits),     Scrap,     Var. Without Scrap,     Work in Process(WIP),     Control Costs.
    I am looking to find how the numbers add up.
    Thanks for your help.
    Ram
    Message was edited by:
            Ram R

    Thanks Sridhar,
    When I analyse the report S_ALR_87013139 - Cumulative , for a product for a period (with no scrap), I get the following
    Target (Deb) -   46,855.55
    Act (Deb) - 58,315.87
    Scrap - 0.00
    Var W/O- Scrap -  11,269
    WIP- 0
    Control Cost - 0
    Here Actual - Target is not equal to Variance. What could be the issue?
    Could you please tell me how SAP would update this report  with target & actual costs with respect to open production orders, carried over from previous periods.
    Thanks,
    Ram

  • How to read the contents of attached files

    Hi,
    I am designing a Form using LiveCycle Designer 8.0
    Scenario:
    User can attach the file through "Attachments" facility provided on Adobe  Reader.
    The requirement is to attach 3 documents and post it to SAP system using Web services.
    I am using the following code(which i got from this forum only) to find the number of files user has attached.
    d = event.target.dataObjects;
    n =  d.length;
    xfa.host.messageBox("Number  of Attachments: "+n);
    //Displaying  the names of the Attached files
    for( i =  0; i < n; i++ )
    xfa.host.messageBox("Name  of the file: "+d[i].name);
    My problem: is how to read the contents of the attached files so that I post it to SAP using Web services
    Thanks in advance!!
    Taha Ahmed

    In order to read the content of the Redo Log files, you should use Logminer Utility
    Please refer to the documentation for more information:
    [Using LogMiner to Analyze Redo Log Files|http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/logminer.htm#SUTIL019]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to read the and Write the PDF file give me the solution

    Hi all,
    How to read the and Write the PDF file give me the solution
    My coding is
    import java.io.File;
    import com.asprise.util.pdf.PDFImageWriter;
    import com.asprise.util.pdf.PDFReader;
    import java.io.*;
    import java.io.FileOutputStream;
    public class example {
    // public example() {
         public static void main(String a[])
              try
              PDFReader reader = new PDFReader(new File("C:\\AsprisePDF-DevGuide.pdf"));
                   reader.open(); // open the file.
                   int pages = reader.getNumberOfPages();
                   for(int i=0; i < pages; i++) {
                   String text = reader.extractTextFromPage(i);
                   System.out.println("Page " + i + ": " + text);
    // perform other operations on pages.
    PDFImageWriter writer = new PDFImageWriter(new FileOutputStream("c:\\new11.pdf"));
                   writer.open();
                   writer.addImage("C:\\sam.doc");
                   writer.close();
                   System.out.println("DONE.");
    reader.close();
              catch(Exception e){System.out.println("error:"+e);
              e.printStackTrace();
    I get the pdf content then it returns the string value but ther is no option to write the string to PDF, and we only add a image file to PDF,but i want to know how to wrote the string value to PDF file,
    Please give response immtly
    i am waiting for your reply.
    thanks,
    Suresh.G

    I have some question flow
    How library to use this code.
    I try runing but have not libary.
    Please send me it'library
    Thank you very much!

  • How to read the data from Excel file and Store in XML file using java

    Hi All,
    I got a problem with Excel file.
    My problem is how to read the data from Excel file and Store in XML file using java excel api.
    For getting the data from Excel file what are all the steps i need to follow to get the correct result.
    Any body can send me the code (with java code ,Excel sheet) to this mail id : [email protected]
    Thanks & Regards,
    Sreenu,
    [email protected],
    india,

    If you want someone to do your work, please have the courtesy to provide payment.
    http://www.rentacoder.com

Maybe you are looking for

  • How to continuously generate a pulse train with variable frequency

    Dear all, I am trying to use NI-USB 6259(BNC) to send Pulse signals to conduct position control of a servo motor with labview. The position control of servo motor follows these rules: The number of the pulse train determines how many degrees the moto

  • Praoblems in creating a variable using JSP - el

    Posting this again : Please help How to create a variable using <c:set> whose value is specified within the tag body . I want to use this variable created as one of the parameters in a javascript method call . But my problem is when I run my applicat

  • Why lock-order can use in cascade delete?

    Hi. http://edocs.beasys.com/wls/docs81/ejb/DDreference-cmp-jar.html#1113798 #Function #Use this flag to specify the database locking order of an entity bean #when a transaction involves multiple beans and exclusive concurrency. #The bean with lowest

  • Setting Variables.....

    I have a problem in setting my PATH and SET CLASSPATH variables..... SET Path=%Path%;"C:\Program Files\Norton SystemWorks\Norton Ghost\;C:\j2sdk1.4.2_01\lib\tools.jar" PATH=%PATH%;"C:\Program Files\Mts;C:\j2sdk1.4.2_01\bin" is this correct? I'm using

  • Another dead 40 G - Is there a solution for this?

    Hi, I'm about to receive my second replacement for the 4th generation 40 G ipod. My first 40 G lasted for more than one year, this second one has only lasted 7 months. I've always treated my ipods better than my own daughter. After the first break, I