Browse FAQs

How to calculate standard deviation for a tag value in Vijeo Citect project?

Published date: 19 November 2019

For calculating the Standard Deviation in Citect, there is a inbuilt function is available " TableMath( ) ". You can use this in cicode as shown below:
REAL Array[5]=10,15,50,100,200;
REAL Result=0;
Result = TableMath(Array, 5,3,0);
STDEV = Result;
Where STDEV is a variable tag defined in the project, you need to call this StdDev() function using a button or in events.

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.