Can I load RFmx SFP configurations programmatically?

Updated Feb 16, 2024

Reported In

Hardware

  • PXIe-5841

Software

  • RFmx
  • InstrumentStudio

Programming Language

  • C# .NET

Issue Details

I'm programming with C# to configure VST2 (PXIe-5841).
I have many waveforms to test with this VST, and when I measure NR signal from VST2 with RFmx (via Instrument Strudio), I'll have to load various configurations for each waveforms.
For example, DMRS, Mapping Type, slot allocation, symbol allocation, and etc.
Is there any way to load all of them in my C# code? so that I don't have manually open the configuration file myself to slow down the testing process.

Solution

Although we may not find a set of APIs for Instrument Studio, but what we can do is to store the different RFmx NR configurations in different Instrument Studio project.

For example, I have 3 settings, then I'll have 3 different projects:

folders
then in C# code, what we'll have to do is to use C# to call cmd , and in cmd we call the .instudioproj file to open the corresponding RFmx NR SFP with the settings needed:

is_sfp_setting
and if we want to change the settings in Instrument Studio, we could firstly programmatically close the previous SFP ; then open the new one using the cmd once again.