Documentation

This is machine translation

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

MeasurementType

Channel measurement type

Description

When working with the session-based interface, the MeasurementType property displays the selected measurement type for your channel.

Values

You can only use Audio measurement type with multichannel audio devices.

Counter measurement types include:

  • 'EdgeCount' (input)

  • 'PulseWidth' (input)

  • 'Frequency'(input)

  • 'Position'(input)

  • 'PulseGeneration' (output)

Analog measurement types include:

  • 'Voltage' (input and output)

  • 'Thermocouple' (input)

  • 'Current' (input and output)

  • 'Accelerometer' (input)

  • 'RTD' (input)

  • 'Bridge' (input)

  • 'Microphone' (input)

  • 'IEPE' (input)

Examples

Create a session object, add a counter input channel, with the 'EdgeCount' MeasurementType.

s = daq.createSession('ni');
ch = addCounterInputChannel (s,'cDAQ1Mod5', 0, 'EdgeCount')
ch = 

Data acquisition counter input edge count channel 'ctr0' on device 'cDAQ1Mod5':

      ActiveEdge: Rising
  CountDirection: Increment
    InitialCount: 0
        Terminal: 'PFI8'
            Name: empty
              ID: 'ctr0'
          Device: [1x1 daq.ni.DeviceInfo]
 MeasurementType: 'EdgeCount'
Was this topic helpful?