Model 2701 User’s Manual
Rel, Math, Ratio, Channel Average, dB
5-19
Ratio and channel average programming examples
Example #1 — The following command sequence performs the ratio calculation using pri-
mary channel 102 of the Model 7700.
NOTE
The following example can be run from the KE2700 Instrument Driver using the
example named “Ratio1” in Table G-1 of Appendix G.
*RST
' One-shot measure mode.
FUNC 'VOLT'
' Select DCV function.
ROUT:CLOS (@102)
' Close channel 102.
RAT ON
' Enable the ratio calculation.
READ?
' Read the result of the calculation.
Example #2 — The following command sequence configures channels 103 and 105 for
the ratio and channel average calculations. When channel 103 is scanned, the ratio
calculation is based on DCV measurements of channels 103 and 113. When channel 105 is
scanned, the channel average calculation is based on TEMP measurements of channels
105 and 115.
NOTE
The following example can be run from the KE2700 Instrument Driver using the
example named “Ratio2” in Table G-1 of Appendix G.
FUNC 'VOLT',(@103)
' Set 103 for DCV.
RAT ON,(@103)
' Set 103 for ratio on.
FUNC 'TEMP',(@105)
' Set 105 for TEMP.
CAV ON,(@105)
' Set 105 for channel average on.
2701-900-01.book Page 19 Wednesday, August 3, 2011 9:43 AM
Summary of Contents for 2701
Page 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...