prog.book : ch2meas.fm 46 Mon Feb 15 09:24:37 1999
MEASurement Instructions
READ[1|2][:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]]
2-46 HP E4418B/E4419B Programming Guide
Example
Error Messages
INITiate:CONTinuous must be set to OFF on both channels, otherwise
error -213, “INIT ignored” occurs.
If TRIGger:SOURce is set to BUS or HOLD on either channel, error -214,
“Trigger deadlock” occurs.
If the resolution parameter is not the same as the current resolution
setting on the specified window, error -221, “Settings conflict” occurs.
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault
parameter used in the command sub-systems. The parameters must be entered in
the specified order. If parameters are omitted, they will default from the right.
The parameter DEFault is used as a place holder. Specifying
DEF leaves the
parameter value unchanged.
2. When the measurement result is linear this parameter represents the number
of significant digits. When the measurement result is logarithmic 1 to 4
represents a resolution of 1, 0.1, 0.01 and 0.001 respectively.
resolution A numeric value for the resolution.
If it is unspecified the current
resolution setting is used. If a
value is entered it should
correspond to the current
resolution setting otherwise an
error occurs.
1 to 4
2
1.0, 0.1, 0.01, 0.001
DEF
1
source list This channel list specifies between
which channels the ratio is
calculated. If unspecified and the
current window setup is a ratio
measurement then this ratio setup
is used, otherwise it defaults to
channel A/B.
(@1),(@2)
(@2),(@1)
READ2:RAT? DEF,1,(@1),(@2) This command queries the lower
window’s ratio measurement of
channel A over channel B,
using the current sensor range
and a resolution of 1 on both
channels.
Item Description/Default Range of Values