Calculate:RData? Command
Critical Note: CALCulate commands act on the selected measurement. You can select one measurement for each channel using Calc:Par:MNUM or Calc:Par:Select. Learn more.
CALCulate<cnum>:RDATA? <char>
(Read-only) Returns receiver data for the selected measurement. To query measurement data, see CALC:DATA? |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<char> |
Choose from any physical receiver in the PNA. For example: "A" Also, REF - returns data for either R1 or R2 data depending on the source port of the selected measurement. See the block diagram showing the receivers in YOUR PNA. Note: Logical receiver notation is NOT allowed with this command. Learn more. |
Example |
GPIB.Write "INITiate:CONTinuous OFF" GPIB.Write "CALCulate:RDATA? REF" |
Return Type |
Depends on FORM:DATA - Two numbers per data point |
Not Applicable |
Notes:
Generally when you query the analyzer for data, you expect that the number of data values returned will be consistent with the number of points in the sweep.
However, if you query receiver data while the instrument is sweeping, the returned values may contain zeros. For example, if your request for receiver data is handled on the 45th point of a 201 point sweep, the first 45 values will be valid data, and the remainder will contain complex zero.
This can be avoided by synchronizing this request with the end of a sweep or putting the channel in hold mode.
Learn about Unratioed Measurements