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

MTK

开发平台:

C++ Builder

  1. /*****************************************************************************/
  2. /*  $Header:: /VXIPnP/Falcon/hp661x/hp661x.h 1     5/08/00 1:54p Rkinney   $ */
  3. /*  Copyright 1998-2000 Agilent Technologies, Inc.                           */
  4. /*---------------------------------------------------------------------------*/
  5. /*  Driver for hp661x                                                        */
  6. /*  Driver Version: B.00.00                                                  */
  7. /*****************************************************************************/
  8. #ifndef HP661X_INCLUDE 
  9. #define HP661X_INCLUDE
  10. #include "vpptype.h"
  11. /* Used for "C" externs in C++ */
  12. #if defined(__cplusplus) || defined(__cplusplus__)
  13. extern "C" {
  14. #endif
  15. /*****************************************************************************/
  16. /*  STANDARD SECTION                                                         */
  17. /*  Constants and function prototypes for HP standard functions.             */
  18. /*****************************************************************************/
  19.         /***************************************************/
  20.         /*  Standard constant error conditions returned    */
  21.         /*  by driver functions.                           */
  22.         /*    HP Common Error numbers start at BFFC0D00    */
  23.         /*    The parameter errors extend the number of    */
  24.         /*      errors over the eight defined in VPP 3.4   */
  25.         /***************************************************/
  26. #define HP661X_INSTR_ERROR_NULL_PTR      (_VI_ERROR+0x3FFC0D02L) /* 0xBFFC0D02 */
  27. #define HP661X_INSTR_ERROR_RESET_FAILED  (_VI_ERROR+0x3FFC0D03L) /* 0xBFFC0D03 */
  28. #define HP661X_INSTR_ERROR_UNEXPECTED    (_VI_ERROR+0x3FFC0D04L) /* 0xBFFC0D04 */
  29. #define HP661X_INSTR_ERROR_INV_SESSION   (_VI_ERROR+0x3FFC0D05L) /* 0xBFFC0D05 */
  30. #define HP661X_INSTR_ERROR_LOOKUP        (_VI_ERROR+0x3FFC0D06L) /* 0xBFFC0D06 */
  31. #define HP661X_INSTR_ERROR_DETECTED      (_VI_ERROR+0x3FFC0D07L) /* 0xBFFC0D07 */
  32. #define HP661X_INSTR_NO_LAST_COMMA       (_VI_ERROR+0x3FFC0D08L) /* 0xBFFC0D08 */ 
  33. #define HP661X_INSTR_ERROR_PARAMETER9    (_VI_ERROR+0x3FFC0D20L) /* 0xBFFC0D20 */
  34. #define HP661X_INSTR_ERROR_PARAMETER10   (_VI_ERROR+0x3FFC0D21L) /* 0xBFFC0D21 */
  35. #define HP661X_INSTR_ERROR_PARAMETER11   (_VI_ERROR+0x3FFC0D22L) /* 0xBFFC0D22 */
  36. #define HP661X_INSTR_ERROR_PARAMETER12   (_VI_ERROR+0x3FFC0D23L) /* 0xBFFC0D23 */
  37. #define HP661X_INSTR_ERROR_PARAMETER13   (_VI_ERROR+0x3FFC0D24L) /* 0xBFFC0D24 */
  38. #define HP661X_INSTR_ERROR_PARAMETER14   (_VI_ERROR+0x3FFC0D25L) /* 0xBFFC0D25 */
  39. #define HP661X_INSTR_ERROR_PARAMETER15   (_VI_ERROR+0x3FFC0D26L) /* 0xBFFC0D26 */
  40. #define HP661X_INSTR_ERROR_PARAMETER16   (_VI_ERROR+0x3FFC0D27L) /* 0xBFFC0D27 */
  41. #define HP661X_INSTR_ERROR_PARAMETER17   (_VI_ERROR+0x3FFC0D28L) /* 0xBFFC0D28 */
  42. #define HP661X_INSTR_ERROR_PARAMETER18   (_VI_ERROR+0x3FFC0D29L) /* 0xBFFC0D29 */
  43. #define HP661X_INSTR_ERROR_MEAS_TMO  (_VI_ERROR+0x3FFC0D2AL) /* 0xBFFC0D2A */
  44. #define HP661X_INSTR_ERROR_PORT_CONFIG  (_VI_ERROR+0x3FFC0D2BL) /* 0xBFFC0D2B */
  45. #define HP661X_INSTR_ERROR_GET_MAX  (_VI_ERROR+0x3FFC0D2CL) /* 0xBFFC0D2C */
  46.         /***************************************************/
  47.         /*  Constants used by system status functions      */
  48.         /*    These defines are bit numbers which define   */
  49.         /*    the operation and questionable registers.    */
  50.         /*    They are instrument specific.                */
  51.         /***************************************************/
  52. #define HP661X_STB_QUES 0x0008
  53. #define HP661X_STB_MAV 0x0010
  54. #define HP661X_STB_ESB 0x0020
  55. #define HP661X_STB_MSS 0x0040
  56. #define HP661X_STB_RQS 0x0040
  57. #define HP661X_STB_OPER 0x0080
  58. #define HP661X_SRE_QUES ((ViInt16)8)
  59. #define HP661X_SRE_MAV ((ViInt16)16)
  60. #define HP661X_SRE_ESB ((ViInt16)32)
  61. #define HP661X_SRE_MSS ((ViInt16)64)
  62. #define HP661X_SRE_OPER ((ViInt16)128)
  63. #define HP661X_OPER_CAL 0x0001
  64. #define HP661X_OPER_WTG 0x0020
  65. #define HP661X_OPER_CV 0x0100
  66. #define HP661X_OPER_CC_POS 0x0400
  67. #define HP661X_OPER_CC_NEG 0x0800
  68. #define HP661X_QUES_OV 0x0001
  69. #define HP661X_QUES_OCP 0x0002
  70. #define HP661X_QUES_FUSE 0x0004
  71. #define HP661X_QUES_OT 0x0010
  72. #define HP661X_QUES_RI 0x0200
  73. #define HP661X_QUES_UNREG 0x0400
  74. #define HP661X_QUES_OVLD 0x4000
  75. #define HP661X_ESR_OPC 0x0001
  76. #define HP661X_ESR_QYE 0x0004
  77. #define HP661X_ESR_DDE 0x0008
  78. #define HP661X_ESR_EXE 0x0010
  79. #define HP661X_ESR_CME 0x0020
  80. #define HP661X_ESR_PON 0x0080
  81. #define HP661X_REG_ESE 0
  82. #define HP661X_REG_SRE 1
  83. #define HP661X_REG_OPER 2
  84. #define HP661X_REG_QUES 3
  85. #define HP661X_CMDSTRING_MAX 256
  86. #define HP661X_CMDSTRING_Q_MIN 2
  87. #define HP661X_CMDSTRING_Q_MAX 32767L
  88. /***************************************************/
  89.         /*  Constants used by function hp661x_timeOut      */
  90.         /***************************************************/
  91. #define HP661X_TIMEOUT_MAX         2147483647L
  92. #define HP661X_TIMEOUT_MIN         0L
  93.         /***************************************************/
  94.         /*  Required plug and play functions from VPP-3.1  */
  95.         /***************************************************/
  96. ViStatus _VI_FUNC hp661x_init (ViRsrc resourceName,
  97.    ViBoolean idQuery,
  98.    ViBoolean resetDevice,
  99.    ViPSession instrumentHandle);
  100. ViStatus _VI_FUNC hp661x_reset (ViSession instrumentHandle);
  101. ViStatus _VI_FUNC hp661x_self_test (ViSession instrumentHandle,
  102. ViPInt16 testResult,
  103. ViChar _VI_FAR testMessage[]);
  104. ViStatus _VI_FUNC hp661x_error_message (ViSession instrumentHandle,
  105. ViStatus statusCode,
  106. ViChar _VI_FAR statusMessage[]);
  107. ViStatus _VI_FUNC hp661x_error_query (ViSession instrumentHandle,
  108.   ViPInt32  errorCode,
  109.   ViChar  _VI_FAR errorMessage[]);
  110. ViStatus _VI_FUNC hp661x_revision_query (ViSession instrumentHandle,
  111.  ViChar _VI_FAR instrumentDriverRevision[],
  112.  ViChar _VI_FAR firmwareRevision[] );
  113. ViStatus _VI_FUNC hp661x_close (ViSession instrumentHandle);
  114. ViStatus _VI_FUNC hp661x_errorQueryDetect (ViSession instrumentHandle,
  115.    ViBoolean errorQueryDetect);
  116. ViStatus _VI_FUNC hp661x_errorQueryDetect_Q (ViSession instrumentHandle,
  117.  ViPBoolean errorQueryDetect);
  118.         /***************************************************/
  119.         /*  HP standard utility functions                  */
  120.         /***************************************************/
  121. ViStatus _VI_FUNC hp661x_timeOut (ViSession instrumentHandle, ViInt32 timeOut);
  122. ViStatus _VI_FUNC hp661x_timeOut_Q (ViSession instrumentHandle, ViInt32 *timeOut);
  123. ViStatus _VI_FUNC hp661x_dcl (ViSession instrumentHandle);
  124. ViStatus _VI_FUNC hp661x_trg (ViSession instrumentHandle);
  125. ViStatus _VI_FUNC hp661x_opc (ViSession instrumentHandle);
  126. ViStatus _VI_FUNC hp661x_opc_Q (ViSession instrumentHandle,
  127. ViPBoolean instrumentReady);
  128.         /***************************************************/
  129.         /*  HP standard status functions                   */
  130.         /***************************************************/
  131. ViStatus _VI_FUNC hp661x_readStatusByte_Q (ViSession instrumentHandle,
  132.    ViInt16 *statusByte);
  133. ViStatus _VI_FUNC hp661x_operEvent_Q (ViSession instrumentHandle,
  134.   ViInt32 *operationEventRegister);
  135. ViStatus _VI_FUNC hp661x_operCond_Q (ViSession instrumentHandle,
  136.  ViInt32 *operationConditionRegister);
  137. ViStatus _VI_FUNC hp661x_quesEvent_Q (ViSession instrumentHandle,
  138.   ViInt32 *questionableEventRegister);
  139. ViStatus _VI_FUNC hp661x_quesCond_Q (ViSession instrumentHandle,
  140.  ViInt32 *questionableConditionRegister);
  141.         /***************************************************/
  142.         /*  HP standard command passthrough functions      */
  143.         /***************************************************/
  144. ViStatus _VI_FUNC hp661x_cmd (ViSession instrumentHandle,
  145.   ViString stringCommand);
  146. ViStatus _VI_FUNC hp661x_cmdString_Q (ViSession instrumentHandle,
  147.   ViString queryStringCommand,
  148.   ViInt32 stringSize,
  149.   ViChar _VI_FAR stringResult[]);
  150. ViStatus _VI_FUNC hp661x_cmdInt(ViSession  instrumentHandle,
  151. ViString   sendIntegerCommand,
  152. ViInt32    sendInteger );
  153. ViStatus _VI_FUNC hp661x_cmdInt16_Q(ViSession  instrumentHandle,
  154. ViString   queryI16Command,
  155. ViPInt16   i16Result);
  156. /* End of HP standard declarations */
  157. /*---------------------------------------------------------------------------*/
  158. /*****************************************************************************/
  159. /*  INSTRUMENT SPECIFIC SECTION                                              */
  160. /*  Constants and function prototypes for instrument specific functions.     */
  161. /*****************************************************************************/
  162.         /***************************************************/
  163.         /*  Instrument specific error numbers              */
  164.         /***************************************************/
  165. #define HP661X_INSTR_ERROR_NVRAM_RD0_CS 1
  166. #define HP661X_INSTR_ERROR_NVRAM_CONFIG_CS 2
  167. #define HP661X_INSTR_ERROR_NVRAM_CAL_CS 3
  168. #define HP661X_INSTR_ERROR_NVRAM_STATE_CS 4
  169. #define HP661X_INSTR_ERROR_NVRAM_RST_CS 5
  170. #define HP661X_INSTR_ERROR_RAM_SELFTEST 10
  171. #define HP661X_INSTR_ERROR_DAC_SELFTEST1 11
  172. #define HP661X_INSTR_ERROR_DAC_SELFTEST2 12
  173. #define HP661X_INSTR_ERROR_DAC_SELFTEST3 13
  174. #define HP661X_INSTR_ERROR_DAC_SELFTEST4 14
  175. #define HP661X_INSTR_ERROR_OVDAC_SELFTEST 15
  176. #define HP661X_INSTR_ERROR_DIGIO_SELFTEST 80
  177. #define HP661X_INSTR_ERROR_INGUARD_RXBUF_OVR 213
  178. #define HP661X_INSTR_ERROR_RS232_FRAMING 216
  179. #define HP661X_INSTR_ERROR_RS232_PARITY 217
  180. #define HP661X_INSTR_ERROR_RS232_RX_OVR 218
  181. #define HP661X_INSTR_ERROR_FP_UART_OVR 220
  182. #define HP661X_INSTR_ERROR_FP_UART_FRAMING 221
  183. #define HP661X_INSTR_ERROR_FP_UART_PARITY 222
  184. #define HP661X_INSTR_ERROR_FP_RXBUF_OVR 223
  185. #define HP661X_INSTR_ERROR_FP_TIMEOUT 224
  186. #define HP661X_INSTR_ERROR_CAL_SWITCH 401
  187. #define HP661X_INSTR_ERROR_CAL_PASSWORD 402
  188. #define HP661X_INSTR_ERROR_CAL_DISABLED 403
  189. #define HP661X_INSTR_ERROR_CAL_RB_CONST 404
  190. #define HP661X_INSTR_ERROR_CAL_PROG_CONST 405
  191. #define HP661X_INSTR_ERROR_CAL_CMD_SEQUENCE 406
  192. #define HP661X_INSTR_ERROR_CVCC_STATUS 407
  193. #define HP661X_INSTR_ERROR_ALC_NOT_NORMAL 408
  194. #define HP661X_INSTR_ERROR_TOO_MANY_SWE_POINTS 601
  195. #define HP661X_INSTR_ERROR_RS232_CMD_ONLY 602
  196. #define HP661X_INSTR_ERROR_INCOMPATIBLE_FETCH 603
  197. #define HP661X_INSTR_ERROR_MEAS_OVERRANGE 604
  198.         /***************************************************/
  199.         /*  Instrument specific constants                  */
  200.         /***************************************************/
  201. #define HP661X_DEFAULT_MEAS_TIMEOUT 10000 /* milliseconds (10 seconds) */
  202. #define HP661X_DISP_NORMAL 0
  203. #define HP661X_DISP_TEXT 1
  204. #define HP661X_RELAY_POLARITY_NORMAL     0
  205. #define HP661X_RELAY_POLARITY_REVERSE    1
  206. #define HP661X_RI_OFF 0
  207. #define HP661X_RI_LATCHING 1
  208. #define HP661X_RI_LIVE 2
  209. #define HP661X_DFI_SRC_PREV 0
  210. #define HP661X_DFI_SRC_QUES 1
  211. #define HP661X_DFI_SRC_OPER 2
  212. #define HP661X_DFI_SRC_ESB 3
  213. #define HP661X_DFI_SRC_RQS 4
  214. #define HP661X_DFI_SRC_OFF 5
  215. #define HP661X_DIG_OUT_MAX 7
  216. #define HP661X_DIG_OUT_MIN 0
  217. #define HP661X_PON_STATE_RST 0
  218. #define HP661X_PON_STATE_RCL0 1
  219. #define HP661X_CURR_DET_ACDC 0
  220. #define HP661X_CURR_DET_DC 1
  221. #define HP661X_CURR_IMM 0
  222. #define HP661X_CURR_TRIG 1
  223. #define HP661X_CURR_Q 0
  224. #define HP661X_CURR_Q_TRIG 1
  225. #define HP661X_CURR_Q_MAX 2
  226. #define HP661X_CURR_Q_MIN 3
  227. #define HP661X_VOLT_IMM 0
  228. #define HP661X_VOLT_TRIG 1
  229. #define HP661X_VOLT_OVP 2
  230. #define HP661X_VOLT_OVP_MAX 3
  231. #define HP661X_VOLT_OVP_MIN 4
  232. #define HP661X_VOLT_Q 0
  233. #define HP661X_VOLT_Q_MAX 1
  234. #define HP661X_VOLT_Q_MIN 2
  235. #define HP661X_VOLT_Q_TRIG 3
  236. #define HP661X_VOLT_Q_TRIG_MAX 4
  237. #define HP661X_VOLT_Q_TRIG_MIN 5
  238. #define HP661X_VOLT_Q_OVP 6
  239. #define HP661X_VOLT_Q_OVP_MAX 7
  240. #define HP661X_VOLT_Q_OVP_MIN 8
  241. #define HP661X_ARM_OUTPUT_ONCE 0
  242. #define HP661X_ARM_OUTPUT_CONTINUOUS 1
  243. #define HP661X_ARM_OUTPUT_CONTINUOUS_OFF 2
  244. #define HP661X_TRIG_OUTPUT 0
  245. #define HP661X_TRIG_SRC_BUS 0
  246. #define HP661X_SET_VOLT 0
  247. #define HP661X_SET_CURR 1
  248. #define HP661X_OUTP_STATUS_OFF 0
  249. #define HP661X_OUTP_STATUS_CV 1
  250. #define HP661X_OUTP_STATUS_CC 2
  251. #define HP661X_OUTP_STATUS_UNREG 3
  252. #define HP661X_OUTP_STATUS_PROT 4
  253. #define HP661X_OUTP_STATUS_UNKNOWN 5
  254. #if 0
  255. /* these are read from the unit at init time */
  256. /*
  257. #define HP661X_VOLT_TRIG_MAX 20.0
  258. #define HP661X_VOLT_MAX 20.0
  259. #define HP661X_CURR_TRIG_MAX 2.0
  260. #define HP661X_CURR_MAX 2.0
  261. */
  262. #endif
  263. #define HP661X_SWEEP_INT_MIN 15.6e-6
  264. #define HP661X_SWEEP_SIZE_MIN 1
  265. #define HP661X_SWEEP_SIZE_MAX 4096
  266. #define HP661X_VOLT_TRIG_MIN 0
  267. #define HP661X_VOLT_MIN 0
  268. #define HP661X_CURR_TRIG_MIN 0
  269. #define HP661X_CURR_MIN 0
  270. #define HP661X_HW_SETTLING_MIN 0
  271. #define HP661X_HW_SETTLING_MAX 30000 /* 30 seconds */
  272. #define HP661X_OCP_DELAY_MIN 0
  273. #define HP661X_OCP_DELAY_MAX 2147480000
  274. #define HP661X_CLOCK_HW_SETTLE 50
  275. #define HP661X_CLOCK_RESET_INST 100
  276. #define HP661X_CLOCK_SELF_TEST 200
  277.         /***************************************************/
  278.         /*  Instrument specific functions                  */
  279.         /***************************************************/
  280. ViStatus _VI_FUNC hp661x_rippleRiDfi (ViSession instrumentHandle);
  281. ViStatus _VI_FUNC hp661x_readOutputStatus (ViSession instrumentHandle,
  282.    ViPInt16 outputStatus);
  283. ViStatus _VI_FUNC hp661x_outputVoltCurr(ViSession instrumentHandle,
  284. ViReal64 voltLev,
  285. ViReal64 currLev);
  286. ViStatus _VI_FUNC hp661x_setMeasure (ViSession instrumentHandle,
  287.  ViInt16 outputParam,
  288.  ViReal64 outputLev,
  289.  ViInt16 settlingTime,
  290.  ViPReal64 voltQLev,
  291.  ViPReal64 currQLev,
  292.  ViPInt16 outputStatus);
  293. ViStatus _VI_FUNC hp661x_doDelay (ViSession instrumentHandle,
  294.   ViInt16 milliSeconds);
  295. ViStatus _VI_FUNC hp661x_setDisplay (ViSession instrumentHandle,
  296.  ViBoolean dispState,
  297.  ViInt16 dispMode,
  298.  ViChar _VI_FAR messageText[]);
  299. ViStatus _VI_FUNC hp661x_getDisplay (ViSession instrumentHandle,
  300.  ViPBoolean dispState,
  301.  ViPInt16 dispMode,
  302.  ViChar _VI_FAR messageText[]);
  303. ViStatus _VI_FUNC hp661x_measureVolt (ViSession instrumentHandle,
  304.   ViPReal64 measVolt);
  305. ViStatus _VI_FUNC hp661x_measureCurr (ViSession instrumentHandle,
  306.   ViPReal64 measCurr);
  307. ViStatus _VI_FUNC hp661x_setMeasTimeout (ViSession instrumentHandle,
  308.                                          ViInt32 measTimeout);
  309. ViStatus _VI_FUNC hp661x_getMeasTimeout (ViSession instrumentHandle,
  310.                                          ViPInt32 measTimeout);
  311. ViStatus _VI_FUNC hp661x_setSweepParams (ViSession instrumentHandle,
  312.  ViReal64 sampleInterval,
  313.  ViInt32 sweepSize);
  314. ViStatus _VI_FUNC hp661x_getSweepParams (ViSession instrumentHandle,
  315.  ViPReal64 sampleInterval,
  316.  ViPInt32 sweepSize);
  317. ViStatus _VI_FUNC hp661x_clearOutpProt (ViSession instrumentHandle);
  318. ViStatus _VI_FUNC hp661x_setOutpRelayPolarity (ViSession instrumentHandle,
  319.    ViInt16 relayPolarity);
  320. ViStatus _VI_FUNC hp661x_getOutpRelayPolarity (ViSession instrumentHandle,
  321.    ViPInt16 relayPolarity);
  322. ViStatus _VI_FUNC hp661x_setOutpState (ViSession instrumentHandle,
  323.    ViBoolean outputState,
  324.    ViBoolean switchRelay);
  325. ViStatus _VI_FUNC hp661x_getOutpState (ViSession instrumentHandle,
  326.    ViPBoolean outputState);
  327. ViStatus _VI_FUNC hp661x_setPonState (ViSession instrumentHandle,
  328.   ViInt16 ponState);
  329. ViStatus _VI_FUNC hp661x_getPonState (ViSession instrumentHandle,
  330.   ViPInt16 ponState);
  331. ViStatus _VI_FUNC hp661x_setOutpRelay (ViSession instrumentHandle,
  332.    ViBoolean relayState);
  333. ViStatus _VI_FUNC hp661x_getOutpRelay (ViSession instrumentHandle,
  334.    ViPBoolean relayState);
  335. ViStatus _VI_FUNC hp661x_setRiDfi (ViSession instrumentHandle,
  336.    ViInt16 riMode,
  337.    ViBoolean dfiState,
  338.    ViInt16 dfiSourceBit);
  339. ViStatus _VI_FUNC hp661x_getRiDfi (ViSession instrumentHandle,
  340.    ViPInt16 riMode,
  341.    ViPBoolean dfiState,
  342.    ViPInt16 dfiSourceBit);
  343. ViStatus _VI_FUNC hp661x_setCurrSenseRange (ViSession instrumentHandle,
  344. ViReal64 currSenseRange);
  345. ViStatus _VI_FUNC hp661x_getCurrSenseRange (ViSession instrumentHandle,
  346. ViPReal64 currSenseRange);
  347. ViStatus _VI_FUNC hp661x_setCurr (ViSession instrumentHandle,
  348.   ViInt16 currParam,
  349.   ViReal64 currLev);
  350. ViStatus _VI_FUNC hp661x_getCurr (ViSession instrumentHandle,
  351.   ViInt16 currQParam,
  352.   ViPReal64 currLev);
  353. ViStatus _VI_FUNC hp661x_setVolt (ViSession instrumentHandle,
  354.   ViInt16 voltParam,
  355.   ViReal64 voltLev);
  356. ViStatus _VI_FUNC hp661x_getVolt (ViSession instrumentHandle,
  357.   ViInt16 voltQParam,
  358.   ViPReal64 voltLev);
  359. ViStatus _VI_FUNC hp661x_setOcpParams (ViSession instrumentHandle,
  360.    ViBoolean ocpEnable,
  361.    ViReal64 ccDelay);
  362. ViStatus _VI_FUNC hp661x_getOcpParams (ViSession instrumentHandle,
  363.    ViPBoolean ocpEnable,
  364.    ViPReal64 ccDelay);
  365. ViStatus _VI_FUNC hp661x_setDigio (ViSession instrumentHandle, ViInt16 digOutData);
  366. ViStatus _VI_FUNC hp661x_getDigio (ViSession instrumentHandle,
  367.    ViPInt16 digInData);
  368. ViStatus _VI_FUNC hp661x_getVoltAlcBandwidth (ViSession instrumentHandle,
  369.   ViPInt32 alcBandwidth);
  370. ViStatus _VI_FUNC hp661x_abort (ViSession instrumentHandle);
  371. ViStatus _VI_FUNC hp661x_arm (ViSession instrumentHandle, ViInt16 trigSystem);
  372. ViStatus _VI_FUNC hp661x_trigger (ViSession instrumentHandle);
  373. ViStatus _VI_FUNC hp661x_trg (ViSession instrumentHandle);
  374. ViStatus _VI_FUNC hp661x_stdEvent_Q (ViSession instrumentHandle,
  375.  ViPInt16 stdEventStatus);
  376. ViStatus _VI_FUNC hp661x_setEnableReg (ViSession instrumentHandle,
  377.    ViInt16 enableRegister,
  378.    ViInt16 enableMask);
  379. ViStatus _VI_FUNC hp661x_getEnableReg (ViSession instrumentHandle,
  380.    ViInt16 enableRegister,
  381.    ViPInt16 enableMask);
  382. /* End of instrument specific declarations */
  383. /*---------------------------------------------------------------------------*/
  384. /* Used for "C" externs in C++ */
  385. #if defined(__cplusplus) || defined(__cplusplus__)
  386. }
  387. #endif 
  388. #endif /* HP661X_INCLUDE */