LabVIEW Sound and Vibration API Reference

SVFA Phase Unit Conversion VI

  • Updated2024-06-18
  • 14 minute(s) read

SVFA Phase Unit Conversion VI

Owning Palette: Spectrum Extended Measurements VIs

Requires: Sound and Vibration Toolkit

Converts phase spectra between degrees, radians, and cycles. Wire data to the phase spectrum input to determine the polymorphic instance to use or manually select the instance.

Details  

SVFA Phase Unit Conversion (Spectrum) (1 Ch)

phase spectrum specifies the frequency spacing and the phase of the spectrum. The units for phase spectrum are specified in spectrum info in.
f0 specifies the start frequency, in hertz, of the spectrum.
df specifies the frequency resolution, in hertz, of the spectrum.
phase specifies the phase of the spectrum.
desired units specifies whether the converted phase is returned in units of radians, degrees, or cycles.

0No change (default)
1Radians
2Degrees
3Cycles
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can right-click the spectrum info in wire and select Custom Probe»Spectrum Info from the shortcut menu.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
converted phase spectrum returns the converted phase spectrum scaled according to the desired units.
f0 returns the start frequency, in hertz, of the spectrum.
df returns the frequency resolution, in hertz, of the spectrum.
phase returns the phase of the spectrum.
unit label returns the engineering units.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can right-click the spectrum info out wire and select Custom Probe»Spectrum Info from the shortcut menu.
error out contains error information. This output provides standard error out functionality.

SVFA Phase Unit Conversion (Spectrum) (N Ch)

phase spectra specifies the abscissa scaling and the phase for each spectrum. The units for phase spectra are specified in spectrum info in.
x0 specifies the start frequency or order of the spectrum. The default is 0.00.
dx specifies the frequency or order resolution of the spectrum. The default is 0.00.
phase specifies the phase of the spectrum.
desired units specifies whether the converted phase is returned in units of radians, degrees, or cycles.

0No change (default)
1Radians
2Degrees
3Cycles
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can create a custom probe.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
converted phase spectra returns the converted phase spectra scaled according to the desired units.
x0 returns the start frequency or order of the spectrum.
dx returns the frequency or order resolution of the spectrum.
phase returns the phase of the spectrum.
unit labels returns the selected engineering units for each channel.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can create a custom probe.
error out contains error information. This output provides standard error out functionality.

SVFA Phase Unit Conversion (Spectrum) (NxM)

phase spectra specifies the abscissa scaling and the phase for each spectrum. The units for phase spectra are specified in spectrum info in.
x0 specifies the start frequency or order of the spectrum. The default is 0.00.
dx specifies the frequency or order resolution of the spectrum. The default is 0.00.
phase specifies the phase of the spectrum.
desired units specifies whether the converted phase is returned in units of radians, degrees, or cycles.

0No change (default)
1Radians
2Degrees
3Cycles
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can create a custom probe.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
converted phase spectra returns the converted phase spectra scaled according to the desired units.
x0 returns the start frequency or order of the spectrum.
dx returns the frequency or order resolution of the spectrum.
phase returns the phase of the spectrum.
unit labels returns the selected engineering units for each channel.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can create a custom probe.
error out contains error information. This output provides standard error out functionality.

SVFA Phase Unit Conversion (XY Spectrum) (1 Ch)

phase spectrum specifies the abscissa scaling and the phase of the spectrum. The units for phase spectrum are specified in spectrum info in.
X specifies the abscissa of the phase spectrum.
phase specifies the phase of the spectrum.
desired units specifies whether the converted phase is returned in units of radians, degrees, or cycles.

0No change (default)
1Radians
2Degrees
3Cycles
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can right-click the spectrum info in wire and select Custom Probe»Spectrum Info from the shortcut menu.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
converted phase spectrum returns the converted phase spectrum scaled according to the desired units.
X returns the abscissa of the phase spectrum.
phase returns the phase of the spectrum.
unit label returns the engineering units.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can right-click the spectrum info out wire and select Custom Probe»Spectrum Info from the shortcut menu.
error out contains error information. This output provides standard error out functionality.

SVFA Phase Unit Conversion (XY Spectrum) (N Ch)

phase spectra specifies the abscissa scaling and the phase for each spectrum. The units for phase spectra are specified in spectrum info in.
X specifies the abscissa of the phase spectrum.
phase specifies the phase of the spectrum.
desired units specifies whether the converted phase is returned in units of radians, degrees, or cycles.

0No change (default)
1Radians
2Degrees
3Cycles
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can create a custom probe.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
converted phase spectra returns the converted phase spectra scaled according to the desired units.
X returns the abscissa of the phase spectrum.
phase returns the phase of the spectrum.
unit labels returns the selected engineering units for each channel.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can create a custom probe.
error out contains error information. This output provides standard error out functionality.

SVFA Phase Unit Conversion (XY Spectrum) (1 Ch, M Orders)

phase spectra specifies the abscissa scaling and the phase for each spectrum. The units for phase spectra are specified in spectrum info in.
X specifies the abscissa of the phase spectrum.
phase specifies the phase of the spectrum.
desired units specifies whether the converted phase is returned in units of radians, degrees, or cycles.

0No change (default)
1Radians
2Degrees
3Cycles
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can right-click the spectrum info in wire and select Custom Probe»Spectrum Info from the shortcut menu.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
converted phase spectra returns the converted phase spectra scaled according to the desired units.
X returns the abscissa of the phase spectrum.
phase returns the phase of the spectrum.
unit label returns the engineering units.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can right-click the spectrum info out wire and select Custom Probe»Spectrum Info from the shortcut menu.
error out contains error information. This output provides standard error out functionality.

SVFA Phase Unit Conversion (XY Spectrum) (N Ch, M Orders)

phase spectra specifies the abscissa scaling and the phase for each spectrum. The units for phase spectra are specified in spectrum info in.
X specifies the abscissa of the phase spectrum.
phase specifies the phase of the spectrum.
desired units specifies whether the converted phase is returned in units of radians, degrees, or cycles.

0No change (default)
1Radians
2Degrees
3Cycles
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can create a custom probe.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
converted phase spectra returns the converted phases scaled according to the desired units.
X returns the abscissa of the phase spectrum.
phase returns the phase of the spectrum.
unit labels returns the selected engineering units for each channel.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can create a custom probe.
error out contains error information. This output provides standard error out functionality.

SVFA Phase Unit Conversion Details

The following ratios are used to perform phase unit conversions:

180 deg = pi rad = 0.5 cycle