Function Reference
This reference discusses functions outside the language scope that can be used in the formula editor. For the semantics of function calls, please refer to this section.
Alphabetical List of Functions
A .. B
abs(x)abs(x1, ..., xN)acos(x)acosh(x)asin(x)asinh(x)atan(x)atanh(x)atanYX(y,x)bAnd(x1, ..., xN)bCount(x)bNAnd(x1, ..., xN)bNOr(x1, ..., xN)bNot(x)bNXor(x1, ..., xN)bOr(x1, ..., xN)bool(x)bSet(x,n,v)bShift(x,n)bTest(x,n)buffer(x, ..., {...})bXor(x1, ..., xN)
C .. D
C2F(temperature)C2K(temperature)catch(x, {...})ceil(x)ceil2i(x)cos(x)cosh(x)counter(u, ..., {...})Cross(U,V)decodeTime(t, ...)deg2rad(x)delay(s, ..., {...})deltaT(x)deltaY(x)derive(x)Det(M)dbl(x)dFF(clock, data)dirac()dLatch(hold, data)
E .. H
exp(x)exp10(x)exp2(x)expm1(x)F2C(temperature)F2K(temperature)filter(x, ..., {...})find(x, {...})floor(x)floor2i(x)GetCol(X, ..., {...})getField()GetRow(X, ..., {...})GetSlice(X, ..., {...})GetSub(X, ..., {...})
I .. K
int(x)integrate(y, ...)isConnected(channel)isDefault(channel)isEmpty(channel)isError(x)isMatrix(x)isScalar(x)isTensor(x)isTimeout(channel)isVector(x)jkFF(clock, data)K2C(temperature)K2F(temperature)kph2mph(speed)
L .. M
Length(V)lg2(x)ln(x)ln1p(x)log(x)lookup(x, ..., {...})LUDecomp(M)Matrix(r, c, ...)max(x1, ...xN)mean(x1, ...xN)memory(...)MIdent(size)min(x1, ...xN)mph2kph(speed)MRot(alpha, ...)MRotEuler(a,b,g)MRotYPR(y,p,r)mvAvg(x, {...})mvMax(x, {...})mvMin(x, {...})mvRMS(x, {...})
N .. R
negedge(y)nonZero(x)Normalize(v, ...)onchange(y)periodic(e, ..., {...})pidCtrl(sp, cur, ..., {...})playback(c, ..., {...})poly(x, an, ...a1, a0)posedge(y)pow(x,y)prioEnc(e0, e1, ..., {...})pulse(s, ..., {...})qb(x)qbrt(x)rad2deg(x)rampLimit(x,...)range(x, ..., {...})rms(x1, ...xN)round(x)round2i(x)rsFF(reset, set)
S
sample(x)sCopy(s, ...)select(i, s0, s1...)selectRow()sErase(s, b, ...)sFind(s, p, ..., {...})sFormat(f, ...)sGetKV(s, k, {...})sGetLine(s, {...})sgn(x, ...)shiftT(x, dT)sin(x)sinh(x)sInsert(s, b, t)SizeOf(X)sLeft(s, l)sLength(s)sLine(s, i)sLines(s)sLower(s)sNormalize(s)sq(x)sqrt(x)sReplace(s, t1, s1, ...)sResource({@ref:'myResource'})sRight(s, l)sScan(f, s)sSimplify(s)sSplit(s, ch, {...})states(..., {...})stopwatch(p, ..., {...})sTrim(s)str(x)sumup(x, trigger, ..., {...})sUpper(s)
T .. Z
tan(x)tanh(x)Tensor(s, r, c, ...)threshold(x, ..., {...})time()time(x)timer({...})Trans(A)transit(..., {...})trigger(x, ..., {...})trunc(x)typeOf(x)uint(x)value(x, ...)Vector(size, ...)ztf(x, ..., B, A, {...})
List of Functions by Category
Type conversions
Algebraic Functions
Transcendental Functions
Trigonometric and Arc Functions
Angle Conversions
Hyperbolic and area functions
Control and Regulation
Tables and Databases
Integration, Differentiation
Filters and Discrete Signal Processing
buffer(x, ..., {...})catch(x, {...})filter(x, ..., {...})find(x, {...})mvAvg(x, {...})mvMax(x, {...})mvMin(x, {...})mvRMS(x, {...})sample(x)trigger(x, ..., {})ztf(x, ..., B, A, {...})
Linear Algebra
Cross(U,V)Det(M)GetCol(X, ..., {...})GetRow(X, ..., {...})GetSlice(X, ..., {...})GetSub(X, ..., {...})isMatrix(x)isScalar(x)isTensor(x)isVector(x)Length(V)LUDecomp(M)Matrix(r, c, ...)MIdent(size)MRot(alpha, ...)MRotEuler(a,b,g)MRotYPR(y,p,r)Normalize(v, ...)SizeOf(X)Tensor(s, r, c, ...)Trans(A)Vector(size, ...)
Binary Logic and Logic Building Blocks
Bit Logic
bAnd(x1, ..., xN)bCount(x)bNAnd(x1, ..., xN)bNOr(x1, ..., xN)bNot(x)bNXor(x1, ..., xN)bOr(x1, ..., xN)bSet(x,n,v)bShift(x,n)bTest(x,n)bXor(x1, ..., xN)
Memory
Edges, Signal Changes
Decoders, Multiplexers
Text Functions
sCopy(s, ...)sErase(s, b, ...)sFind(s, p, ..., {...})sFormat(f, ...)sGetKV(s, k, {...})sGetLine(s, {...})sInsert(s, b, t)sLeft(s, l)sLength(s)sLine(s, i)sLines(s)sLower(s)sNormalize(s)sReplace(s, t1, s1, ...)sResource({@ref:'myResource'})sRight(s, l)sScan(f, s)sSimplify(s)sSplit(s, ch, {...})sTrim(s)sUpper(s)
Counting and timing functions
counter(u, ..., {...})delay(s, ..., {...})dirac()periodic(e, ..., {...})pulse(s, ..., {...})stopwatch(p, ..., {...})timer({...})decodeTime(t, ...)
Physical Units
C2F(temperature)C2K(temperature)F2C(temperature)F2K(temperature)K2C(temperature)K2F(temperature)kph2mph(speed)mph2kph(speed)
Utility Functions
abs(x)abs(x1, ...xN)ceil(x)ceil2i(x)deltaT(x)deltaY(x)floor(x)floor2i(x)isConnected(channel)isDefault(channel)isEmpty(channel)isError(x)isTimeout(channel)max(x1, ...xN)mean(x1, ...xN)min(x1, ...xN)nonZero(x)rampLimit(x,...)range(x, ..., {...})rms(x1, ...xN)round(x)round2i(x)sgn(x, ...)shiftT(x, dT)threshold(x, ..., {})time()time(x)trunc(x)typeOf(x)value(x, ...)
Deprecated
hyst(t, h, x)is deprecated; seetrigger(x, ..., {})orthreshold(x, ..., {})for replacementshyst(x, {...})is deprecated; seetrigger(x, ..., {})orthreshold(x, ..., {})for replacements