Admin Production ni-theme
Current Publication

Configure Acquisition

IVI Compliance Package

IviSpecAn Configure Acquisition

IviSpecAnBase Capability Group

This VI configures the acquisition properties of the spectrum analyzer.

instrument handle The instrument handle that you obtain from the IviSpecAn Initialize or IviSpecAn Initialize With Options VIs.
sweep mode continuous Turns on/off continuous sweeping. The driver uses this value to set the IviSpecAn>>Basic Operation>>Sweep Mode Continuous property.

Valid Values:

TRUE - Sweep mode is continuous.
FALSE - Sweep mode is not continuous.

Default Value: FALSE
number of sweeps The number of sweeps to take. The driver sets the IviSpecAn>>Basic Operation>>Number of Sweeps property to this value.

Default Value: 1
detector type auto Enables the auto detector. The driver uses this value to set the IviSpecAn>>Basic Operation>>Detector Type_AUTO property.

Note:
When the IviSpecAn>>Basic Operation>>Detector Type_AUTO property is set to True,the relationship between the IviSpecAn>>Basic Operation>>Trace Type property and the IVISPECAN__ATTR_DETECTOR_TYP attributeis is not defined.

Valid Values:

TRUE - Detector type is automatically selected.
FALSE - Detector type is manually selected.

Default Value: FALSE
detector type Specifies the method of capturing and processing
signal data. The driver uses this value to set the
IviSpecAn>>Basic Operation>>Detector Type property.

Valid Values:
- IVISPECAN_VAL_DETECTOR_TYPE_AUTO_PEAK - Allows the detector to capture better readings by using both positive and negative peak values when noise is present.

- IVISPECAN_VAL_DETECTOR_TYPE_AVERAGE - Average value of samples taken within the bin for a dedicated point on the display.

- IVISPECAN_VAL_DETECTOR_TYPE_MAX_PEAK - Obtains the maximum video signal between the last display point and the present display point.

- IVISPECAN_VAL_DETECTOR_TYPE_MIN_PEAK - Obtains the minimum video signal between the last display point and the present display point.

- IVISPECAN_VAL_DETECTOR_TYPE_SAMPLE - Pick one point within a bin.

- IVISPECAN_VAL_DETECTOR_TYPE_RMS - RMS value of samples taken within the bin for a dedicated point on the display.

Default Values: IVISPECAN_VAL_DETECTOR_TYPE_AVERAGE
vertical scale Pass the vertical scale of the measurement hardware that you want the spectrum analyzer to use (use of log amplifiers or linear amplifiers). The driver sets the
IviSpecAn>>Basic Operation>>Vertical Scale property to this value.

Defined Values:

IVISPECAN_VAL_VERTICAL_SCALE_LINEAR - Linear
IVISPECAN_VAL_VERTICAL_SCALE_LOGARITHMIC - Logarithmic

Default Value:
IVISPECAN_VAL_VERTICAL_SCALE_LOGARITHMIC
error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

instrument handle out The instrument handle that you obtain from the IviSpecAn Initialize or IviSpecAn Initialize With Options VIs.
error out The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.