Cicode Programming Reference > Cicode Function Categories > Alarm Functions Introduction > AlarmCatGetFormat


Returns the display format string of the specified alarm category.


AlarmCatGetFormat(Category [, Type] )


The alarm category.


The type of display format string:

Return Value

The display format string of the specified category. If the alarm category is not specifically defined or it has no format string specified in your project, the format string of category 0 will be returned.


sFormat = AlarmCatGetFormat(0, 0);
! sFormat is assigned to the format string as defined in the Alarm Format field of the Alarm Categories form for category 0 in your project.

See Also

Alarm Functions