PageHardware
- Last UpdatedJul 18, 2023
- 1 minute read
Displays the active hardware alarms on the hardware alarms page.
To use this function, you need to have a page in your project that was created using the Hardware template. By default, the name of the page is expected to be "Hardware". However, you can use a page with a different name by adjusting the setting for the INI parameter [Page]HardwarePage.
Note:
• This function is not supported in the server process in a multiprocessor environment.
Calling this function from the server process results in a hardware alarm being raised.
• When similar hardware alarms are triggered, for example "Tag not found" alarms,
the hardware alarm page and hardware alarm queue show the last invalid entry. The
previous entry of the same description is overwritten.
Syntax
PageHardware()
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
Example
System Keyboard
|
Key Sequence |
Hardware |
|
Command |
PageHardware() |
|
Comment |
Display active hardware alarms on the hardware alarms page |