⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 age1960.h

📁 MTK 手机软件开发 META 源代码,开发环境: C++ Builder
💻 H
📖 第 1 页 / 共 5 页
字号:

#define age1960_BA_TABLE_PTS_MIN                0			/* BA Table minimum pts */
#define age1960_BA_TABLE_PTS_MAX               16			/* BA Table maxinum pts */

#define age1960_MEAS_COUNT_MIN                  0			/* minimum number of measurements that can be made */
#define age1960_MEAS_COUNT_MAX                999			/* maximum number of measurements that can be made */

#define age1960_FBER_COUNT_MIN                  1			/* minimum number of bits that can be tested for FBER*/
#define age1960_FBER_COUNT_MAX             999000			/* maximum number of bits that can be tested for FBER*/

#define age1960_BER_COUNT_MIN                   1			/* minimum number of bits that can be tested for BER*/
#define age1960_BER_COUNT_MAX              999000			/* maximum number of bits that can be tested for BER*/

#define age1960_FBER_DELAY_MIN                  0			/* minimum FBER frame delay */
#define age1960_FBER_DELAY_MAX                 26			/* maximum FBER frame delay */

#define age1960_BER_DELAY_MIN                   1			/* minimum BER frame delay */
#define age1960_BER_DELAY_MAX                  15			/* maximum BER frame delay */

#define age1960_TSC0_BURST                      0			/* TSC0 expected burst */
#define age1960_TSC1_BURST                      1			/* TSC1 expected burst */
#define age1960_TSC2_BURST                      2			/* TSC2 expected burst */
#define age1960_TSC3_BURST                      3			/* TSC3 expected burst */
#define age1960_TSC4_BURST                      4			/* TSC4 expected burst */
#define age1960_TSC5_BURST                      5			/* TSC5 expected burst */
#define age1960_TSC6_BURST                      6			/* TSC6 expected burst */
#define age1960_TSC7_BURST                      7			/* TSC7 expected burst */
#define age1960_RACH_BURST                      8			/* RACH expected burst */

#define age1960_CELL_POWER_MIN               -127.0			/* minimum cell power */
#define age1960_CELL_POWER_MAX                -10.0			/* maximum cell power */

#define age1960_CELL_1                          1			/* serving cell 1 */
#define age1960_CELL_2                          2			/* serving cell 2 */

#define age1960_MAN_RCV_CONTROL                 0			/* Manual receiver control */
#define age1960_AUTO_RCV_CONTROL                1			/* Auto receiver control */

#define age1960_TRIG_AUTO                       0			/* Auto trigger source */
#define age1960_TRIG_PROT                       1			/* Protocol trigger source */
#define age1960_TRIG_RF_RISE                    2			/* RF Rise trigger source */
#define age1960_TRIG_IMMEDIATE                  3			/* Immediate trigger source */

#define age1960_BSYNC_MID                       0			/* Midample burst sync */
#define age1960_BSYNC_AMPL                      1			/* Amplitude burst sync */
#define age1960_BSYNC_NONE                      2			/* No burst sync */

#define age1960_PVT_POINTS_MIN                  0			/* minimum number of pvt offsets */
#define age1960_PVT_POINTS_MAX                  12			/* maximum number of pvt offsets */

#define age1960_PVT_OFFSET_MIN          -0.000050			/* minimum pvt offset time in seconds */
#define age1960_PVT_OFFSET_MAX           0.000590			/* maximum pvt offset time in seconds */

#define age1960_ORFSSW_POINTS_MIN               0			/* minimum number of ORFS switching frequencies */
#define age1960_ORFSSW_POINTS_MAX               8			/* maximum number of ORFS switching frequencies */

#define age1960_ORFSMOD_POINTS_MIN              0			/* minimum number of ORFS modulation frequencies */
#define age1960_ORFSMOD_POINTS_MAX             22			/* maximum number of ORFS modulation frequencies */

#define age1960_ORFSFREQ_MIN_1           -1800000.0			/* minimum ORFS Frequency in Hz, range 1 */
#define age1960_ORFSFREQ_MAX_1                -10.0			/* maximum ORFS Frequency in Hz, range 1 */
#define age1960_ORFSFREQ_MIN_2                 10.0			/* minimum ORFS Frequency in Hz, range 2 */
#define age1960_ORFSFREQ_MAX_2            1800000.0			/* maximum ORFS Frequency in Hz, range 2 */

#define age1960_EXP_VOLT_MIN                  0.010			/* minimum expected audio measurement range in volts peak */
#define age1960_EXP_VOLT_MAX                   20.0			/* maximum expected audio measurement range in volts peak */

#define age1960_AAUDFLT_FREQ_MIN              200.0			/* minimum bandpass analog audio frequency in Hz */
#define age1960_AAUDFLT_FREQ_MAX             8000.0			/* maximum bandpass analog audio frequency in Hz */

#define age1960_DAUDFLT_FREQ_MIN              200.0			/* minimum bandpass decoded audio frequency in Hz */
#define age1960_DAUDFLT_FREQ_MAX             3600.0			/* maximum bandpass decoded audio frequency in Hz */

#define age1960_AMPOFFSET_ITEMS_MIN             0			/* min items sent of zero turns off amplitude offset */
#define age1960_AMPOFFSET_ITEMS_MAX            20			/* max items sent */

#define age1960_OFFSET_FREQ_MIN       292500000.0			/* Offset Frequency minimum */
#define age1960_OFFSET_FREQ_MAX      2700000000.0			/* Offset Frequency maximum */

#define age1960_PATH_GAIN_MIN              -100.0			/* minimum path offset (gain) in dB */
#define age1960_PATH_GAIN_MAX              +100.0			/* maximum path offset (gain) in dB */

#define age1960_AUTORANGE_TRIES_MIN             1			/* minimum autorange tries */
#define age1960_AUTORANGE_TRIES_MAX           100			/* maximum autorange tries */

#define age1960_EXPECTED_PWR_MIN              -60.0			/* minimum expected power setting */
#define age1960_EXPECTED_PWR_MAX               53.0			/* maximum expected power setting */

#define age1960_BER_TYPE_IA                     0			/* Type IA BER Measurement */
#define age1960_BER_TYPE_II                     1			/* Type II BER Measurement */
#define age1960_BER_TYPE_IB                     2			/* Type IB BER Measurement */
#define age1960_BER_RES_TYPE_IA                 3			/* Residual Type IA BER Measurement */
#define age1960_BER_RES_TYPE_II                 4			/* Residual Type II BER Measurement */
#define age1960_BER_RES_TYPE_IB                 5			/* Residual Type IB BER Measurement */

#define age1960_CONN_STATE_UNKNOWN			   -1      		/* Connection status UNKNOWN */
#define age1960_CALL_CONNECTED                  0			/* Call at the the connected state */
#define age1960_CALL_ALERTING                   1			/* Call at the alerting state */
#define age1960_CALL_IDLE                       2			/* Call at the idle state */

#define age1960_WAITFOR_NMRR                    0			/* Wait for a specific NMRR state */
#define age1960_WAITFOR_CALL                    1			/* Wait for call connected state */
#define age1960_WAITFOR_MEAS                    2			/* Wait for a any NMRR state */

#define age1960_HOLDOFF_TIME_MIN                0.0			/* min seconds for BER and FBER to holdoff the measurement */
#define age1960_HOLDOFF_TIME_MAX                5.0			/* max seconds for BER and FBER to holdoff the measurement */

#define age1960_PVTPLOT_ARRAY_MIN            2220			/* min number of points from PVT plot, for now fixed */
#define age1960_PVTPLOT_ARRAY_MAX            5000			/* Max number of points from PVT plot, for now fixed */
	
#define age1960_IQ_REF_NEG67K                   0			/* All zeros (-67.7) */
#define age1960_IQ_REF_ZEROK                    1			/* Carrier  (0kHz)  */
#define age1960_IQ_REF_PLUS67K                  2			/* All ones (+67.7) */
#define age1960_IQ_REF_AUTO                     3			/* Function will reference to the highest level  */

#define age1960_IQ_ARRAY_MIN                    9			/* The minimum array size for the IQ tuning results */
#define age1960_IQ_ARRAY_MAX				  500			/* The maximum array size for the IQ tuning results */

#define age1960_LOOPBACK_OFF                    0			/* Turn Loopback off  */
#define age1960_LOOPBACK_A                      1			/* Loopback to type A */
#define age1960_LOOPBACK_B                      2			/* Loopback to type B */
#define age1960_LOOPBACK_C                      3			/* Loopback to type C */

#define age1960_FR_SPEECH						0			/* Channel mode setting - Full rate Speech */
#define age1960_EFR_SPEECH						1			/* Channel mode setting -  Enhanced Full rate Speech */

#define age1960_EXP_DIFF_MIN				  -30.0			/* minimum Expected difference for dynamic power */
#define age1960_EXP_DIFF_MAX				   30.0			/* maximum Expected difference for dynamic power */

#define age1960_DPOW_COUNT_MIN					1			/* minimum count for dynamic power */
#define age1960_DPOW_COUNT_MAX				  999			/* maximum count for dynamic power */

#define age1960_DPOW_ARRAY_MIN					1			/* minimum number of points allowed for Dynamic power measurement */
#define age1960_DPOW_ARRAY_MAX				 2000			/* maximum number of points allowed for Dynmaic power measurement */

#define age1960_IQT_SPURFREQ_MIN_1			  -13.0E6
#define age1960_IQT_SPURFREQ_MAX_1			   -1.0E6
#define age1960_IQT_SPURFREQ_MIN_2			   1.0E6
#define age1960_IQT_SPURFREQ_MAX_2		  	   13.0E6

#define age1960_TA_SWITCH_MAX_TIME			  240			/* switching timeout value */

#define age1960_FUND_FREQ_MIN				  100.000000	/* Audio analyzer minimum fundamental frequency */
#define age1960_FUND_FREQ_MAX			    10000.000000	/* Audio analyzer maximum fundamental frequency */

#define age1960_FILTER_NONE						0			/* Audio analyzer filter type NONE */
#define age1960_FILTER_BANDPASS					1			/* Audio analyzer Tunable BandPass filter */
#define age1960_FILTER_CMESSAGE					2			/* Audio analyzer C_Message filter type */
#define age1960_FILTER_50_15KHZ					3			/* Audio analyzer BandPass filter 50 to 15khz */
#define age1960_FILTER_300_15KHZ				4			/* Audio analyzer BandPass filter 300 to 15KHZ */

#define age1960_BPF_FREQ_MIN				200.000000		/* Audio analyzer BandPass filter minimum center frequency */
#define age1960_BPF_AFAN_FREQ_MAX		  20000.000000		/* Audio analyzer BandPass filter maximum center frequency */

#define age1960_DET_RMS							0			/* Audio analyzer RMS detector */
#define age1960_DET_PPEAK						1			/* Audio analyzer Positive Peak detector */

#define age1960_EXPANDOR_LVL_MIN			  0.00			/* Audio analyzer RMS detector */
#define age1960_EXPANDOR_LVL_MAX			 10.00			/* Audio analyzer Positive Peak detector */

#define age1960_AUTORNG_AFANALYZER				0			/* Audio Frequency Analyzer Meas Fcn */
#define age1960_AUTORNG_TXPOWER					1			/* TX Power Meas Fcn */

#define age1960_CIFT_CONF_LEVEL_MIN				80.0		/* PFER CIFT confidence level minimum */
#define age1960_CIFT_CONF_LEVEL_MAX				99.9		/* PFER CIFT confidence level maximum */

#define age1960_PFER_PEAK_PHASE_LIMIT_MIN		0.0			/* PFER CIFT peak phase error limit minimum */
#define age1960_PFER_PEAK_PHASE_LIMIT_MAX		20.0		/* PFER CIFT peak phase error limit maximum */

#define age1960_PFER_RMS_PHASE_LIMIT_MIN		0.0			/* PFER CIFT rms phase error limit minimum */
#define age1960_PFER_RMS_PHASE_LIMIT_MAX		5.0			/* PFER CIFT rms phase error limit maximum */

#define age1960_PFER_FREQ_ERROR_LIMIT_MIN		0.01		/* PFER CIFT frequency error limit minimum */
#define age1960_PFER_FREQ_ERROR_LIMIT_MAX		0.10		/* PFER CIFT frequency error limit minimum */

#define age1960_GPRS_FORMAT					"GPRS"			/* GPRS TA format name */
#define age1960_GSM_FORMAT					"GSM"			/* GSM TA format name */
#define age1960_AMPS_IS136_FORMAT			"AMPS\IS136"	/* AMPS/IS136 TA format name */
#define age1960_WCDMA_FORMAT				"WCDMA"     	/* WCDMA TA format name */

#define age1960_GPRS_TA_SUFFIX				":GPRS"     	/* SCPI suffix for GPRS TAP SCPI */
#define age1960_GSM_TA_SUFFIX				":GSM"      	/* SCPI suffix for GSM TAP SCPI */
#define age1960_IS136_TA_SUFFIX				":DIG136"   	/* SCPI suffix for AMPS/IS136 TAP (Digital Control Channel Only) */
#define age1960_AMPS_IS136_TA_SUFFIX		":TA136"    	/* SCPI suffix for AMPS/IS136 TAP SCPI */
#define age1960_WCDMA_TA_SUFFIX				":WCDMA"    	/* SCPI suffix for WCDMA TAP SCPI */
#define age1960_C2K_TA_SUFFIX				":C2K"			/* SCPI suffix for C2K SCPI */

#define age1960_PVT_MASK_NARROW					0			/* Power Vs Time PCS ETSI Limit Mask - Narrow */
#define age1960_PVT_MASK_RELAXED				1			/* Power Vs Time PCS ETSI Limit Mask - Relaxed */

#define age1960_ORFS_LIMIT_ETSI					0			/* ORFS measurement Limit Source ETSI setting */
#define age1960_ORFS_LIMIT_MAN					1			/* ORFS measurement Limit Source Manual setting */
 
#define age1960_ORFSSW_LIM_POINTS_MIN			1			/* ORFS Switching Limits minimum number of points */
#define age1960_ORFSSW_LIM_POINTS_MAX			8			/* ORFS Switching Limits maximum number of points */

#define age1960_ORFSMOD_LIM_POINTS_MIN			1			/* ORFS Modulation Limits minimum number of points */
#define age1960_ORFSMOD_LIM_POINTS_MAX			22			/* ORFS Modulation Limits maximum number of points */

#define age1960_ORFSSW_LIMIT_MIN		      -200.0		/* ORFS Switching Limits minimum acceptable setting */
#define age1960_ORFSSW_LIMIT_MAX			   100.0		/* ORFS Switching Limits maximum acceptable setting */

#define age1960_ORFSMOD_LIMIT_MIN			  -200.0		/* ORFS Modulation Limits minimum acceptable setting */
#define age1960_ORFSMOD_LIMIT_MAX			   100.0		/* ORFS Modulation Limits maximum acceptable setting */


        /***************************************************/
        /*  Tracing functions for surround                 */
        /***************************************************/
#define  age1960_TRAC_STDERR       0
#define  age1960_TRAC_EVENTLOG     1
#define  age1960_TRAC_DEBUGSTRING  2
#define  age1960_TRAC_CALLBACK     3
#define  age1960_TRAC_NONE         0
#define  age1960_TRAC_ERROR        1
#define  age1960_TRAC_ALL          2

ViStatus _VI_FUNC age1960_diagTrac  (
  ViSession vi,
  ViInt16 destination,
  ViInt16 level);

#ifdef INSTR_CALLBACKS
ViStatus _VI_FUNC age1960_diagTracCallback  (
  ViSession vi,
  ViAddr function,
  ViAddr handle);

#endif /* INSTR_CALLBACKS */
ViStatus _VI_FUNC age1960_diagTrac_Q  (
  ViSession vi,
  ViPInt16 destination,
  ViPInt16 level);


        /***************************************************/
        /*  Instrument specific functions                  */
        /***************************************************/

ViStatus _VI_FUNC age1960_cmdIntArr
                        (ViSession  instrumentHandle,
                         ViString   sendIntegerArrayCommand,
                         ViInt32    sendIntegerArraySize,
                         ViInt32    sendIntegerArray[]);

ViStatus _VI_FUNC age1960_cmdRealArr
                        (ViSession  instrumentHandle,
                         ViString   sendRealArrayCommand,
                         ViInt32    sendRealArraySize,
                         ViReal64   sendRealArray[]);

ViStatus _VI_FUNC age1960_partialPreset
                        (ViSession  instrumentHandle);

ViStatus _VI_FUNC age1960_readTXPower_Q
                        (ViSession  instrumentHandle,
                         ViBoolean  autoRange,
                         ViPInt32   TXPowerIntegrity,
                         ViPReal64  TXPower);

ViStatus _VI_FUNC age1960_readPowerVsTime_Q
                        (ViSession  instrumentHandle,
                         ViInt32    pvsTimeArraySize,
                         ViPInt32   pvsTimeIntegrity,
                         ViPReal64  pvsTimeMaskFail,
                         ViPReal64  pvsTimeTXPower,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -