Cicode Programming Reference > Cicode Function Categories > Page Functions > PageHardware

PageHardware

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.

Notes

Note: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

PageAlarm

Example

System Keyboard

Key Sequence

Hardware

Command

PageHardware()

Comment

Display active hardware alarms on the hardware alarms page

See Also

Published June 2018