Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ThermocoupleType

Select thermocouple type

Description

When working with the session-based interface, use the ThermocoupleType property to select the type of thermocouple you will use to make your measurements. Select the type based on the temperature range and sensitivity you need.

Values

You can set the ThermocoupleType to:

  • 'J'

  • 'K'

  • 'N'

  • 'R'

  • 'S'

  • 'T'

  • 'B'

  • 'E'

By default the thermocouple type is 'Unknown'.

Example

Specify Thermocouple Type

Create a session and add an analog input channel with 'Thermocouple' measurement type.

s = daq.createSession('ni');
ch = addAnalogInputChannel(s,'cDAQ1Mod6','ai1','Thermocouple')
ch = 

Data acquisition analog input thermocouple channel 'ai1' on device 'cDAQ1Mod6':

           Units: Celsius
ThermocoupleType: Unknown
           Range: 0 to +750 Celsius
            Name: ''
              ID: 'ai1'
          Device: [1x1 daq.ni.CompactDAQModule]
 MeasurementType: 'Thermocouple'
   ADCTimingMode: HighResolution

Set the ThermocoupleType property to 'J'.

ch.Thermocoupletype = 'J'
ch = 

Data acquisition analog input thermocouple channel 'ai1' on device 'cDAQ1Mod6':

           Units: Celsius
ThermocoupleType: J
           Range: 0 to +750 Celsius
            Name: ''
              ID: 'ai1'
          Device: [1x1 daq.ni.CompactDAQModule]
 MeasurementType: 'Thermocouple'
   ADCTimingMode: HighResolution
Was this topic helpful?