SlideShare a Scribd company logo
LabVIEW 
Tutorials 
 
T.1 Temperature Measurement 
and Cold Junction 
Compensation (CJC) 
 
 
 
 
LUMS School of Science and Engineering 
Umer Hassan & Muhammad Sabieh Anwar 
 
 
 
Introduction:  
In  this  tutorial  we  shall  learn  how  to  measure  temperature  using  NI  DAQ  Cards  and  LabVIEW  while 
employing cold junction compensation in real time. Thermocouples require some form of temperature 
reference  to  compensate  for  the  cold  junctions.  The  most  common  method  is  to  measure  the 
temperature at the reference junction with a direct‐reading temperature sensor. This process is called 
cold‐junction compensation (CJC).  
Procedure:  
Follow the following illustrative step by step procedure to measure temperature using thermocouples.  
Start Measurement & Automation Explorer. 
Under Configuration, select My System then select Data Neighborhood, following dialog box appears. 
 
Click NI‐DAQmx Global Virtual Channel 
On the following window, click, Create New NI‐DAQmx Channel, 
 
 
On clicking, Create New NI‐DAQmx Global Virtual Channel, a dialog box appears which asks you 
whether you want to create or acquire a signal. 
Select Acquire Signal, and then select Analog Input and then Voltage,  as shown in the below picture. 
  
 
On clicking Voltage, following dialog box appears which asks you which Physical Channel acts as virtual 
channel. 
Current SCC‐68 connections: 
PIN 57 (AI 7) is connected to PIN 70 (CJC+)  
PIN 56 (AI GND) to PIN 71 (AI GND). 
 
Thus, on the following dialog box select AI 7 and click on Next. 
 
 
The dialog box appears which asks you to write a desired name for the global virtual channel.  
We named RT‐CJC and then click on Finish. 
 
 
 
The following window appears. 
 
 
Make the Terminal Configuration to RSE, under the Settings tab, set the signal Input Range to Max 10 
and Min ‐10. And select Volts as Scaled Units. 
 
Click on the Connection Diagram tab, at the lower bottom of the dialog box. 
It shows you the connection diagram of the existing channel, which is shown below. 
Make sure the connections on the diagram should be same as of the SCC‐68. 
 
 
Now click on the NI‐DAQmx Global Channel again, and under the Voltage Input Setup, scroll down 
Custom Scaling and select Create New. 
Following Dialog box appears. 
 
 
Click on Table, the following window asks you to enter the name of the scale, e.g. Steinhart‐calibration 
Click Finish, following dialog box appears. 
 
Click on Import, Now we have to import the calibration file (Steinhart.txt), the import file wizard shows 
you the calibration table as follows, 
 
Click Ok.   
The table has been added as shown below.  
 
 
 
Click OK, now the Custom Scaling should read as Steinhart‐calibration. 
On the following dialog box, click Save. 
 
A global virtual channel has been created; now close the Measurement & Automation Explorer. 
 
Now go to LabVIEW, Open a new VI 
In Block Diagram, place a DAQ Assistant, the following dialog box appears 
 
Select Acquire Signals, Analog Input, and Temperature and finally select Thermocouple. 
Select the physical channel, at which you connected the thermocouple, let’s say AI 0 
Select the channel and click on finish. 
Following dialog box appears 
 
Under the Thermocouple Setup, set the following parameters as, 
Signal Input range: The range of the input temperature you are acquiring 
Scaled Units: The different temperature units (C, F, K) 
Thermocouple Type: Select the type of the thermocouple which you are using (identified using color 
codes)  
CJC Source: Define the CJC source as Constant, Channel, or Built in. For the real time cold junction 
compensation measurements, define it to Channel. 
CJC Channel: Select the RT‐CJC channel which we have just created 
Acquisition Mode: Select this to Continuous samples. 
 
 
Click Ok. 
Place a Graph Indicator at the output i.e. Data of the DAQ assistant and click on Run button. Place a 
while loop around it to continuously run the file, as shown,  
 
 
Check the Front Panel. 
 
 
 
 
Graph Indicator shows you the temperature while performing cold junction compensation in real time. 
Find the average of the acquired temperature for eliminating noise.  
 
Important Note:  
Turn the switch ON labeled as SW1 on SCC‐68 Card. The light turned as the switch turns ON. This switch 
provides the power to the thermistor circuit which is performing the real time cold junction 
compensation. 
 
 
 
Enjoy!!!!!!!! 

More Related Content

DOCX
Cold junction compensation
PPSX
Thermocouple
PPT
Pe 4030 ch 2 sensors and transducers part 2 flow level temp light
PPTX
Mems sensor
PPTX
The thermo electric effect
PPTX
Rotameter
PPTX
Seebeck effect & peltier effect
PPT
thermocouple ppt
Cold junction compensation
Thermocouple
Pe 4030 ch 2 sensors and transducers part 2 flow level temp light
Mems sensor
The thermo electric effect
Rotameter
Seebeck effect & peltier effect
thermocouple ppt

Similar to Cjc tutorial (20)

DOCX
ME401 Experimental Design Lab Report
DOCX
Last Rev. August 2014 Calibration and Temperature Measurement.docx
PDF
VLSI lab manual Part B, VTU 7the sem KIT-tiptur
PPT
Notes arduino workshop_15
DOCX
manual for WIM card programming
PDF
FINE FIRE BIM SOFTWARE - Step by step tutorial guide
PDF
Hm 5750 manual-0817
PPT
DIGSI presentation Test universe software
PDF
Cn mx3000 p_20120808e
PDF
Experiment #1 in Instrumentation And Dynamic Systems Lab : Calibration
PDF
Internet of Things exercise on IBM Bluemix
PDF
Kpsi User Guide Model 500
DOCX
Kmem 3116 al2 report (keb090001)
PDF
An Approach to LabVIEW Based Temperature & Relative Humidity Monitoring System
PDF
How to Build a Digital Weighing Scale
PDF
63610-80-20 CalibrationTC
PPTX
Overview of embedded system
PDF
Heat pump design using peltier element For temperature control of the flow cell
PPTX
PSpice Tutorial_2015.pptx
PPTX
Computer hardware troubleshooting
ME401 Experimental Design Lab Report
Last Rev. August 2014 Calibration and Temperature Measurement.docx
VLSI lab manual Part B, VTU 7the sem KIT-tiptur
Notes arduino workshop_15
manual for WIM card programming
FINE FIRE BIM SOFTWARE - Step by step tutorial guide
Hm 5750 manual-0817
DIGSI presentation Test universe software
Cn mx3000 p_20120808e
Experiment #1 in Instrumentation And Dynamic Systems Lab : Calibration
Internet of Things exercise on IBM Bluemix
Kpsi User Guide Model 500
Kmem 3116 al2 report (keb090001)
An Approach to LabVIEW Based Temperature & Relative Humidity Monitoring System
How to Build a Digital Weighing Scale
63610-80-20 CalibrationTC
Overview of embedded system
Heat pump design using peltier element For temperature control of the flow cell
PSpice Tutorial_2015.pptx
Computer hardware troubleshooting
Ad

More from Animesh Kumar (13)

DOCX
10th class weaker students case
PDF
Model selection
PDF
Portfolios, mutual funds class
PDF
2016 may cover
PDF
2016 june cover
PDF
2016 april cover
PDF
2016 march cover
PDF
Spss tutorial-cluster-analysis
PDF
Pen drive bootable
PDF
Mit18 05 s14_class4slides
PDF
Mit18 05 s14_class3slides
PDF
Mit18 05 s14_class2slides
PDF
Mit18 05 s14_class2slides
10th class weaker students case
Model selection
Portfolios, mutual funds class
2016 may cover
2016 june cover
2016 april cover
2016 march cover
Spss tutorial-cluster-analysis
Pen drive bootable
Mit18 05 s14_class4slides
Mit18 05 s14_class3slides
Mit18 05 s14_class2slides
Mit18 05 s14_class2slides
Ad

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Artificial Intelligence
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Current and future trends in Computer Vision.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT
Mechanical Engineering MATERIALS Selection
PDF
composite construction of structures.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CYBER-CRIMES AND SECURITY A guide to understanding
Fundamentals of safety and accident prevention -final (1).pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Artificial Intelligence
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Safety Seminar civil to be ensured for safe working.
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
OOP with Java - Java Introduction (Basics)
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Current and future trends in Computer Vision.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Model Code of Practice - Construction Work - 21102022 .pdf
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Mechanical Engineering MATERIALS Selection
composite construction of structures.pdf

Cjc tutorial