Download JPA-SCPI Parser User Manual
Transcript
A.3 Command Structure ............................................................................................ 105 Appendix B – JPA-Parser Access Functions .......................................................... 115 B.1 SCPI_Parse() ...................................................................................................... 115 B.2 SCPI_ParamType() ............................................................................................. 117 B.3 SCPI_ParamUnits()............................................................................................. 118 B.4 SCPI_ParamToCharDataItem() .......................................................................... 119 B.5 SCPI_ParamToBOOL()....................................................................................... 120 B.6 SCPI_ParamToUnsignedInt().............................................................................. 121 B.7 SCPI_ParamToInt()............................................................................................. 122 B.8 SCPI_ParamToUnsignedLong().......................................................................... 123 B.9 SCPI_ParamToLong()......................................................................................... 124 B.10 SCPI_ParamToDouble() ..................................................................................... 125 B.11 SCPI_ParamToString() ....................................................................................... 126 B.12 SCPI_GetNumListEntry() .................................................................................... 127 B.13 SCPI_GetChanListEntry() ................................................................................... 128 Appendix C – SCPI Instrument Class Templates .................................................... 129 C.1 DC Voltmeter....................................................................................................... 130 C.2 AC RMS Voltmeter .............................................................................................. 131 C.3 DC Ammeter........................................................................................................ 132 C.4 AC RMS Ammeter............................................................................................... 133 C.5 Ohmmeter ........................................................................................................... 134 C.6 4-wire Ohmmeter................................................................................................. 135 C.7 Power Supply ...................................................................................................... 136 C.8 Digitizer ............................................................................................................... 137 C.9 Signal Switcher.................................................................................................... 139 C.10 RF and Microwave Source .................................................................................. 140 C.11 SCPI Base Class................................................................................................. 141 Appendix D – Sample Command Specifications..................................................... 143 Appendix E – Upgrading from a Previous Version ................................................. 145 E.1 Upgrading from V1.3.0 ........................................................................................ 145 E.2 Upgrading from Older Versions........................................................................... 146 E.3 Revision History of Previous Versions ................................................................ 146