Section 5. Real-Time Tools
5.2.1.4.2 Order of Precedence
When processing mathematical expressions, the order of precedence is:
•
Anything inside parentheses ( )
•
Exponentiation ^
•
Negation (unary) –
•
Multiplication *, division /
•
Modulo (remainder) MOD
•
Ad, subtraction –
When consecutive operators have the same priority, the expression evaluates
from left to right. This means that an expression such as a-b-c is evaluated as
(a-b)-c.
5.2.1.4.3 Predefined Constants
Constant
Description
e 2.718282
PI 3.141593
True –1
False 0
NOPLOT NAN
NAN
NAN (not a number)
INF
INF (non-finite number)
5.2.1.4.4 Predefined Time Constants
These predefined time constants can be useful as a parameter for the Functions
with State, where the interval parameter must be specified in nanoseconds.
Constant
Description
nsecPerUSec
Number of nanoseconds in a microsecond
nsecPerMSec
Number of nanoseconds in a millisecond
nsecPerSec
Number of nanoseconds in a second
nsecPerMin
Number of nanoseconds in a minute
nsecPerHour
Number of nanoseconds in an hour
5-47
Содержание LoggerNet
Страница 2: ......
Страница 30: ...Preface What s New in LoggerNet 4 xxvi...
Страница 32: ...Section 1 System Requirements 1 2...
Страница 44: ...Section 2 Installation Operation and Backup Procedures 2 12...
Страница 136: ...Section 4 Setting up Datalogger Networks 4 80...
Страница 227: ...Section 7 Creating and Editing Datalogger Programs 7 9...
Страница 298: ...Section 7 Creating and Editing Datalogger Programs 7 80...
Страница 402: ...Section 9 Automating Tasks with Task Master 9 12...
Страница 406: ...Section 9 Automating Tasks with Task Master 9 16...
Страница 450: ...Section 11 Utilities Installed with LoggerNet Admin and LoggerNet Remote 11 22...
Страница 454: ...Section 12 Optional Client Applications Available for LoggerNet 12 4...
Страница 462: ...Section 13 Implementing Advanced Communications Links 13 8...
Страница 482: ...Section 14 Troubleshooting Guide 14 20...
Страница 570: ...Appendix F Calibration and Zeroing F 16...
Страница 578: ...Appendix G Importing Files into Excel G 8...
Страница 579: ......