AGE1960.H
上传用户:gelin96
上传日期:2017-01-08
资源大小:20993k
文件大小:62k
源码类别:

MTK

开发平台:

C++ Builder

  1. /*****************************************************************************/
  2. /*  age1960.h                                                                */
  3. /*  Copyright (C) 1999 - 2002 Agilent Technologies Company                   */
  4. /*---------------------------------------------------------------------------*/
  5. /*  Driver for age1960, GSM Mobile Test for 8960 Series 10 E5515             */
  6. /*  Driver Version: A.05.00                                                  */
  7. /*****************************************************************************/
  8. #ifndef age1960_INCLUDE
  9. #define age1960_INCLUDE
  10. #include "vpptype.h"
  11. /* Used for "C" externs in C++ */
  12. #if defined(__cplusplus) || defined(__cplusplus__)
  13. extern "C" {
  14. #endif
  15. #define age1960_REV_CODE    "A.05.00"                     /* Driver Revision */
  16. /*****************************************************************************/
  17. /*  STANDARD SECTION                                                         */
  18. /*  Constants and function prototypes for Agilent standard functions.        */
  19. /*****************************************************************************/
  20.         /***************************************************/
  21.         /*  Standard constant error conditions returned    */
  22.         /*  by driver functions.                           */
  23.         /*    Agilent Common Error numbers start at BFFC0D00    */
  24.         /*    The parameter errors extend the number of    */
  25.         /*      errors over the eight defined in VPP 3.4   */
  26.         /***************************************************/
  27. #define age1960_INSTR_ERROR_NULL_PTR      (_VI_ERROR+0x3FFC0D02L) /* 0xBFFC0D02 */
  28. #define age1960_INSTR_ERROR_RESET_FAILED  (_VI_ERROR+0x3FFC0D03L) /* 0xBFFC0D03 */
  29. #define age1960_INSTR_ERROR_UNEXPECTED    (_VI_ERROR+0x3FFC0D04L) /* 0xBFFC0D04 */
  30. #define age1960_INSTR_ERROR_INV_SESSION   (_VI_ERROR+0x3FFC0D05L) /* 0xBFFC0D05 */
  31. #define age1960_INSTR_ERROR_LOOKUP        (_VI_ERROR+0x3FFC0D06L) /* 0xBFFC0D06 */
  32. #define age1960_INSTR_ERROR_DETECTED      (_VI_ERROR+0x3FFC0D07L) /* 0xBFFC0D07 */
  33. #define age1960_INSTR_NO_LAST_COMMA       (_VI_ERROR+0x3FFC0D08L) /* 0xBFFC0D08 */
  34. #define age1960_INSTR_ERROR_PARAMETER9    (_VI_ERROR+0x3FFC0D20L) /* 0xBFFC0D20 */
  35. #define age1960_INSTR_ERROR_PARAMETER10   (_VI_ERROR+0x3FFC0D21L) /* 0xBFFC0D21 */
  36. #define age1960_INSTR_ERROR_PARAMETER11   (_VI_ERROR+0x3FFC0D22L) /* 0xBFFC0D22 */
  37. #define age1960_INSTR_ERROR_PARAMETER12   (_VI_ERROR+0x3FFC0D23L) /* 0xBFFC0D23 */
  38. #define age1960_INSTR_ERROR_PARAMETER13   (_VI_ERROR+0x3FFC0D24L) /* 0xBFFC0D24 */
  39. #define age1960_INSTR_ERROR_PARAMETER14   (_VI_ERROR+0x3FFC0D25L) /* 0xBFFC0D25 */
  40. #define age1960_INSTR_ERROR_PARAMETER15   (_VI_ERROR+0x3FFC0D26L) /* 0xBFFC0D26 */
  41. #define age1960_INSTR_ERROR_PARAMETER16   (_VI_ERROR+0x3FFC0D27L) /* 0xBFFC0D27 */
  42. #define age1960_INSTR_ERROR_PARAMETER17   (_VI_ERROR+0x3FFC0D28L) /* 0xBFFC0D28 */
  43. #define age1960_INSTR_ERROR_PARAMETER18   (_VI_ERROR+0x3FFC0D29L) /* 0xBFFC0D29 */
  44. #define age1960_CMDSTRING_Q_MIN              2
  45. #define age1960_CMDSTRING_Q_MAX          32767
  46. #define age1960_CMDINT_MIN         -2147483647
  47. #define age1960_CMDINT_MAX          2147483647
  48. #define age1960_CMDREAL_MIN           -1E+300
  49. #define age1960_CMDREAL_MAX            1E+300
  50.         /***************************************************/
  51.         /*  Constants used by system status functions      */
  52.         /*    These defines are the available status       */
  53.         /*    registers that can be read or programmed.    */
  54.         /*    They are instrument specific.                */
  55.         /***************************************************/
  56. #define age1960_QUES_SUMMARY                  0
  57. #define age1960_QUES_CALL                     1
  58. #define age1960_QUES_ERROR                    2
  59. #define age1960_QUES_HARDWARE                 3
  60. #define age1960_QUES_CALL_GSM                 4
  61. #define age1960_QUES_ERROR_GSM                5
  62. #define age1960_OPER_SUMMARY                  0
  63. #define age1960_OPER_NMRR                     1
  64. #define age1960_OPER_CALL                     2
  65. #define age1960_OPER_NMRR_GSM                 3
  66. #define age1960_OPER_CALL_GSM                 4
  67.         /***************************************************/
  68.         /*  Constants used by system status functions      */
  69.         /*    These defines are bit numbers which define   */
  70.         /*    the operation and questionable registers.    */
  71.         /*    They are instrument specific.                */
  72.         /***************************************************/
  73.         
  74. #define age1960_REGISTER_MIN                 0
  75. #define age1960_REGISTER_MAX                 32767
  76. #define age1960_STD_REGISTER_MIN             0
  77. #define age1960_STD_REGISTER_MAX             255
  78. #define age1960_ESE_OPC                      1
  79. #define age1960_ESE_AVAIL1                   2
  80. #define age1960_ESE_QUERY_ERR                4
  81. #define age1960_ESE_DEVICE_ERR               8
  82. #define age1960_ESE_EXEC_ERR                16
  83. #define age1960_ESE_CMD_ERR                 32
  84. #define age1960_ESE_AVAIL6                  64
  85. #define age1960_ESE_PWR_ON                 128
  86. #define age1960_STB_OPC                      1
  87. #define age1960_STB_AVAIL1                   2
  88. #define age1960_STB_ERR_QUEUE                4
  89. #define age1960_STB_QUES_SUM                 8
  90. #define age1960_STB_MAV                     16
  91. #define age1960_STB_ESE_SUM                 32
  92. #define age1960_STB_RQS                     64
  93. #define age1960_STB_OPER_SUM               128
  94. #define age1960_QUES_SUM_AVAIL0              1
  95. #define age1960_QUES_SUM_ERRORS              2
  96. #define age1960_QUES_SUM_AVAIL2              4
  97. #define age1960_QUES_SUM_AVAIL3              8
  98. #define age1960_QUES_SUM_AVAIL4             16
  99. #define age1960_QUES_SUM_AVAIL5             32
  100. #define age1960_QUES_SUM_AVAIL6             64
  101. #define age1960_QUES_SUM_AVAIL7            128
  102. #define age1960_QUES_SUM_AVAIL8            256
  103. #define age1960_QUES_SUM_AVAIL9            512
  104. #define age1960_QUES_SUM_CALL             1024
  105. #define age1960_QUES_SUM_HW               2048
  106. #define age1960_QUES_SUM_AVAIL12          4096
  107. #define age1960_QUES_SUM_AVAIL13          8192
  108. #define age1960_QUES_SUM_AVAIL14         16384
  109. #define age1960_QUES_SUM_AVAIL15         32768
  110. #define age1960_OPER_SUM_AVAIL0              1
  111. #define age1960_OPER_SUM_AVAIL1              2
  112. #define age1960_OPER_SUM_AVAIL2              4
  113. #define age1960_OPER_SUM_AVAIL3              8
  114. #define age1960_OPER_SUM_AVAIL4             16
  115. #define age1960_OPER_SUM_AVAIL5             32
  116. #define age1960_OPER_SUM_AVAIL6             64
  117. #define age1960_OPER_SUM_AVAIL7            128
  118. #define age1960_OPER_SUM_AVAIL8            256
  119. #define age1960_OPER_SUM_NMRR              512
  120. #define age1960_OPER_SUM_CALL             1024
  121. #define age1960_OPER_SUM_AVAIL11          2048
  122. #define age1960_OPER_SUM_SYSSYNC          4096
  123. #define age1960_OPER_SUM_AVAIL13          8192
  124. #define age1960_OPER_SUM_AVAIL14         16384
  125. #define age1960_OPER_SUM_AVAIL15         32768
  126. #define age1960_QUES_ERR_AVAIL0              1
  127. #define age1960_QUES_ERR_100                 2
  128. #define age1960_QUES_ERR_200                 4
  129. #define age1960_QUES_ERR_300                 8
  130. #define age1960_QUES_ERR_400                16
  131. #define age1960_QUES_ERR_500                32
  132. #define age1960_QUES_ERR_600                64
  133. #define age1960_QUES_ERR_700               128
  134. #define age1960_QUES_ERR_800               256
  135. #define age1960_QUES_ERR_900               512
  136. #define age1960_QUES_ERR_AVAIL10          1024
  137. #define age1960_QUES_ERR_AVAIL11          2048
  138. #define age1960_QUES_ERR_AVAIL12          4096
  139. #define age1960_QUES_ERR_AVAIL13          8192
  140. #define age1960_QUES_ERR_AVAIL14          6384
  141. #define age1960_QUES_ERR_AVAIL15         32768
  142. #define age1960_OPER_NMRR_AVAIL0             1
  143. #define age1960_OPER_NMRR_TXP                2
  144. #define age1960_OPER_NMRR_PVT                4
  145. #define age1960_OPER_NMRR_PFER               8
  146. #define age1960_OPER_NMRR_ORFS              16
  147. #define age1960_OPER_NMRR_AAUD              32
  148. #define age1960_OPER_NMRR_DAUD              64
  149. #define age1960_OPER_NMRR_FBER             128
  150. #define age1960_OPER_NMRR_BER              256
  151. #define age1960_OPER_NMRR_IQT              512
  152. #define age1960_OPER_NMRR_DPOW            1024
  153. #define age1960_OPER_NMRR_AVAIL11         2048
  154. #define age1960_OPER_NMRR_AVAIL12         4096
  155. #define age1960_OPER_NMRR_AVAIL13         8192
  156. #define age1960_OPER_NMRR_AVAIL14        16384
  157. #define age1960_OPER_NMRR_AVAIL15        32768
  158. #define age1960_QUES_CALL_AVAIL0             1
  159. #define age1960_QUES_CALL_DATA               2
  160. #define age1960_QUES_CALL_RADIO              4
  161. #define age1960_QUES_CALL_IMM                8
  162. #define age1960_QUES_CALL_CHAN              16
  163. #define age1960_QUES_CALL_HANDOVER          32
  164. #define age1960_QUES_CALL_NO_RESP           64
  165. #define age1960_QUES_CALL_FRAMES           128
  166. #define age1960_QUES_CALL_ID               256
  167. #define age1960_QUES_CALL_AVAIL9           512
  168. #define age1960_QUES_CALL_AVAIL10         1024
  169. #define age1960_QUES_CALL_AVAIL11         2048
  170. #define age1960_QUES_CALL_AVAIL12         4096
  171. #define age1960_QUES_CALL_AVAIL13         8192
  172. #define age1960_QUES_CALL_AVAIL14        16384
  173. #define age1960_QUES_CALL_IT15           32768
  174. #define age1960_OPER_CALL_AVAIL0             1
  175. #define age1960_OPER_CALL_IDLE               2
  176. #define age1960_OPER_CALL_CONNECTED          4
  177. #define age1960_OPER_CALL_ALERTING           8
  178. #define age1960_OPER_CALL_BCH_CHANGING      16
  179. #define age1960_OPER_CALL_TCH_CHANGING      32
  180. #define age1960_OPER_CALL_CNT_CHANGING      64
  181. #define age1960_OPER_CALL_BS_ORIGINATING   128
  182. #define age1960_OPER_CALL_BS_DISCONNECTING 256
  183. #define age1960_OPER_CALL_AVAIL9           512
  184. #define age1960_OPER_CALL_AVAIL10         1024
  185. #define age1960_OPER_CALL_AVAIL11         2048
  186. #define age1960_OPER_CALL_AVAIL12         4096
  187. #define age1960_OPER_CALL_AVAIL13         8192
  188. #define age1960_OPER_CALL_AVAIL14        16384
  189. #define age1960_OPER_CALL_AVAIL15        32768
  190. #define age1960_QUES_HW_AVAIL0               1
  191. #define age1960_QUES_HW_AVAIL1               2
  192. #define age1960_QUES_HW_AVAIL2               4
  193. #define age1960_QUES_HW_AVAIL3               8
  194. #define age1960_QUES_HW_PWRUP_ST_FAILED     16
  195. #define age1960_QUES_HW_AVAIL5              32
  196. #define age1960_QUES_HW_AVAIL6              64
  197. #define age1960_QUES_HW_AVAIL7             128
  198. #define age1960_QUES_HW_AVAIL8             256
  199. #define age1960_QUES_HW_AVAIL9             512
  200. #define age1960_QUES_HW_AVAIL10           1024
  201. #define age1960_QUES_HW_AVAIL11           2048
  202. #define age1960_QUES_HW_AVAIL12           4096
  203. #define age1960_QUES_HW_AVAIL13           8192
  204. #define age1960_QUES_HW_AVAIL14          16384
  205. #define age1960_QUES_HW_AVAIL15          32768
  206.         /***************************************************/
  207.         /*  Constants used by function age1960_timeOut    */
  208.         /***************************************************/
  209. #define age1960_TIMEOUT_MAX         120000L
  210. #define age1960_TIMEOUT_MIN         0L
  211.         /***************************************************/
  212.         /*  Required plug and play functions from VPP-3.1  */
  213.         /***************************************************/
  214. ViStatus _VI_FUNC age1960_init
  215.                         (ViRsrc     resourceName,
  216.                          ViBoolean  IDQuery,
  217.                          ViBoolean  resetDevice,
  218.                          ViPSession instrumentHandle);
  219. ViStatus _VI_FUNC age1960_close
  220.                         (ViSession  instrumentHandle);
  221. ViStatus _VI_FUNC age1960_reset
  222.                         (ViSession  instrumentHandle);
  223. ViStatus _VI_FUNC age1960_self_test
  224.                         (ViSession  instrumentHandle,
  225.                          ViPInt16   selfTestResult,
  226.                          ViPString  selfTestMessage);
  227. ViStatus _VI_FUNC age1960_error_query
  228.                         (ViSession  instrumentHandle,
  229.                          ViPInt32   errorCode,
  230.                          ViPString  errorMessage);
  231. ViStatus _VI_FUNC age1960_error_message
  232.                         (ViSession  instrumentHandle,
  233.                          ViStatus   statusCode,
  234.                          ViPString  message);
  235. ViStatus _VI_FUNC age1960_revision_query
  236.                         (ViSession  instrumentHandle,
  237.                          ViPString  instrumentDriverRevision,
  238.                          ViPString  firmwareRevision);
  239.         /***************************************************/
  240.         /*  Agilent standard utility functions             */
  241.         /***************************************************/
  242. ViStatus _VI_FUNC age1960_timeOut
  243.                         (ViSession  instrumentHandle,
  244.                          ViInt32    setTimeOut);
  245. ViStatus _VI_FUNC age1960_timeOut_Q
  246.                         (ViSession  instrumentHandle,
  247.                          ViPInt32   timeOut);
  248. ViStatus _VI_FUNC age1960_errorQueryDetect
  249.                         (ViSession  instrumentHandle,
  250.                          ViBoolean  setErrorQueryDetect);
  251. ViStatus _VI_FUNC age1960_errorQueryDetect_Q
  252.                         (ViSession  instrumentHandle,
  253.                          ViPBoolean errorQueryDetect);
  254. ViStatus _VI_FUNC age1960_dcl
  255.                         (ViSession  instrumentHandle);
  256. ViStatus _VI_FUNC age1960_opc_Q
  257.                         (ViSession  instrumentHandle,
  258.                          ViPBoolean instrumentReady);
  259.         /********************************************************************/
  260.         /*  Agilent standard status functions (modified for multi-registers */
  261.         /********************************************************************/
  262. ViStatus _VI_FUNC age1960_readStatusByte_Q
  263.                         (ViSession  instrumentHandle,
  264.                          ViPInt16   statusByte);
  265. ViStatus _VI_FUNC age1960_stdEvent_Q
  266.                         (ViSession  instrumentHandle,
  267.                          ViPInt32   stdEventRegister);
  268. ViStatus _VI_FUNC age1960_operEvent_Q
  269.                         (ViSession  instrumentHandle,
  270.                          ViInt16    operationName,
  271.                          ViPInt32   operationEventRegister);
  272. ViStatus _VI_FUNC age1960_operCond_Q
  273.                         (ViSession  instrumentHandle,
  274.                          ViInt16    operationName,
  275.                          ViPInt32   operationConditionRegister );
  276. ViStatus _VI_FUNC age1960_quesEvent_Q
  277.                         (ViSession  instrumentHandle,
  278.                          ViInt16    questionableName,
  279.                          ViPInt32   questionableEventRegister );
  280. ViStatus _VI_FUNC age1960_quesCond_Q
  281.                         (ViSession  instrumentHandle,
  282.                          ViInt16    questionableName,
  283.                          ViPInt32   questionableConditionRegister );
  284. ViStatus _VI_FUNC age1960_quesRegisterEnable
  285.                         (ViSession  instrumentHandle,
  286.                          ViInt16    questionableName,
  287.                          ViInt32    quesPosTransition,
  288.                          ViInt32    quesNegTransition,
  289.                          ViInt32    quesEnableBits);
  290. ViStatus _VI_FUNC age1960_operRegisterEnable
  291.                         (ViSession  instrumentHandle,
  292.                          ViInt16    operationName,
  293.                          ViInt32    operPosTransition,
  294.                          ViInt32    operNegTransition,
  295.                          ViInt32    operEnableBits);
  296. ViStatus _VI_FUNC age1960_stdEventEnable
  297.                         (ViSession  instrumentHandle,
  298.                          ViInt32    stdEnableBits);
  299.         /***************************************************/
  300.         /*  Agilent standard command passthrough functions */
  301.         /***************************************************/
  302. ViStatus _VI_FUNC age1960_cmd
  303.                         (ViSession  instrumentHandle,
  304.                          ViString   sendStringCommand);
  305. ViStatus _VI_FUNC age1960_cmdString_Q
  306.                         (ViSession  instrumentHandle,
  307.                          ViString   queryStringCommand,
  308.                          ViInt32    stringSize,
  309.                          ViPString  stringResult);
  310. ViStatus _VI_FUNC age1960_cmdInt
  311.                         (ViSession  instrumentHandle,
  312.                          ViString   sendIntegerCommand,
  313.                          ViInt32    sendInteger);
  314. ViStatus _VI_FUNC age1960_cmdInt16_Q
  315.                         (ViSession  instrumentHandle,
  316.                          ViString   queryI16Command,
  317.                          ViPInt16   i16Result);
  318. ViStatus _VI_FUNC age1960_cmdInt32_Q
  319.                         (ViSession  instrumentHandle,
  320.                          ViString   queryI32Command,
  321.                          ViPInt32   i32Result);
  322. ViStatus _VI_FUNC age1960_cmdInt16Arr_Q
  323.                         (ViSession  instrumentHandle,
  324.                          ViString   queryI16ArrayCommand,
  325.                          ViInt32    i16ArraySize,
  326.                          ViInt16 _VI_FAR i16ArrayResult[],
  327.                          ViPInt32   i16ArrayCount);
  328. ViStatus _VI_FUNC age1960_cmdInt32Arr_Q
  329.                         (ViSession  instrumentHandle,
  330.                          ViString   queryI32ArrayCommand,
  331.                          ViInt32    i32ArraySize,
  332.                          ViInt32 _VI_FAR i32ArrayResult[],
  333.                          ViPInt32   i32ArrayCount);
  334. ViStatus _VI_FUNC age1960_cmdReal
  335.                         (ViSession  instrumentHandle,
  336.                          ViString   sendRealCommand,
  337.                          ViReal64   sendReal);
  338. ViStatus _VI_FUNC age1960_cmdReal64_Q
  339.                         (ViSession  instrumentHandle,
  340.                          ViString   queryRealCommand,
  341.                          ViPReal64  realResult);
  342. ViStatus _VI_FUNC age1960_cmdReal64Arr_Q
  343.                         (ViSession  instrumentHandle,
  344.                          ViString   realArrayCommand,
  345.                          ViInt32    realArraySize,
  346.                          ViReal64 _VI_FAR realArrayResult[],
  347.                          ViPInt32   realArrayCount);
  348. /* End of Agilent standard declarations */
  349. /*---------------------------------------------------------------------------*/
  350. /*****************************************************************************/
  351. /*  INSTRUMENT SPECIFIC SECTION                                              */
  352. /*  Constants and function prototypes for instrument specific functions.     */
  353. /*****************************************************************************/
  354.         /***************************************************/
  355.         /*         Instrument specific constants           */
  356.         /***************************************************/
  357. #define age1960_INSTR_ERROR_ARRAY_TOO_SMALL    (_VI_ERROR+0x3FFC0D2AL) /* 0xBFFC0D2A */
  358. #define age1960_INSTR_CANNOT_ORIG_NOW          (_VI_ERROR+0x3FFC0D2BL) /* 0xBFFC0D2B */
  359. #define age1960_INSTR_ERROR_CALL_FAILED        (_VI_ERROR+0x3FFC0D2CL) /* 0xBFFC0D2C */
  360. #define age1960_INSTR_ERROR_CPTO               (_VI_ERROR+0x3FFC0D2DL) /* 0xBFFC0D2D */
  361. #define age1960_INSTR_ERROR_INITTO             (_VI_ERROR+0x3FFC0D2EL) /* 0xBFFC0D2E */
  362. #define age1960_INSTR_ERROR_ORFS_MEAS_COUNT    (_VI_ERROR+0x3FFC0D2FL) /* 0xBFFC0D2F */
  363. #define age1960_INSTR_ERROR_ARRAY_TOO_LARGE    (_VI_ERROR+0x3FFC0D30L) /* 0xBFFC0D30 */
  364. #define age1960_INSTR_ERROR_AUTORANGE_FAILED   (_VI_ERROR+0x3FFC0D31L) /* 0xBFFC0D31 */
  365. #define age1960_INSTR_CANNOT_CHNGBAND_NOW      (_VI_ERROR+0x3FFC0D32L) /* 0xBFFC0D32 */
  366. #define age1960_INSTR_TOO_MANY_NONCONCURRENT   (_VI_ERROR+0x3FFC0D33L) /* 0xBFFC0D33 */
  367. #define age1960_INSTR_UNDEFINED_DATA           (_VI_ERROR+0x3FFC0D34L) /* 0xBFFC0D34 */
  368. #define age1960_INSTR_TA_NOT_AVAILABLE         (_VI_ERROR+0x3FFC0D35L) /* 0xBFFC0D35 */
  369. #define age1960_INSTR_TA_NOT_SWITCHABLE        (_VI_ERROR+0x3FFC0D36L) /* 0xBFFC0D36 */
  370. #define age1960_INSTR_TA_NOT_LICENSE           (_VI_ERROR+0x3FFC0D37L) /* 0xBFFC0D37 */
  371. #define age1960_INSTR_ERROR_NSUP_FUNC          (_VI_ERROR+0x3FFC0D38L) /* 0xBFFC0D38 */
  372. #define age1960_INSTR_ERROR_FUNC_NOT_SUPPORTED  (_VI_ERROR+0X3FFC0D39L) /* 0XBFFC0D39 */
  373. #define age1960_NOT_A_NUMBER                    9.91E+37 /* IEEE not a number */
  374. #define age1960_NO_RESULT_AVAIL                 1 /* No result available */
  375. #define age1960_INTEGRITY_MIN                   0 /* the min integrity value that can be returned */
  376. #define age1960_INTEGRITY_MAX                  23 /* the max integrity value that can be returned */
  377. #define age1960_ARRAY_MIN                       1 /* min array size is always 1    */
  378. #define age1960_ARRAY_MAX                     500 /* max array size for instrument specific functions is 500 */
  379. #define age1960_CP_TIMEOUT_MIN                  0.0 /* min seconds for a call processing fcn to complete */
  380. #define age1960_CP_TIMEOUT_MAX                120.0 /* max seconds for call processing function to complete */
  381. #define age1960_INIT_TIMEOUT_MIN                0.1 /* min seconds for a meas fcn to complete */
  382. #define age1960_INIT_TIMEOUT_MAX              120.0 /* max seconds for a meas fcn to complete */
  383. #define age1960_MEAS_TIMEOUT_MIN                0.1 /*  min seconds for a measurement timeout */
  384. #define age1960_MEAS_TIMEOUT_MAX              999.9 /* max seconds for a measurement timeout */
  385. #define age1960_MAV_TIMEOUT_MIN                 1 /* min seconds for HP-IB buffer to clear */
  386. #define age1960_MAV_TIMEOUT_MAX                30 /* max seconds for HP-IB buffer to clear */
  387. #define age1960_NUMBER_OF_MEAS_FCNS            10 /* 10 measurement fcns*/
  388. #define age1960_WAIT                           -2 /* Wait for measurement function to complete */
  389. #define age1960_NONEINIT                       -1 /* No measurement function initiated */
  390. #define age1960_AAUDIO                          0 /* Analog Audio Meas Fcn */
  391. #define age1960_BER                             1 /* Bit Error Meas Fcn */
  392. #define age1960_DAUDIO                          2 /* Decoded Audio Meas Fcn */
  393. #define age1960_FBER                            3 /* Fast Bit Error Meas Fcn */
  394. #define age1960_ORFS                            4 /* ORFSpectrum Meas Fcn */
  395. #define age1960_PFER                            5 /* Phase Freq Error Meas Fcn */
  396. #define age1960_PVTIME                          6 /* Power vs Time Meas Fcn */
  397. #define age1960_TXPOWER                         7 /* TX Power Meas Fcn */
  398. #define age1960_DPOWER                          8 /* Dunamic Power Meas Fcn */
  399. #define age1960_IQTUNING                        9 /* IQ Tuning Meas Fcn */
  400. #define age1960_TEST_MODE                       0 /* Test operating mode */
  401. #define age1960_ACELL_MODE                      1 /* Active Cell operating mode */
  402. #define age1960_UNKNOWN_BAND                   -1 /* No band set */
  403. #define age1960_CURRENT_BAND                    0 /* Current band */
  404. #define age1960_PGSM_BAND                       1 /* PGSM band */
  405. #define age1960_EGSM_BAND                       2 /* EGSM band */
  406. #define age1960_DCS1800_BAND                    3 /* DCS 1800 band */
  407. #define age1960_PCS1900_BAND                    4 /* PCS 1900 band */
  408. #define age1960_GSM850_BAND                     5 /* GSM 850 band */
  409. #define age1960_PGSM_MIN_CH                     1 /* PGSM min channel No. */
  410. #define age1960_PGSM_MAX_CH                   124 /* PGSM max channel No. */
  411. #define age1960_EGSM_MIN_CH_1                   0 /* EGSM min 1 channel No. */
  412. #define age1960_EGSM_MAX_CH_1                 124 /* EGSM max 1 channel No. */
  413. #define age1960_EGSM_MIN_CH_2                 975 /* EGSM min 2 channel No. */
  414. #define age1960_EGSM_MAX_CH_2                1023 /* EGSM max 2 channel No. */
  415. #define age1960_DCS1800_MIN_CH                512 /* DCS 1800 min channel No. */
  416. #define age1960_DCS1800_MAX_CH                885 /* DCS 1800 max channel No. */
  417. #define age1960_PCS1900_MIN_CH                512 /* PCS 1900 min channel No. */
  418. #define age1960_PCS1900_MAX_CH                810 /* PCS 1900 max channel No. */
  419. #define age1960_GSM850_MIN_CH   128      /* GSM 850 min channel No. */
  420. #define age1960_GSM850_MAX_CH   251      /* GSM 850 max channel No. */
  421. #define age1960_PGSM_MIN_TXL                    0 /* PGSM min TX Level */
  422. #define age1960_PGSM_MAX_TXL                   31 /* PGSM max TX Level */
  423. #define age1960_EGSM_MIN_TXL                    0 /* EGSM min TX Level */
  424. #define age1960_EGSM_MAX_TXL                   31 /* EGSM max TX Level */
  425. #define age1960_DCS1800_MIN_TXL                 0 /* DCS 1800 min TX Level */
  426. #define age1960_DCS1800_MAX_TXL                31 /* DCS 1800 max TX Level */
  427. #define age1960_PCS1900_MIN_TXL_1               0 /* PCS 1900 Rng 1 min TX Level */
  428. #define age1960_PCS1900_MAX_TXL_1              15 /* PCS 1900 Rng 1 max TX Level */
  429. #define age1960_PCS1900_MIN_TXL_2              30 /* PCS 1900 Rng 2 min TX Level */
  430. #define age1960_PCS1900_MAX_TXL_2              31 /* PCS 1900 Rng 2 max TX Level */
  431. #define age1960_GSM850_MIN_TXL                  0 /* GSM 850 min TX Level */
  432. #define age1960_GSM850_MAX_TXL                 31 /* GSM 850 max TX Level */
  433. #define age1960_TADVANCE_MIN                    0 /* Timing Advance minimum */
  434. #define age1960_TADVANCE_MAX                   63 /* Timing Advance maxinum */
  435. #define age1960_SACCHREADINGS_MIN               1 /* Min number of SACCH readings to be made */
  436. #define age1960_SACCHREADINGS_MAX            1000 /* Max number of SACCH readings to be made */
  437. #define age1960_TRIG_DELAY_MIN           -0.00231 /* min trigger delay in seconds */
  438. #define age1960_TRIG_DELAY_MAX           +0.00231 /* max trigger delay in seconds */
  439. #define age1960_TIMESLOT_MIN                    3 /* Timeslot minimum */
  440. #define age1960_TIMESLOT_MAX                    5 /* Timeslot maximum */
  441. #define age1960_EXPECTED_POWER_MIN            -60.0 /* Expected Power minimum */
  442. #define age1960_EXPECTED_POWER_MAX            +53.0 /* Expected Power maximum */
  443. #define age1960_BA_TABLE_PTS_MIN                0 /* BA Table minimum pts */
  444. #define age1960_BA_TABLE_PTS_MAX               16 /* BA Table maxinum pts */
  445. #define age1960_MEAS_COUNT_MIN                  0 /* minimum number of measurements that can be made */
  446. #define age1960_MEAS_COUNT_MAX                999 /* maximum number of measurements that can be made */
  447. #define age1960_FBER_COUNT_MIN                  1 /* minimum number of bits that can be tested for FBER*/
  448. #define age1960_FBER_COUNT_MAX             999000 /* maximum number of bits that can be tested for FBER*/
  449. #define age1960_BER_COUNT_MIN                   1 /* minimum number of bits that can be tested for BER*/
  450. #define age1960_BER_COUNT_MAX              999000 /* maximum number of bits that can be tested for BER*/
  451. #define age1960_FBER_DELAY_MIN                  0 /* minimum FBER frame delay */
  452. #define age1960_FBER_DELAY_MAX                 26 /* maximum FBER frame delay */
  453. #define age1960_BER_DELAY_MIN                   1 /* minimum BER frame delay */
  454. #define age1960_BER_DELAY_MAX                  15 /* maximum BER frame delay */
  455. #define age1960_TSC0_BURST                      0 /* TSC0 expected burst */
  456. #define age1960_TSC1_BURST                      1 /* TSC1 expected burst */
  457. #define age1960_TSC2_BURST                      2 /* TSC2 expected burst */
  458. #define age1960_TSC3_BURST                      3 /* TSC3 expected burst */
  459. #define age1960_TSC4_BURST                      4 /* TSC4 expected burst */
  460. #define age1960_TSC5_BURST                      5 /* TSC5 expected burst */
  461. #define age1960_TSC6_BURST                      6 /* TSC6 expected burst */
  462. #define age1960_TSC7_BURST                      7 /* TSC7 expected burst */
  463. #define age1960_RACH_BURST                      8 /* RACH expected burst */
  464. #define age1960_CELL_POWER_MIN               -127.0 /* minimum cell power */
  465. #define age1960_CELL_POWER_MAX                -10.0 /* maximum cell power */
  466. #define age1960_CELL_1                          1 /* serving cell 1 */
  467. #define age1960_CELL_2                          2 /* serving cell 2 */
  468. #define age1960_MAN_RCV_CONTROL                 0 /* Manual receiver control */
  469. #define age1960_AUTO_RCV_CONTROL                1 /* Auto receiver control */
  470. #define age1960_TRIG_AUTO                       0 /* Auto trigger source */
  471. #define age1960_TRIG_PROT                       1 /* Protocol trigger source */
  472. #define age1960_TRIG_RF_RISE                    2 /* RF Rise trigger source */
  473. #define age1960_TRIG_IMMEDIATE                  3 /* Immediate trigger source */
  474. #define age1960_BSYNC_MID                       0 /* Midample burst sync */
  475. #define age1960_BSYNC_AMPL                      1 /* Amplitude burst sync */
  476. #define age1960_BSYNC_NONE                      2 /* No burst sync */
  477. #define age1960_PVT_POINTS_MIN                  0 /* minimum number of pvt offsets */
  478. #define age1960_PVT_POINTS_MAX                  12 /* maximum number of pvt offsets */
  479. #define age1960_PVT_OFFSET_MIN          -0.000050 /* minimum pvt offset time in seconds */
  480. #define age1960_PVT_OFFSET_MAX           0.000590 /* maximum pvt offset time in seconds */
  481. #define age1960_ORFSSW_POINTS_MIN               0 /* minimum number of ORFS switching frequencies */
  482. #define age1960_ORFSSW_POINTS_MAX               8 /* maximum number of ORFS switching frequencies */
  483. #define age1960_ORFSMOD_POINTS_MIN              0 /* minimum number of ORFS modulation frequencies */
  484. #define age1960_ORFSMOD_POINTS_MAX             22 /* maximum number of ORFS modulation frequencies */
  485. #define age1960_ORFSFREQ_MIN_1           -1800000.0 /* minimum ORFS Frequency in Hz, range 1 */
  486. #define age1960_ORFSFREQ_MAX_1                -10.0 /* maximum ORFS Frequency in Hz, range 1 */
  487. #define age1960_ORFSFREQ_MIN_2                 10.0 /* minimum ORFS Frequency in Hz, range 2 */
  488. #define age1960_ORFSFREQ_MAX_2            1800000.0 /* maximum ORFS Frequency in Hz, range 2 */
  489. #define age1960_EXP_VOLT_MIN                  0.010 /* minimum expected audio measurement range in volts peak */
  490. #define age1960_EXP_VOLT_MAX                   20.0 /* maximum expected audio measurement range in volts peak */
  491. #define age1960_AAUDFLT_FREQ_MIN              200.0 /* minimum bandpass analog audio frequency in Hz */
  492. #define age1960_AAUDFLT_FREQ_MAX             8000.0 /* maximum bandpass analog audio frequency in Hz */
  493. #define age1960_DAUDFLT_FREQ_MIN              200.0 /* minimum bandpass decoded audio frequency in Hz */
  494. #define age1960_DAUDFLT_FREQ_MAX             3600.0 /* maximum bandpass decoded audio frequency in Hz */
  495. #define age1960_AMPOFFSET_ITEMS_MIN             0 /* min items sent of zero turns off amplitude offset */
  496. #define age1960_AMPOFFSET_ITEMS_MAX            20 /* max items sent */
  497. #define age1960_OFFSET_FREQ_MIN       292500000.0 /* Offset Frequency minimum */
  498. #define age1960_OFFSET_FREQ_MAX      2700000000.0 /* Offset Frequency maximum */
  499. #define age1960_PATH_GAIN_MIN              -100.0 /* minimum path offset (gain) in dB */
  500. #define age1960_PATH_GAIN_MAX              +100.0 /* maximum path offset (gain) in dB */
  501. #define age1960_AUTORANGE_TRIES_MIN             1 /* minimum autorange tries */
  502. #define age1960_AUTORANGE_TRIES_MAX           100 /* maximum autorange tries */
  503. #define age1960_EXPECTED_PWR_MIN              -60.0 /* minimum expected power setting */
  504. #define age1960_EXPECTED_PWR_MAX               53.0 /* maximum expected power setting */
  505. #define age1960_BER_TYPE_IA                     0 /* Type IA BER Measurement */
  506. #define age1960_BER_TYPE_II                     1 /* Type II BER Measurement */
  507. #define age1960_BER_TYPE_IB                     2 /* Type IB BER Measurement */
  508. #define age1960_BER_RES_TYPE_IA                 3 /* Residual Type IA BER Measurement */
  509. #define age1960_BER_RES_TYPE_II                 4 /* Residual Type II BER Measurement */
  510. #define age1960_BER_RES_TYPE_IB                 5 /* Residual Type IB BER Measurement */
  511. #define age1960_CONN_STATE_UNKNOWN    -1       /* Connection status UNKNOWN */
  512. #define age1960_CALL_CONNECTED                  0 /* Call at the the connected state */
  513. #define age1960_CALL_ALERTING                   1 /* Call at the alerting state */
  514. #define age1960_CALL_IDLE                       2 /* Call at the idle state */
  515. #define age1960_WAITFOR_NMRR                    0 /* Wait for a specific NMRR state */
  516. #define age1960_WAITFOR_CALL                    1 /* Wait for call connected state */
  517. #define age1960_WAITFOR_MEAS                    2 /* Wait for a any NMRR state */
  518. #define age1960_HOLDOFF_TIME_MIN                0.0 /* min seconds for BER and FBER to holdoff the measurement */
  519. #define age1960_HOLDOFF_TIME_MAX                5.0 /* max seconds for BER and FBER to holdoff the measurement */
  520. #define age1960_PVTPLOT_ARRAY_MIN            2220 /* min number of points from PVT plot, for now fixed */
  521. #define age1960_PVTPLOT_ARRAY_MAX            5000 /* Max number of points from PVT plot, for now fixed */
  522. #define age1960_IQ_REF_NEG67K                   0 /* All zeros (-67.7) */
  523. #define age1960_IQ_REF_ZEROK                    1 /* Carrier  (0kHz)  */
  524. #define age1960_IQ_REF_PLUS67K                  2 /* All ones (+67.7) */
  525. #define age1960_IQ_REF_AUTO                     3 /* Function will reference to the highest level  */
  526. #define age1960_IQ_ARRAY_MIN                    9 /* The minimum array size for the IQ tuning results */
  527. #define age1960_IQ_ARRAY_MAX   500 /* The maximum array size for the IQ tuning results */
  528. #define age1960_LOOPBACK_OFF                    0 /* Turn Loopback off  */
  529. #define age1960_LOOPBACK_A                      1 /* Loopback to type A */
  530. #define age1960_LOOPBACK_B                      2 /* Loopback to type B */
  531. #define age1960_LOOPBACK_C                      3 /* Loopback to type C */
  532. #define age1960_FR_SPEECH 0 /* Channel mode setting - Full rate Speech */
  533. #define age1960_EFR_SPEECH 1 /* Channel mode setting -  Enhanced Full rate Speech */
  534. #define age1960_EXP_DIFF_MIN   -30.0 /* minimum Expected difference for dynamic power */
  535. #define age1960_EXP_DIFF_MAX    30.0 /* maximum Expected difference for dynamic power */
  536. #define age1960_DPOW_COUNT_MIN 1 /* minimum count for dynamic power */
  537. #define age1960_DPOW_COUNT_MAX   999 /* maximum count for dynamic power */
  538. #define age1960_DPOW_ARRAY_MIN 1 /* minimum number of points allowed for Dynamic power measurement */
  539. #define age1960_DPOW_ARRAY_MAX  2000 /* maximum number of points allowed for Dynmaic power measurement */
  540. #define age1960_IQT_SPURFREQ_MIN_1   -13.0E6
  541. #define age1960_IQT_SPURFREQ_MAX_1    -1.0E6
  542. #define age1960_IQT_SPURFREQ_MIN_2    1.0E6
  543. #define age1960_IQT_SPURFREQ_MAX_2       13.0E6
  544. #define age1960_TA_SWITCH_MAX_TIME   240 /* switching timeout value */
  545. #define age1960_FUND_FREQ_MIN   100.000000 /* Audio analyzer minimum fundamental frequency */
  546. #define age1960_FUND_FREQ_MAX     10000.000000 /* Audio analyzer maximum fundamental frequency */
  547. #define age1960_FILTER_NONE 0 /* Audio analyzer filter type NONE */
  548. #define age1960_FILTER_BANDPASS 1 /* Audio analyzer Tunable BandPass filter */
  549. #define age1960_FILTER_CMESSAGE 2 /* Audio analyzer C_Message filter type */
  550. #define age1960_FILTER_50_15KHZ 3 /* Audio analyzer BandPass filter 50 to 15khz */
  551. #define age1960_FILTER_300_15KHZ 4 /* Audio analyzer BandPass filter 300 to 15KHZ */
  552. #define age1960_BPF_FREQ_MIN 200.000000 /* Audio analyzer BandPass filter minimum center frequency */
  553. #define age1960_BPF_AFAN_FREQ_MAX   20000.000000 /* Audio analyzer BandPass filter maximum center frequency */
  554. #define age1960_DET_RMS 0 /* Audio analyzer RMS detector */
  555. #define age1960_DET_PPEAK 1 /* Audio analyzer Positive Peak detector */
  556. #define age1960_EXPANDOR_LVL_MIN   0.00 /* Audio analyzer RMS detector */
  557. #define age1960_EXPANDOR_LVL_MAX  10.00 /* Audio analyzer Positive Peak detector */
  558. #define age1960_AUTORNG_AFANALYZER 0 /* Audio Frequency Analyzer Meas Fcn */
  559. #define age1960_AUTORNG_TXPOWER 1 /* TX Power Meas Fcn */
  560. #define age1960_CIFT_CONF_LEVEL_MIN 80.0 /* PFER CIFT confidence level minimum */
  561. #define age1960_CIFT_CONF_LEVEL_MAX 99.9 /* PFER CIFT confidence level maximum */
  562. #define age1960_PFER_PEAK_PHASE_LIMIT_MIN 0.0 /* PFER CIFT peak phase error limit minimum */
  563. #define age1960_PFER_PEAK_PHASE_LIMIT_MAX 20.0 /* PFER CIFT peak phase error limit maximum */
  564. #define age1960_PFER_RMS_PHASE_LIMIT_MIN 0.0 /* PFER CIFT rms phase error limit minimum */
  565. #define age1960_PFER_RMS_PHASE_LIMIT_MAX 5.0 /* PFER CIFT rms phase error limit maximum */
  566. #define age1960_PFER_FREQ_ERROR_LIMIT_MIN 0.01 /* PFER CIFT frequency error limit minimum */
  567. #define age1960_PFER_FREQ_ERROR_LIMIT_MAX 0.10 /* PFER CIFT frequency error limit minimum */
  568. #define age1960_GPRS_FORMAT "GPRS" /* GPRS TA format name */
  569. #define age1960_GSM_FORMAT "GSM" /* GSM TA format name */
  570. #define age1960_AMPS_IS136_FORMAT "AMPSIS136" /* AMPS/IS136 TA format name */
  571. #define age1960_WCDMA_FORMAT "WCDMA"      /* WCDMA TA format name */
  572. #define age1960_GPRS_TA_SUFFIX ":GPRS"      /* SCPI suffix for GPRS TAP SCPI */
  573. #define age1960_GSM_TA_SUFFIX ":GSM"       /* SCPI suffix for GSM TAP SCPI */
  574. #define age1960_IS136_TA_SUFFIX ":DIG136"    /* SCPI suffix for AMPS/IS136 TAP (Digital Control Channel Only) */
  575. #define age1960_AMPS_IS136_TA_SUFFIX ":TA136"     /* SCPI suffix for AMPS/IS136 TAP SCPI */
  576. #define age1960_WCDMA_TA_SUFFIX ":WCDMA"     /* SCPI suffix for WCDMA TAP SCPI */
  577. #define age1960_C2K_TA_SUFFIX ":C2K" /* SCPI suffix for C2K SCPI */
  578. #define age1960_PVT_MASK_NARROW 0 /* Power Vs Time PCS ETSI Limit Mask - Narrow */
  579. #define age1960_PVT_MASK_RELAXED 1 /* Power Vs Time PCS ETSI Limit Mask - Relaxed */
  580. #define age1960_ORFS_LIMIT_ETSI 0 /* ORFS measurement Limit Source ETSI setting */
  581. #define age1960_ORFS_LIMIT_MAN 1 /* ORFS measurement Limit Source Manual setting */
  582.  
  583. #define age1960_ORFSSW_LIM_POINTS_MIN 1 /* ORFS Switching Limits minimum number of points */
  584. #define age1960_ORFSSW_LIM_POINTS_MAX 8 /* ORFS Switching Limits maximum number of points */
  585. #define age1960_ORFSMOD_LIM_POINTS_MIN 1 /* ORFS Modulation Limits minimum number of points */
  586. #define age1960_ORFSMOD_LIM_POINTS_MAX 22 /* ORFS Modulation Limits maximum number of points */
  587. #define age1960_ORFSSW_LIMIT_MIN       -200.0 /* ORFS Switching Limits minimum acceptable setting */
  588. #define age1960_ORFSSW_LIMIT_MAX    100.0 /* ORFS Switching Limits maximum acceptable setting */
  589. #define age1960_ORFSMOD_LIMIT_MIN   -200.0 /* ORFS Modulation Limits minimum acceptable setting */
  590. #define age1960_ORFSMOD_LIMIT_MAX    100.0 /* ORFS Modulation Limits maximum acceptable setting */
  591.         /***************************************************/
  592.         /*  Tracing functions for surround                 */
  593.         /***************************************************/
  594. #define  age1960_TRAC_STDERR       0
  595. #define  age1960_TRAC_EVENTLOG     1
  596. #define  age1960_TRAC_DEBUGSTRING  2
  597. #define  age1960_TRAC_CALLBACK     3
  598. #define  age1960_TRAC_NONE         0
  599. #define  age1960_TRAC_ERROR        1
  600. #define  age1960_TRAC_ALL          2
  601. ViStatus _VI_FUNC age1960_diagTrac  (
  602.   ViSession vi,
  603.   ViInt16 destination,
  604.   ViInt16 level);
  605. #ifdef INSTR_CALLBACKS
  606. ViStatus _VI_FUNC age1960_diagTracCallback  (
  607.   ViSession vi,
  608.   ViAddr function,
  609.   ViAddr handle);
  610. #endif /* INSTR_CALLBACKS */
  611. ViStatus _VI_FUNC age1960_diagTrac_Q  (
  612.   ViSession vi,
  613.   ViPInt16 destination,
  614.   ViPInt16 level);
  615.         /***************************************************/
  616.         /*  Instrument specific functions                  */
  617.         /***************************************************/
  618. ViStatus _VI_FUNC age1960_cmdIntArr
  619.                         (ViSession  instrumentHandle,
  620.                          ViString   sendIntegerArrayCommand,
  621.                          ViInt32    sendIntegerArraySize,
  622.                          ViInt32    sendIntegerArray[]);
  623. ViStatus _VI_FUNC age1960_cmdRealArr
  624.                         (ViSession  instrumentHandle,
  625.                          ViString   sendRealArrayCommand,
  626.                          ViInt32    sendRealArraySize,
  627.                          ViReal64   sendRealArray[]);
  628. ViStatus _VI_FUNC age1960_partialPreset
  629.                         (ViSession  instrumentHandle);
  630. ViStatus _VI_FUNC age1960_readTXPower_Q
  631.                         (ViSession  instrumentHandle,
  632.                          ViBoolean  autoRange,
  633.                          ViPInt32   TXPowerIntegrity,
  634.                          ViPReal64  TXPower);
  635. ViStatus _VI_FUNC age1960_readPowerVsTime_Q
  636.                         (ViSession  instrumentHandle,
  637.                          ViInt32    pvsTimeArraySize,
  638.                          ViPInt32   pvsTimeIntegrity,
  639.                          ViPReal64  pvsTimeMaskFail,
  640.                          ViPReal64  pvsTimeTXPower,
  641.                          ViReal64   _VI_FAR pvsTimeArray[],
  642.                          ViPInt32   pvsTimeCount);
  643. ViStatus _VI_FUNC age1960_readIQTuning_Q
  644.                         (ViSession  instrumentHandle,
  645.                          ViInt32    IQArraySize,
  646.                          ViPInt32   IQIntegrity,
  647.                          ViPReal64  IQSpurFreq,
  648.                          ViPReal64  IQSpurLevel,
  649.                          ViReal64   _VI_FAR IQResultsArray[],
  650.                          ViReal64   _VI_FAR IQFreqsArray[],
  651.                          ViPInt32   IQTuningCount);
  652. ViStatus _VI_FUNC age1960_readPFER_Q
  653.                         (ViSession instrumentHandle,
  654.                          ViPInt32   PFERIntegrity,
  655.                          ViPReal64  PFERRMSError,
  656.                          ViPReal64  PFERPeakError,
  657.                          ViPReal64  PFERFreqError);
  658. ViStatus _VI_FUNC age1960_readORFS_Q
  659.                         (ViSession  instrumentHandle,
  660.                          ViInt32    ORFSSwArraySize,
  661.                          ViInt32    ORFSModArraySize,
  662.                          ViPInt32   ORFSIntegrity,
  663.                          ViPReal64  ORFSTXPower,
  664.                          ViPReal64  ORFSBWPower,
  665.                          ViReal64   _VI_FAR ORFSSwArray[],
  666.                          ViReal64   _VI_FAR ORFSModArray[],
  667.                          ViPInt32   ORFSSwCount,
  668.                          ViPInt32   ORFSModCount);
  669. ViStatus _VI_FUNC age1960_readFBER_Q
  670.                         (ViSession  instrumentHandle,
  671.                          ViPInt32   FBERIntegrity,
  672.                          ViPReal64  FBERBitsTested,
  673.                          ViPReal64  FBERRatio,
  674.                          ViPReal64  FBERCount);
  675. ViStatus _VI_FUNC age1960_readBER_Q
  676.                         (ViSession  instrumentHandle,
  677.                          ViPInt32   BERIntegrity,
  678.                          ViPReal64  TypeIaBERBitsTested,
  679.                          ViPReal64  TypeIaBERRatio,
  680.                          ViPReal64  TypeIaBERCount,
  681.                          ViPReal64  TypeIbBERBitsTested,
  682.                          ViPReal64  TypeIbBERRatio,
  683.                          ViPReal64  TypeIbBERCount,
  684.                          ViPReal64  TypeIIBERBitsTested,
  685.                          ViPReal64  TypeIIBERRatio,
  686.                          ViPReal64  TypeIIBERCount);
  687. ViStatus _VI_FUNC age1960_readAAudio_Q
  688.                         (ViSession  instrumentHandle,
  689.                          ViPInt32   AAudioIntegrity,
  690.                          ViPReal64  AAudioResult);
  691. ViStatus _VI_FUNC age1960_readDAudio_Q
  692.                         (ViSession  instrumentHandle,
  693.                          ViPInt32   DAudioIntegrity,
  694.                          ViPReal64  DAudioResult);
  695. ViStatus _VI_FUNC age1960_readDynPower_Q
  696. (ViSession  instrumentHandle,
  697.                          ViInt32    dynPowerArraySize,
  698.                          ViInt32    _VI_FAR dynPowerIntegrity[],
  699.                          ViReal64   _VI_FAR dynPowerArray[],
  700.                          ViPInt32   dynPowerCount);
  701. ViStatus _VI_FUNC age1960_initMeasFcn
  702.                         (ViSession  instrumentHandle,
  703.                          ViInt16    measFcn);
  704. ViStatus _VI_FUNC age1960_initMeasFcns
  705.                         (ViSession  instrumentHandle,
  706.                          ViInt32    measFcnsToInit,
  707.                          ViInt16    _VI_FAR measFcnsArray[]);
  708. ViStatus _VI_FUNC age1960_fetchTXPower_Q
  709.                         (ViSession instrumentHandle,
  710.                          ViPInt32   TXPowerIntegrity,
  711.                          ViPReal64  TXPower);
  712. ViStatus _VI_FUNC age1960_fetchPowerVsTime_Q
  713.                         (ViSession instrumentHandle,
  714.                          ViInt32    pvsTimeArraySize,
  715.                          ViPInt32   pvsTimeIntegrity,
  716.                          ViPReal64  pvsTimeMaskFail,
  717.                          ViPReal64  pvsTimeTXPower,
  718.                          ViReal64   _VI_FAR pvsTimeArray[],
  719.                          ViPInt32   pvsTimeCount);
  720. ViStatus _VI_FUNC age1960_fetchDynPower_Q
  721.                         (ViSession  instrumentHandle,
  722.                          ViInt32    dynPowerArraySize,
  723.                          ViInt32    _VI_FAR dynPowerIntegrity[],
  724.                          ViReal64   _VI_FAR dynPowerArray[],
  725.                          ViPInt32   dynPowerCount);
  726. ViStatus _VI_FUNC age1960_fetchIQTuning_Q
  727.                         (ViSession  instrumentHandle,
  728.                          ViInt32    IQArraySize,
  729.                          ViPInt32   IQIntegrity,
  730.                          ViPReal64   IQSpurFreq,
  731.                          ViPReal64   IQSpurLevel,
  732.                          ViReal64   _VI_FAR IQResultsArray[],
  733.                          ViReal64   _VI_FAR IQFreqsArray[],
  734.                          ViPInt32   IQTuningCount);
  735. ViStatus _VI_FUNC age1960_fetchPFER_Q
  736.                         (ViSession instrumentHandle,
  737.                          ViPInt32   PFERIntegrity,
  738.                          ViPReal64  PFERRMSError,
  739.                          ViPReal64  PFERPeakError,
  740.                          ViPReal64  PFERFreqError);
  741. ViStatus _VI_FUNC age1960_fetchORFS_Q
  742.                         (ViSession  instrumentHandle,
  743.                          ViInt32    ORFSSwArraySize,
  744.                          ViInt32    ORFSModArraySize,
  745.                          ViPInt32   ORFSIntegrity,
  746.                          ViPReal64  ORFSTXPower,
  747.                          ViPReal64  ORFSBWPower,
  748.                          ViReal64   _VI_FAR ORFSSwArray[],
  749.                          ViReal64   _VI_FAR ORFSModArray[],
  750.                          ViPInt32   ORFSSwCount,
  751.                          ViPInt32   ORFSModCount);
  752. ViStatus _VI_FUNC age1960_fetchFBER_Q
  753.                         (ViSession  instrumentHandle,
  754.                          ViPInt32   FBERIntegrity,
  755.                          ViPReal64  FBERBitsTested,
  756.                          ViPReal64  FBERRatio,
  757.                          ViPReal64  FBERCount);
  758. ViStatus _VI_FUNC age1960_fetchBER_Q
  759.                         (ViSession  instrumentHandle,
  760.                          ViPInt32   BERIntegrity,
  761.                          ViPReal64  TypeIaBERBitsTested,
  762.                          ViPReal64  TypeIaBERRatio,
  763.                          ViPReal64  TypeIaBERCount,
  764.                          ViPReal64  TypeIbBERBitsTested,
  765.                          ViPReal64  TypeIbBERRatio,
  766.                          ViPReal64  TypeIbBERCount,
  767.                          ViPReal64  TypeIIBERBitsTested,
  768.                          ViPReal64  TypeIIBERRatio,
  769.                          ViPReal64  TypeIIBERCount);
  770. ViStatus _VI_FUNC age1960_fetchAAudio_Q
  771.                         (ViSession  instrumentHandle,
  772.                          ViPInt32   AAudioIntegrity,
  773.                          ViPReal64  AAudioResult);
  774. ViStatus _VI_FUNC age1960_fetchDAudio_Q
  775.                         (ViSession  instrumentHandle,
  776.                          ViPInt32   DAudioIntegrity,
  777.                          ViPReal64  DAudioResult);
  778. ViStatus _VI_FUNC age1960_waitForInitDone_Q
  779.                         (ViSession  instrumentHandle,
  780.                          ViReal64   initDoneTimeOut,
  781.                          ViPInt16   measFcnDone);
  782. ViStatus _VI_FUNC age1960_originateCall
  783.                         (ViSession  instrumentHandle,
  784.                          ViInt16    completion,
  785.                          ViReal64   originateTimeOut);
  786. ViStatus _VI_FUNC age1960_endCall
  787.                         (ViSession  instrumentHandle,
  788.                          ViBoolean  endSeq);
  789. ViStatus _VI_FUNC age1960_TCHARFCN
  790.                         (ViSession  instrumentHandle,
  791.                          ViInt32 TCHARFCN,
  792.                          ViInt16 TCHARFCNBand,
  793.                          ViBoolean  TCHARFCNSeq);
  794. ViStatus _VI_FUNC age1960_manualChan
  795.                         (ViSession  instrumentHandle,
  796.                          ViInt32    manualChan,
  797.                          ViInt16    manualChanBand);
  798. ViStatus _VI_FUNC age1960_expectedPower
  799.                         (ViSession  instrumentHandle,
  800.                          ViReal64   expectedPower,
  801.                          ViInt16    expectedPowerBand);
  802. ViStatus _VI_FUNC age1960_confRcvControl
  803.                         (ViSession  instrumentHandle,
  804.                          ViInt16    rcvControlMode);
  805. ViStatus _VI_FUNC age1960_MSTXLevel
  806.                         (ViSession  instrumentHandle,
  807.                          ViInt32    MSTXLevel,
  808.                          ViInt16    MSTXLevelBand,
  809.                          ViBoolean  MSTXLevelSeq);
  810. ViStatus _VI_FUNC age1960_TCHTimeslot
  811.                         (ViSession  instrumentHandle,
  812.                          ViInt32    TCHTimeslot,
  813.                          ViBoolean  TCHTimeslotSeq);
  814. ViStatus _VI_FUNC age1960_MSTimeAdvance
  815.                         (ViSession  instrumentHandle,
  816.                          ViInt32    MSTimingAdvance,
  817.                          ViBoolean  MSTimingAdvanceSeq);
  818. ViStatus _VI_FUNC age1960_BCHARFCN
  819.                         (ViSession  instrumentHandle,
  820.                          ViInt16    BCHARFCNCell,
  821.                          ViInt32    BCHARFCN,
  822.                          ViInt16    BCHARFCNBand,
  823.                          ViBoolean  BCHARFCNSeq);
  824. ViStatus _VI_FUNC age1960_cellBand
  825.                         (ViSession  instrumentHandle,
  826.                          ViInt16    servingCellBandCell,
  827.                          ViInt16    servingCellBand);
  828. ViStatus _VI_FUNC age1960_TCHBand
  829.                         (ViSession  instrumentHandle,
  830.                          ViInt16    TCHBand);
  831. ViStatus _VI_FUNC age1960_manualBand
  832.                         (ViSession  instrumentHandle,
  833.                          ViInt16    manaulBand);
  834. ViStatus _VI_FUNC age1960_operatingMode
  835.                         (ViSession  instrumentHandle,
  836.                          ViInt16    operatingMode);
  837. ViStatus _VI_FUNC age1960_BATable
  838.                         (ViSession  instrumentHandle,
  839.                          ViInt16    BATableCell,
  840.                          ViInt32    BATableArraySize,
  841.                          ViInt32    _VI_FAR BATableArray[],
  842.                          ViInt16    BATableBand);
  843. ViStatus _VI_FUNC age1960_burstType
  844.                         (ViSession  instrumentHandle,
  845.                          ViInt16    burstType);
  846. ViStatus _VI_FUNC age1960_amplitudeOffset
  847.                         (ViSession  instrumentHandle,
  848.                          ViReal64    _VI_FAR frequencyArray[],
  849.                          ViReal64    _VI_FAR offsetArray[],
  850.                          ViInt32     ampOffsetItems);
  851. ViStatus _VI_FUNC age1960_cellPower
  852.                         (ViSession  instrumentHandle,
  853.                          ViInt16    cellPowerCell,
  854.                          ViReal64   cellPower,
  855.                          ViReal64   cellPowerDelta);
  856. ViStatus _VI_FUNC age1960_channelMode
  857. (ViSession instrumentHandle,
  858.                          ViInt16 channelMode);
  859. ViStatus _VI_FUNC age1960_FACCHSignaling 
  860. (ViSession instrumentHandle,
  861. ViBoolean facchState);
  862. ViStatus _VI_FUNC age1960_integrityMessage
  863.                         (ViSession  instrumentHandle,
  864.                          ViInt32    integrityCode,
  865.                          ViPString  integrityMessage);
  866. ViStatus _VI_FUNC age1960_measurementTimeout
  867.                         (ViSession  instrumentHandle,
  868.                          ViInt16    timeoutMeasFcn,
  869.                          ViReal64   timeoutSec,
  870.                          ViBoolean  timeoutOnOff);
  871. ViStatus _VI_FUNC age1960_confTXPower
  872.                         (ViSession  instrumentHandle,
  873.                          ViInt32    TXPowerMeasCount,
  874.                          ViInt16    TXPowerTrigSource,
  875.                          ViReal64   TXPowerTrigDelay,
  876.                          ViBoolean  TXPowerTrigQual,
  877.                          ViReal64   TXPowerMaxTime);
  878. ViStatus _VI_FUNC age1960_confDynPower
  879.                         (ViSession  instrumentHandle,
  880.                          ViInt32    DynPowerMeasCount,
  881.                          ViReal64   DynPowerExpMaxDiff,
  882.                          ViReal64   DynPowerMaxTime);
  883. ViStatus _VI_FUNC age1960_confPowerVsTime
  884.                         (ViSession  instrumentHandle,
  885.                          ViInt32    pvsTimeMeasCount,
  886.                          ViInt16    pvsTimeTrigSource,
  887.                          ViReal64   pvsTimeTrigDelay,
  888.                          ViInt16    pvsTimeSync,
  889.                          ViInt32    pvsTimePoints,
  890.                          ViReal64   pvsTimeOffsets[],
  891.                          ViReal64   pvsTimeMaxTime);
  892. ViStatus _VI_FUNC age1960_confPFER
  893.                         (ViSession  instrumentHandle,
  894.                          ViInt32    PFERMeasCount,
  895.                          ViInt16    PFERTrigSource,
  896.                          ViReal64   PFERTrigDelay,
  897.                          ViBoolean  PFERTrigQual,
  898.                          ViInt16    PFERSync,
  899.                          ViReal64   PFERMaxTime);
  900. ViStatus _VI_FUNC age1960_confORFS
  901.                         (ViSession  instrumentHandle,
  902.                          ViInt32    ORFSSwMeasCount,
  903.                          ViInt32    ORFSModMeasCount,
  904.                          ViInt16    ORFSTrigSource,
  905.                          ViReal64   ORFSTrigDelay,
  906.                          ViInt32    ORFSSwPoints,
  907.                          ViReal64   ORFSSwFreqs[],
  908.                          ViInt32    ORFSModPoints,
  909.                          ViReal64   ORFSModFreqs[],
  910.                          ViReal64   ORFSMaxTime);
  911. ViStatus _VI_FUNC age1960_confFastBER
  912.                         (ViSession  instrumentHandle,
  913.                          ViInt32    FBERMeasCount,
  914.                          ViInt32    FBERManualDelay,
  915.                          ViBoolean  FBERAutoDelay,
  916.                          ViBoolean  FBERSignallingControl,
  917.                          ViReal64   FBERHoldoffTime,
  918.                          ViReal64   FBERMaxTime);
  919. ViStatus _VI_FUNC age1960_confBER
  920.                          (ViSession  instrumentHandle,
  921.                          ViInt32    BERMeasCount,
  922.                          ViInt16    BERMeasType,
  923.                          ViInt32    BERManualDelay,
  924.                          ViBoolean  BERAutoDelay,
  925.                          ViBoolean  BERSignallingControl,
  926.                          ViReal64   BERHoldoffTime,
  927.                          ViReal64   BERMaxTime);
  928. ViStatus _VI_FUNC age1960_confAAudio
  929.                         (ViSession  instrumentHandle,
  930.                          ViInt32    AAudioMeasCount,
  931.                          ViReal64   AAudioExpVolt,
  932.                          ViReal64   AAudioFiltFreq,
  933.                          ViBoolean  AAudioFiltState,
  934.                          ViReal64   AAudioMaxTime);
  935. ViStatus _VI_FUNC age1960_confDAudio
  936.                         (ViSession  instrumentHandle,
  937.                          ViInt32    DAudioMeasCount,
  938.                          ViReal64   DAudioFiltFreq,
  939.                          ViBoolean  DAudioFiltState,
  940.                          ViReal64   DAudioMaxTime);
  941. ViStatus _VI_FUNC age1960_confIQTuning
  942.                         (ViSession  instrumentHandle,
  943.                          ViInt32    IQTMeasCount,
  944.                          ViInt16    IQTTrigSource,
  945.                          ViReal64   IQTTrigDelay,
  946.                          ViInt16    IQTRefOffsetFrequency,
  947.                          ViBoolean  IQTSpurFreqState,
  948.                          ViReal64   IQTSpurFrequency,
  949.                          ViReal64   IQTMaxTime);
  950. ViStatus _VI_FUNC age1960_confAutoRange
  951. (ViSession instrumentHandle,
  952.  ViInt16 measFcnToUse,
  953.  ViInt32 tries);
  954. ViStatus _VI_FUNC age1960_confForMSOriginate
  955.                         (ViSession  instrumentHandle);
  956. ViStatus _VI_FUNC age1960_waitForConnect
  957.                         (ViSession  instrumentHandle,
  958.                          ViReal64   connectTimeOut);
  959. ViStatus _VI_FUNC age1960_getCorrectionFreq_Q
  960.                         (ViSession  instrumentHandle,
  961.                          ViInt16    cell,
  962.                          ViPReal64  downlinkFreq,
  963.                          ViPReal64  uplinkFreq);
  964. ViStatus _VI_FUNC age1960_getPresentFreq_Q
  965.                         (ViSession  instrumentHandle,
  966.                          ViPReal64  downlinkFreq,
  967.                          ViPReal64  uplinkFreq,
  968.  ViPReal64  measurementFreq);
  969. ViStatus _VI_FUNC age1960_getApproxOffset_Q
  970. (ViSession  instrumentHandle,
  971.  ViReal64   frequency,
  972.  ViPReal64  offset);
  973. ViStatus _VI_FUNC age1960_UUTLevel_Q
  974.                         (ViSession instrumentHandle,
  975.                          ViInt16 cell,
  976.                          ViPReal64 level);
  977. ViStatus _VI_FUNC age1960_SACCHReport_Q
  978.                         (ViSession instrumentHandle,
  979.                          ViBoolean  waitForNewSACCH,
  980.                          ViInt32    numberOfReadings,
  981.                          ViPReal64  RXLevel,
  982.                          ViPReal64  TXLevel,
  983.                          ViPReal64  RXQuality,
  984.                          ViPReal64  TimingAdvance);
  985. ViStatus _VI_FUNC age1960_waitForClearHPIB
  986.                         (ViSession instrumentHandle,
  987.                          ViInt32  timeOut);
  988. ViStatus _VI_FUNC age1960_useSRQMAV
  989.                         (ViSession instrumentHandle,
  990.                          ViBoolean useSRQMAV);
  991. ViStatus _VI_FUNC age1960_useSRQMAV_Q
  992.                         (ViSession   instrumentHandle,
  993.                          ViPBoolean  useSRQMAV);
  994. ViStatus _VI_FUNC age1960_PowerVsTimePlot_Q
  995.                         (ViSession   instrumentHandle,
  996.                          ViInt32     pvsTimePlotArraySize,
  997.                          ViPInt32    pvsTimePlotIntegrity,
  998.                          ViPReal64   pvsTimePlotMaskFail,
  999.                          ViPReal64   pvsTimePlotPower,
  1000.                          ViPReal64   pvsTimeStartTime,
  1001.                          ViPReal64   pvsTimeIncrement,
  1002.                          ViReal64    _VI_FAR pvsTimePlotArray[]);
  1003. ViStatus _VI_FUNC age1960_loopback
  1004.                         (ViSession  instrumentHandle,
  1005.                          ViInt16    loopbackMode);
  1006. ViStatus _VI_FUNC age1960_currentTA
  1007.                         (ViSession  instrumentHandle,
  1008.                          ViString   TAName,
  1009.                          ViString   TARevision);
  1010. ViStatus _VI_FUNC age1960_currentTA_Q
  1011.                         (ViSession  instrumentHandle,
  1012.                          ViPString  TANameQuery,
  1013.                          ViPString  TARevisionQuery);
  1014. ViStatus _VI_FUNC age1960_currentTAModel_Q
  1015.                         (ViSession  instrumentHandle,
  1016.                          ViPString  TAModel);
  1017. ViStatus _VI_FUNC age1960_currentActiveTAP
  1018.                         (ViSession  instrumentHandle,
  1019.                          ViString   TAName);
  1020. ViStatus _VI_FUNC age1960_currentActiveTAP_Q
  1021.                         (ViSession  instrumentHandle,
  1022.                          ViPString  TANameQuery);
  1023. ViStatus _VI_FUNC age1960_confAFAN
  1024. (ViSession  instrumentHandle,
  1025.  ViInt32  AFANMeasCount,
  1026.  ViBoolean  AFANSinadDist,
  1027.  ViReal64  AFANFundFreq,
  1028.  ViInt16  AFANFilterType,
  1029.  ViReal64  AFANBPFCntFreq,
  1030.  ViInt16  AFANDetType,
  1031.  ViReal64  AFANPeakVolt,
  1032.  ViBoolean  AFANDeemphasis,
  1033.  ViReal64  AFANExpandorLevel,
  1034.  ViReal64  AFANMaxTime);
  1035. ViStatus _VI_FUNC age1960_fetchAFAN_Q
  1036. (ViSession  instrumentHandle,
  1037.  ViPInt32  AFANIntegrity,
  1038.  ViPReal64  AFANAvgAudioLevel,
  1039.  ViPReal64  AFANAvgSINAD,
  1040.  ViPReal64  AFANAvgDist);
  1041. ViStatus _VI_FUNC age1960_readAFAN_Q
  1042. (ViSession  instrumentHandle,
  1043.  ViBoolean  AFANAutoRange,
  1044.  ViPInt32  AFANIntegrity,
  1045.  ViPReal64  AFANAvgAudioLevel,
  1046.  ViPReal64  AFANAvgSINAD,
  1047.  ViPReal64  AFANAvgDist);
  1048. ViStatus _VI_FUNC age1960_confPFER_CIFT
  1049. (ViSession  instrumentHandle,
  1050.  ViBoolean  PFERCIFTState,
  1051.  ViReal64   PFERConfidenceLevel,
  1052.  ViReal64   PFERPeakPhaseErrorMaxLimit,
  1053.  ViReal64   PFERRmsPhaseErrorMaxLimit,
  1054.  ViReal64   PFERFrequencyErrorMaxLimit);
  1055. ViStatus _VI_FUNC age1960_confPVTMask
  1056. (ViSession  instrumentHandle,
  1057.  ViInt16    PVTMaskForPCS);
  1058. ViStatus _VI_FUNC age1960_confORFSLimitSource
  1059. (ViSession  instrumentHandle,
  1060.  ViInt16    limitSource);
  1061. ViStatus _VI_FUNC age1960_confORFSSwitchLimits
  1062. (ViSession  instrumentHandle,
  1063.  ViInt16    measurementBand,
  1064.           ViInt32    switchingOffsetPoints,
  1065.           ViReal64   _VI_FAR switchingLimitsArray[]);
  1066. ViStatus _VI_FUNC age1960_confORFSModLimits
  1067. (ViSession  instrumentHandle,
  1068.  ViInt16    measurementBand,
  1069.           ViInt32    modulationOffsetPoints,
  1070.           ViReal64   _VI_FAR modulationLimitsArray[]);
  1071. ViStatus _VI_FUNC age1960_fetchORFSSummaryPassFail_Q
  1072. (ViSession  instrumentHandle,
  1073.  ViPReal64  overallPFSummary,
  1074.           ViPReal64  switchingPFSummary,
  1075.           ViPReal64  modulationPFSummary);
  1076. ViStatus _VI_FUNC age1960_burstTimingError_Q
  1077. (ViSession  instrumentHandle,
  1078.  ViPReal64  burstTimingError);
  1079. /* End of instrument specific declarations */
  1080. /*---------------------------------------------------------------------------*/
  1081. /* Used for "C" externs in C++ */
  1082. #if defined(__cplusplus) || defined(__cplusplus__)
  1083. }
  1084. #endif
  1085. #endif /* age1960_INCLUDE */