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

AlarmCatGetFormat

Returns the display format string of the specified alarm category.

Syntax

AlarmCatGetFormat(Category [, Type] )

Category:

The alarm category.

Type:

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.

Example

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