I am facing a problem with extracting demodulated IQ samples from VSA 89600 to Matlab.
I have 16QAM demodulated signal in VSA and i want to extract IQ samples to Matlab for post analysis.
I use 2 methods (actually 3). First is through saving trace in .mat file. When i try to analyze the saved IQ samples in Matlab they should be the same as transmitted samples but they are not, they are not correlated to the transmitted samples.
Second method... when i use binblockread to read the VSA buffer from the trace format IQ i loose half of the samples (i dont know why) and this is with 1 point/symbol. and when i use binblockread to read from trace format Real and Imaginary i get all the samples (exactly same as that of saving the trace to .mat file) but then again it have no correlation with the transmitted samples.
My question is what is the right way to extract the demodulated IQ samples from VSA to matlab and these samples should be the same as transmitted samples? Any help will be appreciated.
BR
BK
What format are you using? You can query it with:
:TRACe:FORMat?
The doc says:
Command Syntax:
:TRACe[1:N]:FORMat[:Y] <value>
Query Syntax:
:TRACe[1:N]:FORMat[:Y]?
Remarks:
Example:
Version:
13.00 or later
.NET Equivalent:
For more operation and usage information, see:
Agilent.SA.Vsa.Interfaces.Trace.Format
Agilent.SA.Vsa.TraceFormatType