8 conversion functions, 9 time functions, 10 start option functions – Campbell Scientific RTDAQ Software User Manual

Page 250

Advertising
background image

Section 8. Real-Time Monitoring and Control Software

Function

Description

Right

Returns a substring that is a defined number of
characters from the right side of the original string.

RTrim

Returns a copy of a string with no trailing spaces.

Space

Returns a string value that is filled with a defined
number of spaces

StrComp

Compares two strings by subtracting the characters in
one string from the characters in another.

StrReverse

Returns a copy of a string with the characters in reverse
order.

Trim

Returns a copy of a string with no leading or trailing
spaces.

8.1.5.8 Conversion Functions

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.

8.1.5.9 Time Functions

Function

Description

FormatTime

Produces a string that formats a timestamp in the
manner 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.

8.1.5.10 Start Option Functions

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.

8-16

Advertising