Automatically configures the digitizer.

When you call this VI, the digitizer senses the input signal and automatically configures many of the instrument settings. If a signal is detected on a channel, the driver chooses the smallest available vertical range that is larger than the signal range. For example, if the signal is a 1.2 Vpk-pk sine wave, and the device supports 1 V and 2 V vertical ranges, the driver will choose the 2 V vertical range for that channel.

If no signal is found on any analog input channel, a warning is returned and all channels are enabled. A channel is considered to have a signal present if the signal is at least 10% of the smallest vertical range available for that channel.

Related topics


icon

Inputs/Outputs

  • civrn.png instrument handle

    instrument handle identifies a particular instrument session.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iivrn.png instrument handle out

    instrument handle out has the same value as the instrument handle.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Details

    Settings Changed by Auto Setup

    This VI changes the following settings to the following values:

    General
    Acquisition mode Normal
    Reference clock Internal
    Vertical
    Vertical coupling AC (when AC is supported; otherwise DC)
    Vertical bandwidth Full
    Vertical range Changed by Auto Setup
    Vertical offset 0 V
    Probe attenuation Unchanged by Auto Setup
    Input impedance Unchanged by Auto Setup
    Horizontal
    Sample rate Changed by Auto Setup
    Min record length Changed by Auto Setup
    Enforce realtime True
    Number of Records Changed to 1
    Triggering
    Trigger type Edge if signal present, otherwise immediate
    Trigger channel Lowest numbered channel with a signal present
    Trigger slope Positive
    Trigger coupling DC
    Reference position 50%
    Trigger level 50% of signal on trigger channel
    Trigger delay 0
    Trigger holdoff 0
    Trigger output None

    PXIe-5185 and PXIe-5186 Unique Behavior

    Because PXIe-5185 and PXIe-5186 modules have two physical connectors (50 ohm input impedance, 1 Mohm input impedance) for each channel, this VI has unique behavior for these modules.

    When you use niScope Properties to specify the input impedance on either channel or both channels, this VI searches for a signal on only that input connector. If no signal is detected, NI-SCOPE returns a warning and both channels are enabled for the input impedance specified.

    If you do not specify an input impedance, this VI searches for a signal on both input connectors (first on the 50 ohm input connector, then on the 1 Mohm input connector). If NI-SCOPE detects a signal on the 50 ohm connector (default) then it uses that signal. If NI-SCOPE does not detect a signal on the 50 ohm connector, it then searches the 1 Mohm connector for a signal. If a signal is not detected on any connectors, NI-SCOPE returns a warning and both channels are enabled with 50 ohm impedance.