Lookout queries the item, opc server returns the error code if bad quality.
The description is defined in Lookout, actually it's defined in opc standard. For example, Lookout gets error type code 3, it knows 3 means bad quality. 20 is the operational error, Lookout knows it means "reading from opc server" error. Sometimes there is another extended error code.
Ryan Shi
National Instruments