Thermocouple labview

Thermocouple labview DEFAULT

The temperature of Thermocouple on Labview

  • Temperature measurement and the CJC using thermocouples on a USB - 6229 BNC


    I'm trying to get the measurements of temperature using type K thermocouples on the box nor usb-6229 BNC. SignalExpress software doesn't let me choose 'Built In' to the Source of the CJC. So, I must select 'Constant', which means that I then have to follow the evolution of the temperature during the day with a separate meter and adjust the value of CJC accordingly to maintain an accurate reading. Is there a way around that to avoid having to monitor the room temperature at the junction?

    Thanks in advance


    Hi Mike,.

    It seems that you have managed to find a solution for you have this problem, which is great news.

    However, for future use, if you had bought the 6229 with massive ending (rather than the interface BNC) then you might have interfaced unit with a block of connection SCB-68 (see link)

    The SCB-68 has a CYC source built-in, so you might have used in conjunction with 6229 (mass layoffs).

    A bit of in the way, but I thought you may be interested.

    Best wishes to you all

  • update of the temperature

    I'm new to labview one I have the code to get the temperature with a thermocouple sensor. But I was wondering how to do the update of temperature (not every second but maybe every minute) isn't just a simple loop? I'm confused. If someone could help me that would be great, I have attached the code below.

    Gotti_uncc wrote:

    The first acquisition of data read must be locked in the while loop?

    If you want to update constantly...

  • Measure the voltage and the temperature simultaneously with PCI-6281

    Measure the voltage and the temperature at the same time at the same time. However, when I put the voltage and temperature in a loop, the acquisition of voltage is significantly delayed. When I put the voltage and temperature in two different loop, none of them works.  There is an example in aid of Labview as shown. This structure works fairly quickly? In addition, how a volgate get and temperature Analog DBL 1Chan 1Samp? I check the exported excel, the first column is 0, 1 the second column contains the value of the voltage, temperature value. I wonder how can I get these two values for each scan.


    Assuming that the DAQ cards can handle it, you can set an analog trigger for the channel of the tension.  Then you just X samples to get your 100us data value.  Keep the last sample.

  • programming the temperature

    Hello Experts,

    I have the Watlow Ez area chaffeau laboratory oven thermostat. Its been properly connected to the computer and I can give the set point and read the value of process in Labview.

    But I need to add in labview so that there will be a different temperature for different time intervals.

    for example, 200 C stand for 4 hours then

    go to 300 c and hold it down for 3 hours

    go to 400 and hold for 4 hours and like that.

    But I don't know how to start with this.

    Please help me!

    Best regards


    Or you need to change your program, you can implement mine inside

    Or you can change mine to do stuff that makes you as well.

    What you can do, is just before sending a new sequence of your oven, you can read the values of the furnace process.

    Thus, to create a new case in the state-engine: "read parameters", and in this case, you can read your settings.

    I've adjusted the earlier VI and said the new case.

  • 6001 USB does not accept the inputs for thermocouple

    Now enter one of the differential analog inputs of the 6001 USB a type K thermocouple. I used the wizard DAQ to do, but the shows around 3 oC reading at room temperature. Has anyone else encountered this problem with the 6001 USB? (When I have an input voltage, which works fine, while the device works very well).


    When you run a task of thermocouple on one of our analog input devices the device will read voltage on that channel and then convert it to a temperature using the known relationship of the thermocouple. The Type K thermocouple has a sensitivity of ~ 41 UVC.  The USB-6001 has a resolution of 14 bits with a range from - 10V to + 10V.  This gives us a sensitivity of ~1.2mV or ~29.8 C.  This does not factor in which the USB-6001 has an accuracy of 6 mV absolut which made soar as the other.

    A measure of thermocouple should read changes in voltage very low levels of very low voltage, that is why we have devices speifically read thermocouples.

  • Measure the voltage and the temperature at the same time with a single card PCI 6014 DAQ?

    Hello guys,.

    I'm doing a charger measuring the voltage of the battery, the charge current and the temperature of the battery using a 6014 cardboard...

    I want to use my PCI6014 DAQ card to measure 2-channel analog voltage input and 1 temperature Channel Analog input using thermocouple type k measurement of voltage or temperature isolation is OK, but I can't understand how to measure the voltage and the temperature at the same time... I want to use input differential...

    Thank you in advance, all the tips


    Create a task and add channels to the task, as follows:


  • Update bar color of char in the evolution of the temperature values

    Hello everyone. I actually read a temperature sensor and plot the data in the form of a bar graph. I am acquiring the data every second, and present them in a chart bar. the challenge is to show different colour on the bar chart that the temperature will dangerous.when playback security are safe, the graph must be red red, when there is just the graph must be orange and dangerous. I'm using Labview 2012.I need to get started as I'm actually learning the software.

    future prospects for the hearing from you guys.


    Using a range of set a defined value is something that comes up fairly often. Here are two solutions that may apply to you. The first uses logical operators and work as expected.

    However there are disadvantages to consider: what happens if you decide to add more beaches that have different meanings? This solution is well-suited and will become very difficult to maintain. The second solution solves this problem by using a Structure box. Note that the case structure only accepts integer values in the terminal of selector. You can read about workaround implemented here.

    I hope this helps!


  • . Misfortunes of ICO in the Windows registry for my LabVIEW Application

    Wow, adding that last bit of spit-and-shine in a LabVIEW program can turn into any process.

    I defined a type of file with a .tpml (XML file of the temperature profile).  When my user double clicks on a file of this type, it launches my LabVIEW application.  All this is worked and works well.  I even setup for my program add entries to Windows registry key so that the .tpml file type is associated with my program executable.  This is related to my previous post here.

    The problem I have is that I did a fantasy for my LabVIEW program icon and these well DOCUMENTED files.  The problem is that the key of Windows registry entry that associates this file in my program, causing the ATTESTED to the 16 icon file icon x 16 my program executable.  If I remove the association in the register, it goes back to the .ico file I made.

    I don't know if I can add my ATTESTED to my .exe file icon so that an association between the two causes the correct icon to be displayed in Windows, or if there is some other entry registry key that I need to do to replace Windows and requires to use my DOCUMENTED file. ICO for the icon.  Anyone know?

    These are the registry keys that makes my Installer:


    .tpml = "tpmlfile".

    . tpml\DefaultIcon = [INSTALLDIR] data\TPMLFile.ico

    tpmlfile = temperature profile XML file

    tpmlfile\shell\open\command = [INSTALLDIR] Profile Editor.exe '%1 '.

    I have all of the isthmus and the brightness I want in this program with the exception of this problem with the icons (less a few problems the keyboard TAB).  As I said, if I remove the entry "tpml\shell\open\command" in the registry, the DefaultIcon works OK.  With this registry in place entry, it uses by default the icon 16 x 16 for "Profile Editor.exe".

    Any ideas?

    Thank you very much for your time and input!


    The solution was that I needed the DefaultIcon key as a child of tpmlfile entry NOT .tpml.  Here is my final registry keys that work like a champ!


    .tpml = "tpmlfile".

    tpmlfile = temperature profile XML file

    tpmlfile\DefaultIcon = [INSTALLDIR] data\TPMLFile.ico

    tpmlfile\shell\open\command = [INSTALLDIR] Profile Editor.exe '%1 '.


  • How to measure the temperature of 4 RTD simultaneously?

    I'm implementing a systerm requiring several measures the temperature. I am able to make a measure of RTD. But if I have the same code to create two measures of mirror, I get an error - 50103 "the resource specified is reserved". I just started using LabVIEW, so any help is valuable. If there is already material available on this topic, could point me there please.

    You can have as many channels of the same type (in this case of analog input) in a task.  If your simple solution would be to have four channels in your task.  You also need to set your Read DAQmx for multiple channels.

  • read the temperature of the chassis of a cRIO in Scan Mode?

    I am trying to create a section for monitoring my VI which monitors the status of the cRIO 9022 and backplane (9104) I use. I understood how monitor memory, CPU utilization, and the input power voltage.

    I know that you can monitor the temperature of the chassis using the FPGA options, but I want to keep my cRIO in Scan mode. Is it possible to access the scan mode chassis temperature probe?

    I found the solution I was looking for. NOR has built a VI to get the temperature of the cRIO, but it's not easy to find or in the open air.

    It is located here:

    c:\Program Files\LabVIEW 8.6\examples\CompactRIO\Controller Specific\9022 voltage and temperature Monitor\cRIO-902 x Support files

    "The cRIO-902 x Support Files" is a library that contains 2 VI is used for the sub - VI voltage monitor, and a third VI called "get Council

    Drop in the cRIO app and the Vi shows the temperature of the CPU cRIO in ° C card.

  • Noise on the readings of thermocouple on the NI PCI-6225

    Hi all

    I have a problem with what appears to be static electricity caused by noise on thermocouples.

    We test with a sand as a medium flowing through a plexiglas window and measure the temperature in the stream. The interaction of mixture air/sand flowing through the plexiglas creates a significant amount of static electricity and our thermocouple readings are severely affected. Is there a way to filter the signal so that my data and off-scale obvious signal analysis tools ignore?

    The filtering I see seems to apply only to high frequency noise. I would like to cut the signals from the TCS to ignore all of the above measures 700DegF and under 32Degf.

    Thank you

    Hi Emi_emii,

    It might be useful to see what the current state of your VI acquisition is - just to get an idea of your overall architecture. I see a couple of alternatives.

    1. You could do some external signal filtering to get rid of the extra load on your son of thermocouple - see this valuable whitepaper on the topic of wiring:
    2. The extent of the filtering software, you could use the cooker and force the function ( on your data and the use of the Boolean output to hide your actual data or simply to force your MAX/MIN values

    Hope this helps!

  • Measurement of the temperature with the PCI-6229

    I was announced in an old thread and do not receive and answer, so I thought I try a new.

    Link to the old thread:

    I'm trying to measure temperatures using thermocouples using the PCI-6229 and I use two SBC-68LPR to make the connection.  They are not reference on them joints.

    After moving down from enugh to careful reading of the old thread I mentioned above and I think I knew what I should do.  Here's what I do now:

    Create a task - DAQmxCreateTask

    Create a channel for this task - DAQmxCreateAIThrmstrChanVex thermistor

    Create a number of channels of thermocouple for this task (DAQmxCreateAIThrmcplChan) using the cjcsource DAQmx_Val_Chan option and specifying the string thermistor as the source channel

    Start this task - DAQmxStartTask

    Get the temperatures - DAQmxReadAnalogF64

    Stop the task - DAQmxStopTask

    Disable the task - DAQmxClearTask

    I have not yet hooked, but I doubt that it is the cause of the error.

    A few more details (pardon my Delphi):

    Create the channel of the thermistor

    TmPcName: = ' Dev1/IA.19 ";

    Secret: = DAQmxCreateAIThrmstrChanVex)
    TcTaskHandle, / / task handle
    @TmPcName, / / physical channel name
    @TmChName, / / name of channel
    -80,                                   // Min range
    80,                                    // Max range
    DAQmx_Val_DegC, / / units, ° C
    DAQmx_Val_ResistanceConfiguration_4Wire, / / 2-wire, 4-wire, etc.
    DAQmx_Val_ExcitationSource_External, / / source of excitement, external
    1, / / value of excitement
    9.376e-4,                         // a
    2.208e-4,                         // b
    1.276e-7,                         // c
    30000);                            Resistance of reference

    Creation of the channel of thermocouple:

    TcPcName: = ' Dev1/ai23;

    Secret: = DAQmxCreateAIThrmcplChan)
    TcTaskHandle, / / task handle
    @TcPcName, / / physical channel name
    '',                                     // Channel name
    0,                                    // Min range
    1000, / / Max range
    DAQmx_Val_DegC, / / units
    DAQmx_Val_DegC, / / type of Thermocouple
    DAQmx_Val_Chan, / / source CJC
    25, / / value of CYC, so DAQxm_Val_ConstVal
    @TmPcName);             CJC channel, so DAQxm_Val_Chan

    It looks like 4 scales is required for voltage excitement thermistor measurements.

    In addition, it seems that external excitation is necessary in my case, PCI-6229.

    Everything works if I use a CJCConstant.  When I do this I use the same code to create channels of thermocouple, but I spend creating the channel of the thermistor.  When I try to use a CJCChannel I get an error saying "value required is not supported for this property value," which occurs when I call DAQmxStartTask.  I don't have no idea of what this message refers to and the best I can tell the properties that I've specified sense.  The constant termistor are from actual thermistor, that I found on

    I could also use some help to know how to connect the thermistor.  Looks like I need to fab, a thermistor circuit myself, with a stable voltage to power the termistor and use a double-ended analog and reference to the channel.

    Thank you


    The error of thermocouple type was a type-o in the post.   Thanks for catching it.

    I think I found the problem.

    I wrote a small program to test for Thermistors and I went to using the routine exctation of tension for a common routine of excitement (... IEX instead of... Vex).  I had been by specifying a minimum value less than 0.  I changed it from-80 to 0, and it works now.  However, I got an error in division by zero, intermittently, when you read a thermistor channel.  The error is not in my code.  It occurs when you call DAQmxReadAnalogF64 for the first time and I'm not all mathematical related to this call.  I'm still looking into it.

  • Satellite X 205-S9349 - Question on the temperature of the GPU


    I bought a * Satellite X 205 - S9349 * 10 months ago a recently installed a temperature monitor for the nVidia 8700 M GT card. When using 3d modeling applications, I recorded the average temperature in * 97 degrees Celsius *.

    The computer translates a temperature idling of * 60 degrees *. The computer is present in an air-conditioned room, which is in the average temperature is * 19 degrees *.

    What's the normal functioning of the X 205-S9349 temperature when it is at full load?

    This temperature may harm my computer?

    Is that what I can do to reduce the temperature without voiding the warranty offered by Toshiba?

    Thanks in advance,

    PS: I stalled the back of my computer to the top so that air can easily circulate through the bottom.

    Hi Pabst

    In my opinion there is no reason to panic. If you use the original display driver laptop Toshiba is protected and if the laptop will not appear at the level of the critical temperature will stop automatically to avoid damaging the material.

    With rear shoring is great idea. Sometimes I do the same. The laptop can be cooled much better. And one more thing: don't always believe that show these third party applications.

    Good luck!

  • Satellite 1800-814: how to measure the temperature of the processor?

    I replaced the radiator component on my laptop as it freezes suddenly during the operation. Now everything seems to be better, but still a last question. How to measure the temperature of the processor?

    Dominic displays only HDD temp and MBM profile for 1800-224 display cases and the cpu. But if I can use this profile? Any other ideas how to meausre CPU temp?

    MBM shows me around 40 to 49 ° C for the cpu. Is this normal or too high just to run windows?

    Thanks in advance

    Jens Grieger


    See this

    Maybe the help!

  • Sours:

    Appendix C - Thermocouples

    Appendix C - Thermocouples

    Thermocouples are not particularly accurate or easy to use, but they are a very common way to measure temperature. Some applications with extreme temperatures or specific mechanical requirements might require thermocouples, but whenever possible consider instead using a silicon type temperature sensor such as the EI-1022 (-40 to +100 degrees C) or the very accurate and waterproof EI-1034 (-17 to +150 degrees C). Both of those probes are available from LabJack, and provide a high-level linear voltage output that connects directly to analog inputs.

    There are three main issues when making measurements with a thermocouple:

    1. Cold Junction Effects: The voltage generated at the LJTIA by the thermocouple is related to the difference in temperature of the end of the thermocouple and the LJTIA. In order to know the temperature at the end of the thermocouple, the temperature of the LJTIA must also be known. Most LabJacks have an internal temperature sensor, but even then for improved performance an external sensor (e.g. EI-1034 or LM34CAZ) might be needed. Once the cold junction temperature is known, it is easily handled in software.
    2. Non-Linear Output: The output of a thermocouple is non-linear. NIST ( provides tables and equations to convert a thermocouple voltage to a temperature. The LabJack UD driver provides a convenient function that uses the NIST equation to handle the conversion, and DAQFactory has built-in conversion functions of its own.
    3. Small Output Voltage: The small output voltage of a thermocouple makes it difficult to get good temperature resolution. The LJTIA is used to amplify the thermocouple voltage before it is sent to an analog input.

    The following diagram shows the typical connection of a thermocouple to the LJTIA:

    The thermocouple is connected to IN+ (positive lead) and IN- (negative lead), and IN- is also connected to GND through a 10 kΩ resistor (meaning that Vcm=Vin/2).

    Care must be taken when placing the negative thermocouple lead and resistor lead into the same screw-terminal, to make sure that both are solidly contacted. Sometimes the thermocouple wire is thicker than the resistor wire, making it easy for the resistor to lose contact. In such a case the LJTIA output will likely be stuck near 0 volts, Voffset, or 5 volts.

    In most situations, a short can simply be used for the GND connection instead of a 10 kΩ resistor, but note that if a short is used the negative lead of the thermocouple is grounded at the LJTIA. This is not recommended when using multiple probes and when the probes could be contacting grounded metal somewhere in the system. The 10 kΩ resistor maintains some isolation between the negative thermocouple lead and ground, and yet provides a path for the LJTIA bias currents.

    It is possible to install the 10 kΩ resistors (Digikey #P10KGCT) on the LJTIA PCB. For channel A, install the resistor on R8. For channel B, install the resistor on R23. Obviously this reduces the input impedance of the negative input of the LJTIA to 10 kΩ, which might not be desirable for some signals besides thermocouples.

    The output offset of the LJTIA can be set to 0.4 volts or 1.25 volts. For the best accuracy, the actual system offset should be measured. If the end of the thermocouple is at the same temperature as the cold junction, the thermocouple voltage should be zero, so place the end of the thermocouple near the LJTIA and note the voltage measured by the analog input (should be near 0.4 volts or 1.25 volts). This is the actual system offset, and should be subtracted from further analog input readings before dividing by the gain to get the thermocouple voltage.

    The UD driver for Windows has a convenient function that takes in thermocouple type, thermocouple voltage, and cold junction temperature, and returns the thermocouple temperature. The following pseudocode demonstrates a measurement:

    Go to for thermocouple examples in C, VB, LabVIEW, and more. For DAQFactory examples go to


    The following table shows the minimum and maximum allowable temperatures (from NIST) for some common thermocouple types. The table also shows the thermocouple voltages generated at those limits. Note that these extremes might not be allowed continuously, and thermocouple manufacturers will often provide a reduced range that is recommended for continuous use.

    Table C1. Minimum and maximum temperature and voltage ranges

    Temp (°C)Voltage (mV)Temp (°C)Voltage (mV)
    1. Oreo minecraft skin
    2. Carrs bakery
    3. Custom lx570

    Configuring & Reading a Thermocouple

    T-series devices have various configurable features as part of the Analog Input Extended Feature (AIN-EF) system. The following example demonstrates how to configure and read a thermocouple input in the Kipling Register Matrix.

    1. First connect the thermocouple between AIN0 and GND. In Kipling, navigate to the Register Matrix page and type ain0 in the search bar.


    2. Add the following registers to the active register list:

    • AIN0_EF_READ_A

    These are the AIN-EF registers for configuring thermocouple measurement.

    Kipling has special high-level support for AIN-EF configuration on the Analog Inputs tab for the T7, but for the purpose of this tutorial we are using the Register Matrix instead.


    3. Configure the thermocouple input by writing the following values to each of the pinned registers.

    Write 21 to INDEX to set AIN0 to use the AIN-EF for Thermocouple type J:
    AIN0_EF_INDEX = 21

    We write a 1 to CONFIG_A so that the output is in deg C:


    4. The AIN0_EF_READ_A register should be outputting the scaled temperature value in degC.


    5.  To save the configuration so the AIN-EF thermocouple feature will be configured at device boot-up, go to the Power-Up Defaults tab and click "Configure Power-up Defaults". Make sure that "Current Device Settings" option is selected.

    This step is recommended for LJLogM, LJStreamM, and other simple polling programs because they don't configure AIN-EF. If you're writing your own software, however, you can configure AIN-EF programmatically.



    Reading a Thermocouple Input in LJLogM

    Once the AIN extended feature is configured (above), you can read AIN0_EF_READ_A using any row in LJLogM.

    Close the connection in Kipling before opening LJLogM. A LabJack can only be opened via USB by one software process.


    Reading a Thermocouple Input in LJStreamM

    AIN Extended Features are not supported in Stream mode. LJStreamM cannot read thermocouple inputs while streaming.


    Reading a Thermocouple in DAQFactory

    To configure a thermocouple input you can use steps 1-5 above or write AIN0_EF_INDEX = 21 (for Type-J) and AIN0_EF_CONFIG_A = 1 (for deg C) in DAQFactory. See "Device Configuration" on the DAQFactory for LJM page.
    To read the temperature look in the AIN0_EF_READ_A register. See "Linking LabJack Inputs/Outputs to DAQFactory Channels" on the DAQFactory for LJM page.


    Reading a Thermocouple in Your Program

    Use steps 1-5 above to configure, or write the desired configuration registers at the start of your program with a couple calls to eWriteName or a single call to eWriteNames.

    To get a temperature reading read the register AIN0_EF_READ_A with a call to eReadName.

    Or, in the applicable archive, look for an example called "Write Read Loop with Config" that can be used to both configure and read the timer.


    How to read a thermocouple with LabVIEW

    Example 1: Logging a Temperature Signal

    previous page next page

    You can use LabVIEW SignalExpress to log signals you acquire from various devices and instruments. The following procedure describes how to log a temperature signal from an NI-DAQmx device. This example assumes you have a thermocouple temperature sensor connected to physical channel ai0 of an NI-DAQmx device.

    NoteNote  You can install NI-DAQmx software from the National Instruments Device Driver DVD, or you can download the latest version of NI-DAQmx software from

    Complete the following steps to use LabVIEW SignalExpress to acquire a temperature signal from the device:

    1. Launch LabVIEW SignalExpress and select File»New Project to open a new LabVIEW SignalExpress project.
    2. Select Add Step»Acquire Signals»DAQmx Acquire»Analog Input»Temperature»Thermocouple to add the DAQmx Acquire step to the Project View. The Add Channels To Task dialog box appears.
    3. In the Add Channels To Task dialog box, select ai0 under Dev1 (Device Name) and click the OK button. The Step Setup tab updates to display Dev1_ai0 in the list of channels, and Thermocouple Setup configuration options appear to the right of the list of channels.
    4. Use the Thermocouple Setup options to configure the step. Select the Thermocouple Type you are using, and select deg F from the Scaled Units pull-down menu to specify to measure the temperature in degrees Fahrenheit.
    5. After you configure the step, click the Record toolbar button. The Logging Signals Selection dialog box appears.
    6. In the Logging Signals Selection dialog box, expand Thermocouple in the Signals to include tree and place a checkmark in the Dev1_ai0 checkbox.
    7. Click the OK button to close the dialog box and begin recording the signal. A new log appears in the Logged Data window.
    8. Switch to the Data View tab and drag the log from the Logged Data window to the Data View tab to view the progress of the log.
    NoteNote  You also can drag the Thermocouple output of the DAQmx Acquire step to the Data View tab to display the current value of the signal.
    1. Click the Record or the Stop button to stop logging the signal.
    2. Select File»Save Project to save the project.
    NoteNote  When you save a project that contains logs, LabVIEW SignalExpress saves the logs with the project. LabVIEW SignalExpress also saves log files in the .tdms file format to a location you specify on the Logging page of the Options dialog box.

    This example describes how to start and stop logging by clicking a button. However, you might want to start and stop logging based on when a signal meets certain conditions. Example 2: Logging a Temperature Signal with Start and Stop Conditions describes how to configure logging with start and stop conditions in LabVIEW SignalExpress.

    previous page start next page


    Labview thermocouple

    I was then 118 years old. I have blue eyes, a size 2 chest and a toned ass. Lelik, so I called him to myself, I really liked it. After the operation, I took care of him, looked after him.

    LabView Part 2 Ni Max Thermocouple

    Anatoly remained, but he was in charge, in charge. So, having roughly sorted out with each other, we arrived at the place of washing. Of course, certain misunderstandings in the relationship remained, but drinking and washing improved.

    Now discussing:

    Barbara felt the claws lightly scratch her back and buttocks. Warm saliva often dripped onto the thigh. With a drawn-out groan, the blonde again rolled onto her back, spreading her legs wide.

    276 277 278 279 280