
14–20 RSView32 User’s Guide
_____________________________
INTERVAL(“1 min”)
Returns 1 (true) if a minute has elapsed since the expression last
returned a 1.
_____________________________
(tag1 > 500) and INTERVAL (“30 sec”)
Returns 1 (true) when tag1 > 500 on some 30–second interval since
the event file started running. (It does not mean 30 seconds after
tag1 > 500.)
File functions
The following built–in functions check if a file exists and check the
amount of free disk space.
The file parameter is the MS-DOS
®
path name, surrounded by quotes.
The drive parameter is the drive letter.
These are the functions:
This function Returns this value Example
FILE_EXISTS(“file”) 1 (true) if the specified
file exists.
FILE_EXISTS
“C:\Proj1\Dlglog\Aug\970412bf.dbf ”
returns 1 (true) if the file exists or 0 (false)
if the file does not exist.
Use this function to set a tag when a
specified file has been created or deleted.
Kommentare zu diesen Handbüchern