TDS640__GetStatus (ul_pbar_instruments)

 *  Synopsis:
 *    #include <ul_pbar_instruments:tds640.h>
 *
 *    UTDS640Status TDS640__GetStatus( const CTDS640ptr tds640Ptr )
 *
 *  Function intent:
 *    TDS640__GetStatus() reads the Status Byte Register (SBR) and, if it's
 *    ESB bit is true, reads the Standard Event Status Register (SESR).
 *    It returns a UTDS640Status structure with the SESR contents in bits 0:7
 *    and the SBR contents in bits 8:14.  If an I/O error occures during the
 *    status acquisition process it sets bit 15 (IOE bit) of the return
 *    structure.
 *  Function parameters:
 *    CTDS640ptr	tds640Ptr	Valid TDS 640 module pointer
 *  Function return value:
 *    UTDS640Status		TDS 640 status structure