Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


8.13.2 Alert (display or clear user error icons)

Purpose

Displays or clears user error icons in the status bar of Trace Viewer.

Syntax
Alert ([Mode])
Argument
Mode

Specify the status of Trace Viewer as one of the following values:

Value

Meaning

UserErr (from version 05-10) or True

Display a user error icon.

CancelUserErr (from version 05-10) or False

Clear the user error icon and reset to the executing icon.

Normal (from version 05-10)

Reset to the terminated normally icon.

This value is optional. If you omit this value, True is assumed.

Description

The Alert command displays user error icons in the status bar of Trace Viewer. It also clears an alert and returns the status display to the executing icon or terminated normally icon.

Example
path1 = _BIN_+"Logging.txt"
Message (Target_File, path1, "Execution started.\n", 30, 100)
  ...
  ...
Message (Target_File, path1, "Execution completed.")
If IsExistFile (path1) Then
  Alert (True)
End
JP1/Script version

Supported from JP1/Script 01-00.