DTE BLOCK PARAMETER IN LOGIC

Greetings All,

I wanted to compare the 2  DTE  block parameters  with each other to find out whose TE_TIME_STR is greater or lesser.

When i am doing direct comparision with one another, it making whole CND block BAD.

What i have to do to comapre these values?

Also i am making totaliser that will show value to operator on graphics after each shift and will also reset after every shift.