Definition of SMA antenna-based error and online flag status

____________________________________________________________________________________

       Item                       System variable        Hexadecimal         Integer
____________________________________________________________________________________
:// //    1               #define SFLAG_UNLOCKED_PLL     0x00000001                1
:// //    2               #define SFLAG_CAL_VANE         0x00000002                2
:// //    3               #define SFLAG_BAD_SAMPLES      0x00000004                4
:// //    4               #define SFLAG_COORD_MISMATCH   0x00000008                8
:// //    5               #define SFLAG_DEWAR_WARM       0x00000010               16
:// //    6               #define SFLAG_DRIVES_OFF       0x00000020               32
:// //    7               #define SFLAG_FEED_MISMATCH    0x00000040               64
:// //    8               #define SFLAG_IRIG_TIME        0x00000080              128
:// //    9               #define SFLAG_M3_CLOSED        0x00000100              256
:// //   10               #define SFLAG_OPTICAL          0x00000200              512
:// //   11               #define SFLAG_SOURCE_MISMATCH  0x00000400             1024
:// //   12               #define SFLAG_TRACK_STALE      0x00000800             2048
:// //   13               #define SFLAG_WACKY_OFFSETS    0x00001000             4096
:// //   14               #define SFLAG_CHOPPER_POS      0x00002000             8192
:// //   15               #define SFLAG_AVE_TRACKING     0x00004000            16384 
:// //   16               #define SFLAG_PEAK_TRACKING    0x00008000            32768
:// //   17               #define SFLAG_SOURCE_CHANGE    0x00010000            65536
:// //   18               #define SFLAG_SHADOWING        0x00020000           131072 
:// //   19               #define SFLAG_OPERATOR         0x00040000           262144
:// //   20               #define SFLAG_DRO_UNLOCKED     0x00080000           524288
:// //   21               #define SFLAG_WAVEPLATE_MOVED  0x00100000          1048576 
:// //   22               #define SFLAG_MISCELLANEOUS    0x00200000          2097152
====================================================================================
_________________________________
Numbers that begin with 0x are interpreted as hexadecimal (base 16) in C