TDS640__SetupTimebase (ul_pbar_instruments)

 *  Synopsis:
 *    #include <ul_pbar_instruments:tds640.h>
 *
 *    int TDS640__SetupTimebase( const CTDS640ptr tds640Ptr,
 *				 const ERECOrdlength recordLength,
 *				 const float timeBaseRange,
 *				 const float timeBaseMult,
 *				 const char *xLabel )
 *
 *  Function intent:
 *    TDS640__SetupTimebase() provides settings for TDS 640 time base parameters
 *    including the following:
 *  Function parameters:
 *    CTDS640ptr	tds640Ptr	Valid TDS 640 module pointer
 *    ERECOrdlength	recordLength	Number of points to be digitized
 *					  one of: 500, 1000 or 2000 points
 *    ERange		timeBaseRange	Time per division range
 *					  one of: 1, 2.5 or 5
 *    float		timeBaseMult	Order of magnitude multiplier
 *    char		*xLabel		Units label for X-axis
 *  Note:
 *    5.0E-9 <= timeBaseRange * timeBaseMult <= 10.0 is enforced
 *  Function return value:
 *    CBS_OK		Setup was successful
 *    CLIB_INVARG	Invalid parameter value
 *    CLIB_GENERR	Unable to write TDS 640 command(s) 
 *    CLIB_INVALID_DATA	TDS 640 status error after GPIB command