8 conversion functions, 9 time functions, 10 start option functions – Campbell Scientific RTMC Pro Real-Time Monitor and Control Professional Software User Manual
Page 32: Conversion functions, Time functions, Start option functions
RTMC Pro
2.4.8 Conversion Functions
The following functions perform a type conversion on a value. See the online
help for more information.
Function
Description
ToDate
Converts a value to a date.
ToFloat
Converts a value to a floating point number.
ToInt
Converts a value to an integer.
2.4.9 Time Functions
The following functions involve a timestamp or the system time. See the online
help for information about the parameters required for each function.
Function
Description
FormatTime
Produces a string that formats a timestamp in the
manner specified.
SetTimestamp
Returns the value specified and sets its timestamp
to the timestamp specified.
SystemTime
Returns the current computer time.
SystemTimeGMT
Returns the current GMT (Greenwich Mean
Time) system time.
Timestamp
Returns the timestamp associated with the record
from which a value is derived.
2.4.10 Start Option Functions
The following functions determine when RTMC begins processing data. See
the online help for information about the parameters required for each function.
Function
Description
StartAfterNewest
No records are processed until a new record has
been collected.
StartAtNewest Attempts
to start processing at the newest record
in the table.
StartAtOffsetFromNewest Attempts to start processing with the record at the
specified offset back from the newest record in
the table.
StartAtRecord
Attempts to start processing at the specified file
mark and record number. If the specified record
cannot be located, it starts processing at the
oldest record in the source table.
StartAtTime
Attempts to start processing at the record that is
closest to the specified timestamp.
StartRelativeToNewest
Attempts to start processing with the first record
whose timestamp is greater than or equal to the
newest record’s timestamp minus the specified
interval.
26