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, according to the NIST Thermocouple Types Definitions.

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: -210 to +1200 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: -210 to +1200 Celsius
            Name: ''
              ID: 'ai1'
          Device: [1x1 daq.ni.CompactDAQModule]
 MeasurementType: 'Thermocouple'
   ADCTimingMode: HighResolution