In my current project I want to control the VSA SW via a Visual C++ program over its COM API interface and try to do WIMAX waveform demodulations and calculate EVM results.
The demodulation does work so far as I can see on the screen of the VSA SW. However, I am not able to figure out how to retrieve the EVM results in the C++ program.
I tried
_variant_t dataNames = oDisp->Traces->Item[1]->RawDataValueNames;
since according to the manual this seems to be the location where to retrieve a list of available data. However, the SW runs into a exception when calling the line above.
I tried several other things but was not actually successful. Could somebody tell me from where I will be able to retrieve the EVM results over the COM API?
The demodulation does work so far as I can see on the screen of the VSA SW. However, I am not able to figure out how to retrieve the EVM results in the C++ program.
I tried
_variant_t dataNames = oDisp->Traces->Item[1]->RawDataValueNames;
since according to the manual this seems to be the location where to retrieve a list of available data. However, the SW runs into a exception when calling the line above.
I tried several other things but was not actually successful. Could somebody tell me from where I will be able to retrieve the EVM results over the COM API?
double *EVM
*EVM = oDisp->Traces->ActiveTrace->RawDataValue[0];
Keep in mind that if you have multiple traces open on the 89600 software, it will crash if your program tries to read the EVM number and the active trace is not the one with the EVM number on it.
Regards,
Raphael