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.

ShuntLocation

Indicate location of channel's shunt resistor

Description

When working with the session-based interface, ShuntLocation on the analog input current channel indicates if the shunt resistor is located internally on the device or externally. Values are:

  • 'Internal': when the shunt resistor is located internally.

  • 'External': when the shunt resistor is located externally.

If your device supports an internal shunt resistor, this property is set to Internal by default. If the shunt location is external, you must specify the shunt resistance value.

Example

Specify Shunt Location

Set the shunt location of an analog input current channel.

Create a session and add an analog input current channel.

s = daq.createSession('ni')
ch = addAnalogInputChannel(s,'cDAQ1Mod7',0,'Current');

Set the ShuntLocation to Internal.

ch.ShuntLocation = 'Internal'
ch = 

Data acquisition analog input current channel 'ai0' on device 'cDAQ1Mod7':

  ShuntLocation: Internal
ShuntResistance: 20
       Coupling: DC
 TerminalConfig: Differential
          Range: -0.025 to +0.025 A
           Name: ''
             ID: 'ai0'
         Device: [1x1 daq.ni.CompactDAQModule]
MeasurementType: 'Current'
  ADCTimingMode: HighResolution

See Also

Was this topic helpful?