beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 320

background image

P

OP

D

EV

(

ELEMENT

,

COUNT

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

304

P

OP

D

EV

(

ELEMENT

,

COUNT

)

A

RGUMENT

T

YPE

D

ESCRIPTION

element

int / float

The first array element to be processed.

count

int

The number of elements to be processed.

D

ESCRIPTION

Returns the standard deviation of the

count

array elements from

element

onwards, assuming

the data points to represent the whole of the population under study. If you need to find the
standard deviation of a sample, use the

StdDev

function instead.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

float

.

E

XAMPLE

Dev := PopDev(Data[0], 10)