Technical FAQs

Ask a Question

How can I acknowledge all unacknowledged alarms of particular type using cicode in Vijeo Citect/CitectSCADA?

Here is a cicode to acknowledge all alarms of Type 1 with specified priority:

FUNCTION
AutoAccept(INT iPriority)
	INT iCurrent;
	INT iNext;
	iCurrent=AlarmFirstPriRec(iPriority,1,-1);
	WHILE iCurrent <>-1 DO
		iNext=AlarmNextPriRec(iCurrent,iPriority,1,-1);
		AlarmAckRec(iCurrent);
		iCurrent=iNext;
	END
END
Was this helpful?
What can we do to improve the information ?