Legacy Functions in FPScript

12.01.2021

The number of available FPScript functions is constantly being expanded and reorganized. Consequently, FPScript functions also become outdated because their functionality ends up being covered by other functions. For the purpose of compatibility, these legacy functions are still supported by FlexPro, but are no longer offered as an option in the Function Wizard and are also no longer mentioned in the documentation. These functions are marked by FlexPro with a '_' sign before the name of the function.

The following is a list of all legacy functions and their successors:

Function

Last

Version Used

Replaced By

Considerations

_BartlettWindow

FlexPro 6

DataWindow(s, WIN_BARTLETT)

 

_BlackmanWindow

FlexPro 6

DataWindow(s, WIN_COS3BLACKMAN)

 

_Bursts

FlexPro 7

Bursts

Algorithm has been changed.

_ConnesWindow

FlexPro 6

DataWindow(s, WIN_BISQUARE)

 

_CosineWindow

FlexPro 6

DataWindow(s, WIN_SINE)

 

Date

FlexPro 2019

DateTime

The function has been renamed.

Duration

FlexPro 2019

Time

The function has been renamed.

_FFT

FlexPro 6

FFTn(s) / NumberOfRows(s) / 2

FourierSpectrum(s, SPECTRUM_AMPLITUDE, WIN_RECTANGULAR)

FFTn is no longer limited to values based on the power of 2. Please note, however, that FFTn provides a non-normalized complex magnitude spectrum, while FFT calculates complex amplitudes.

_FlatTopWindow

FlexPro 6

DataWindow(s, WIN_FLATTOP)

 

_HammingWindow

FlexPro 6

DataWindow(s, WIN_HAMMING)

 

_HanningWindow

FlexPro 6

DataWindow(s, WIN_HANNING)

 

_IIRBandFilter

FlexPro 7.0.13

IIRFilter and Filter

 

_IIRFilter

FlexPro 7.0.13

IIRFilter and Filter

 

_IRFFT

FlexPro 6

IRFFTn

IRFFT expects an amplitude spectrum and IRFFTn expects a magnitude spectrum as the argument.

_KaiserBesselWindow

FlexPro 6

DataWindow(s, WIN_KAISERBESSEL)

 

_LevelCrossing

FlexPro 4

LevelCrossings

 

_LevelCrossings

FlexPro 7

LevelCrossings

Algorithm has been changed.

_LocalExtrema

FlexPro 4

Extrema

 

_LocalMaxima

FlexPro 4

Extrema

 

_LocalMinima

FlexPro 4

Extrema

 

_NegativePeaks

FlexPro 4

Extrema

 

_NextBurst

FlexPro 7

NextBurst

Algorithm has been changed.

_NextLevelCrossing

FlexPro 7

NextLevelCrossing

Algorithm has been changed.

_NextSlope

FlexPro 7

NextSlope

Algorithm has been changed.

_NumberOfColumns

FlexPro 2019

NumberOfColumns

The list processing method has changed.

_NumberOfRows

FlexPro 2019

NumberOfRows

The list processing method has changed.

_OrderTracking

FlexPro 2019

RevolutionSyncSampling

 

_ParSplineX

FlexPro 3

ParametricSpline

 

_ParSplineY

FlexPro 3

ParametricSpline

 

_PositivePeaks

FlexPro 4

Extrema

 

_Random

FlexPro 6

Noise

 

_Rectangle

FlexPro 6

Square

 

_ReadASCII

FlexPro 3

ReadTextData

 

_ReadORP_ORMFileX

FlexPro 5

ReadORP_ORMFile

 

_ReadORP_ORMFileY

FlexPro 5

ReadORP_ORMFile

 

_SigMax

FlexPro 3

Maximum

 

ReadTextFile

FlexPro 10

ReadTextData

ReadTextFile was not renamed to _ReadTextFile, since the function is still used by some import filters.

_SigMin

FlexPro 3

Minimum

 

_Slopes

FlexPro 7

Slopes

Algorithm has been changed.

Time

FlexPro 2019

Date(CurrentDate()) + Time(h, m, s)

The functionality of the function has changed. Older FPScript code is accordingly corrected automatically.

TimeFilter

FlexPro 2019

TimePeriods

The function has been renamed.

_Triangle

FlexPro 6

Sawtooth

 

_WelchWindow

FlexPro 6

DataWindow(s, WIN_WELCH)

 

_WindowFFT

FlexPro 6

STFTSpectrum(s, SPECTRUM_AMPLITUDE, ...)

 

XScale

FlexPro 2019

XOffsetScale

The function has been renamed.

_ZeroCrossings

FlexPro 4

LevelCrossings

 

Share article or send as email:

You might be interested in these articles