Applies To:
  • CitectSCADA 5.50 Service Pack C, 6.00, 6.00 Service Pack A

Summary:
I am using time stamped alarms and requires displaying the millisecond field, the problem at the moment is that when displaying the millisecond portion of the time it is not zero padded so that an alarm occurring at 19:23:12.001 will be displayed as 19:23:12.1 whereas an alarm occurring at 19:23:12.100 will be shown as 19:23:12.100
 

Solution:
A new alarm format justify operator, "z" has been introduced in version 5.50SPC and above that enables the millisecond field to be zero-filled. A 'z' or 'Z" means justify right and zero fill. For example to ensure that 1 millisecond is displayed as 001 and not 1, you can set the following alarm format field:

{millisec,3,z} or {millisec,3,Z}
 

Keywords:
zero-fill millisecond TimeStamp  

Attachments