Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

SCXI Thermocouple Acquisition Using Visual Basic

1 ratings | 5.00 out of 5
Print

Downloads

Filename: scxithermocouples.zip
Requirements: View

This example, written in Microsoft Visual Basic 6.0, shows how to convert thermocouple measurements to temperature using an SCXI input module. Cold Junction Compensation (CJC) is used to account for any offset in temperature between the thermocouple leads and the measurement system. Many SCXI terminal blocks include a special channel for reading the cold junction compensation. To make the actual thermocouple temperature measurement, this example measures the voltage from the thermocouple and CJC sensor. Then it converts the CJC sensor measurement into a CJC temperature and passes the thermocouple voltage and CJC temperature to a conversion function to calculate the thermocouple temperature. To run the example, specify the device and SCXI channel string for the thermocouple channels. This example will average a number of readings from each channel to account for noise in the system. Specify the thermocouple type, CJC sensor channel, and CJC sensor type before running the example.

Requirements


Filename: scxithermocouples.zip

Software Requirements


Application Software: Measurement Studio Visual Basic Support 6.0
Language(s): Visual Basic
Additional Software: Visual Basic 6.0

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Driver: Traditional NI-DAQ (Legacy)

 
1 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).