04-15-2016 02:03 PM
Hello,
I am trying to generate some modulated signal from the PXI5646R SG by using C++ code.
In order to have modulated signal, a IQ file (txt or tdms) should be loaded first. I would like to know what command I should use to load the IQ files in C++. Or is there any specific way that generates the modulated signal?
I checked the niRFSG.h, can not really find a command that works.
Thank you,
Neo
04-18-2016
03:45 PM
- last edited on
05-13-2025
05:55 PM
by
Content Cleaner
Hi Neo,
Have you looked into the niRFSG_WriteArbWaveform function? This function takes I and Q data as parameters and will write the waveform to the NI-RFSG device.
If your IQ file is in the TDMS format, the links below may be helpful in determining how to read this file to extract the I and Q data to be used with this function.
How Do I Read or Write to a TDMS File Using Third Party Software?
04-22-2016
09:30 PM
- last edited on
05-13-2025
05:56 PM
by
Content Cleaner
Hello, Julia,
We tried to read the TDMS file by following an example in NI(The NI TDMS File Format). It does not work, always retruns "unexpected error".
We found a command to upload the IQ file in SG and generate the modulated signal.
It requires to install NI-RFSG Playback Library.
Best regards,
Ne0