Memory
SCPI Command :
TRACe<n>:IQ[:INPut<i>]:DATA:MEMory
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(ip: float = None, offset_samples: float = None, nof_samples: float = None, window=Window.Default, inputPy=InputPy.Default) float[source]
# TRACe<n>:IQ[:INPut<i>]:DATA:MEMory value: float = driver.applications.k18AmplifierEt.trace.iq.inputPy.data.memory.get(ip = 1.0, offset_samples = 1.0, nof_samples = 1.0, window = repcap.Window.Default, inputPy = repcap.InputPy.Default)
Queries the I/Q data currently stored in the capture buffer of the FSW. By default, the command returns all I/Q data in the memory. You can, however, narrow down the amount of data that the command returns using the optional parameters. If no parameters are specified with the command, the entire trace data is retrieved. In this case, the command returns the same results as method
RsFsw.trace.iq.data.get(). (Note, however, that the methodRsFsw.trace.iq.data.get()command initiates a new measurement before returning the captured values, rather than returning the existing data in the memory.) The command returns a comma-separated list of the measured values in floating point format (comma-separated values = CSV) . The number of values returned is 2 * the number of complex samples. The total number of complex samples is displayed in the channel bar in manual operation and can be calculated as: <SampleRate> * <CaptureTime> (See TRACe:IQ:SET, methodRsFsw.applications.k10Xlte.trace.iq.symbolRate.get()and methodRsFsw.sense.sweep.time.set())- Parameters:
ip – Number of samples you want to query, beginning at the offset you have defined. If omitted, all captured samples (starting at offset) are output. Range: 1 to # of samples - offset samples with # of samples maximum number of captured values
offset_samples – Selects an offset at which the output of data should start in relation to the first data. If omitted, all captured samples are output, starting with the first sample. Range: 0 to # of samples - 1, with # of samples being the maximum number of captured values
nof_samples – Measured value pair (I,Q) for each sample that has been recorded. By default, the first half of the list contains the I values, the second half the Q values. The order can be configured using method
RsFsw.applications.k18AmplifierEt.trace.iq.data.formatPy.set(). The data format of the individual values depends on methodRsFsw.formatPy.data.set(). Unit: Vwindow – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trace’)
inputPy – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘InputPy’)
- Returns:
iq_data: Measured value pair (I,Q) for each sample that has been recorded. By default, the first half of the list contains the I values, the second half the Q values. The order can be configured using method
RsFsw.applications.k18AmplifierEt.trace.iq.data.formatPy.set(). The data format of the individual values depends on methodRsFsw.formatPy.data.set(). Unit: V