Admin Production ni-theme
Current Publication

Configure Level

IVI Compliance Package

IviSpecAn Configure Level

IviSpecAnBase Capability Group

This VI configures the vertical settings of the spectrum analyzer. This corresponds to settings like amplitude units, input attenuation, input impedance, reference level, and reference level offset.

instrument handle The instrument handle that you obtain from the IviSpecAn Initialize or IviSpecAn Initialize With Options VIs.
amplitude units Pass the units you want the spectrum analyzer to use for input, output, and display. The driver sets the IviSpecAn>>Basic Operation>>Amplitude Units to this value.

Valid Values:
- IVISPECAN_VAL_AMPLITUDE_UNITS_DBM - Sets the
spectrum analyzer to measure in decibels relative to 1
milliwatt.

- IVISPECAN_VAL_AMPLITUDE_UNITS_DBMV - Sets the
spectrum analyzer to measure in decibels relative to 1
millivolt.

- IVISPECAN_VAL_AMPLITUDE_UNITS_DBUV - Sets the
spectrum analyzer to measure in decibels relative to 1
microvolt.

- IVISPECAN_VAL_AMPLITUDE_UNITS_VOLT - Sets the
spectrum analyzer to measure in volts.

- IVISPECAN_VAL_AMPLITUDE_UNITS_WATT - Sets the
spectrum analyzer to measure in watts.

Default value: IVISPECAN_VAL_AMPLITUDE_UNITS_VOLT
input impedance Specifies the value of input impedance, in ohms, expected at the active input port. This is typically 50 ohms or 75 ohms. The driver uses this value to set the IviSpecAn>>Basic Operation>>Input Impedance property.

Units: Ohms

Default Value: 50 ohms
reference level The calibrated vertical position of the captured data used as a reference for amplitude measurements. This is typically set to a value slightly higher than the highest expected signal level. The driver uses this value to set the IviSpecAn>>Basic Operation>>Reference Level property.

Units: The units are determined by setting the Amplitude Units parameter of this VI or by setting IviSpecAn>>Basic Operation>>Amplitude Units property.

Default Value: 0.0
reference level offset Specifies the offset value to the reference level. This adjusts the reference level for external signal gain or loss. A positive value corresponds to a gain while a negative number corresponds to a loss. The driver uses this value to set the IviSpecAn>>Basic Operation>>Reference Level_OFFSET property.

Units: dB

Default Value: 0.0
attenuation auto Specifies whether the spectrum analyzer is enabled for auto attenuation. When you set this value to TRUE, the attenuation is automatically selected. When you set this value to FALSE, the attenuation is set to manual selection. The driver uses this value to set the IviSpecAn>>Basic Operation>>Attenuation_AUTO property.

Valid Values:

TRUE - Attenuation is automatically selected
FALSE - Attenuation is manually selected

Default Value: FALSE
attenuation Specifies the input attenuation (in positive dB). This means that if 10dB is selected, the result is a reduction in the signal level of 10 dB. The driver uses this value to set the IviSpecAn>>Basic Operation>>Attenuation property.

Units: dB

Default Value: 0.0

Note:

If auto attenuation is turned on, this value is ignored.
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.