18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix: Built-in Scripting Language<br />

Syntax<br />

Cot( numAngle )<br />

numAngle<br />

The Angle (in radians) from which to calculate the Cotangent.<br />

Returned value<br />

Returns the Cotangent of numAngle.<br />

Note: Although mathematically the tangent of Pi is infinite, IWS only returns the largest number<br />

possible.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag Cot( 0.785398 ) // Returned value = 1.000000<br />

Tag Cot( 0 ) // Returned value = 0.00000<br />

Pi<br />

Calculates the value of pi.<br />

Function Group Execution Windows Embedded Thin Client<br />

Pi Trigonometric Synchronous Supported Supported Supported<br />

Syntax<br />

Pi()<br />

This function takes no parameters. You must still include the parentheses, however, or it will be evaluated as<br />

a tag rather than a function.<br />

Returned value<br />

Returns the value of pi.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag Pi() // Returned value = 3.141593<br />

Sin<br />

Function Group Execution Windows Embedded Thin Client<br />

Sin Trigonometric Synchronous Supported Supported Supported<br />

Description<br />

Calculates the Sine of a value.<br />

<strong>InduSoft</strong> Web Studio Page 577

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!